agentland.software
Class MimioControlAgent

java.lang.Object
  |
  +--java.rmi.server.RemoteObject
        |
        +--java.rmi.server.RemoteServer
              |
              +--java.rmi.server.UnicastRemoteObject
                    |
                    +--metaglue.AgentAgent
                          |
                          +--agentland.util.GoodAgent
                                |
                                +--agentland.resource.ManagedAgent
                                      |
                                      +--agentland.software.ExecAgent
                                            |
                                            +--agentland.software.MimioControlAgent

public class MimioControlAgent
extends ExecAgent
implements MimioControl

See Also:
Serialized Form

Inner classes inherited from class metaglue.AgentAgent
AgentAgent.Attribute
 
Fields inherited from class agentland.software.ExecAgent
command, process, startCount
 
Fields inherited from class agentland.resource.ManagedAgent
rm, society
 
Fields inherited from class agentland.util.GoodAgent
alert, notifier
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Fields inherited from interface metaglue.Agent
ALIVE, DIED, NO_METAGLUE, NOT_RUNNING, STARTING
 
Constructor Summary
MimioControlAgent()
           
 
Method Summary
 void exportBoardToImage()
          exports board to image, name needs to be entered by user
 void exportBoardToImage(String str)
          exports board to image, name needs to be specified
 void hideWindow()
          relinquishes control from mimio window.
 void newBoard()
          creating a new board
(achieved typically by go to mimio windows, and pressing Alt-E, N)
 void printBoard()
          prints board
 void saveBoard()
          saves board
 void saveBoardAs()
          saves board.
 void saveBoardAs(String filename)
          saves board as filename
 void showWindow()
          gives control to mimio window
 void tagBoard()
          tagging a board
(achieved typically by pressing Alt-E, G)
 void undo()
          undo previous action
 
Methods inherited from class agentland.software.ExecAgent
getCommand, killProgram, programAlive, programDied, startProgram
 
Methods inherited from class agentland.resource.ManagedAgent
connect, getAlert, getNeed, reliesOn, reliesOn, replace, request, request, request, requestAgent, requestAgent, resources, resourcesByAgentID, setNeed, yank, yank, yank
 
Methods inherited from class agentland.util.GoodAgent
addSpy, addSpy, alert, alertString, beep, error, getHistory, getHistoryElement, getPersistentMap, log, notify, removeSpy, removeSpy, resetHistory, safeRely, safeRely, safeRely, setNiceLogName, tell
 
Methods inherited from class metaglue.AgentAgent
addMonitor, alive, defrost, defrostAll, defrostBoolean, defrostInt, defrostString, fixAttribute, fixAttribute, freeze, freeze, freeze, freezeAll, freezeVar, getAgentID, getAttribute, getCatalog, getCatalogID, getDesignation, getFrozenVariables, getLogLevel, getMetaglueAgent, getMetaglueAgentID, getOccupation, getProperties, getSociety, log, log, obtainMetaglueAgent, obtainMetaglueAgent, obtainMetaglueAgentByName, reliesOn, reliesOnSynch, removeFrozen, replaceExceptionHandler, setFreezeName, setLogLevel, setLogName, shutdown, startAgent, startAgentOn, startAgentOn, startup, status, tiedTo, tiedTo, tiedTo, tiedTo, tieToDesignation, whereAreYou
 
Methods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, unexportObject
 
Methods inherited from class java.rmi.server.RemoteServer
getClientHost, getLog, setLog
 
Methods inherited from class java.rmi.server.RemoteObject
equals, getRef, hashCode, toString, toStub
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MimioControlAgent

public MimioControlAgent()
                  throws RemoteException
Method Detail

newBoard

public void newBoard()
              throws RemoteException
creating a new board
(achieved typically by go to mimio windows, and pressing Alt-E, N)
Specified by:
newBoard in interface MimioControl

tagBoard

public void tagBoard()
              throws RemoteException
tagging a board
(achieved typically by pressing Alt-E, G)
Specified by:
tagBoard in interface MimioControl

exportBoardToImage

public void exportBoardToImage(String str)
                        throws RemoteException
exports board to image, name needs to be specified
Specified by:
exportBoardToImage in interface MimioControl

exportBoardToImage

public void exportBoardToImage()
                        throws RemoteException
exports board to image, name needs to be entered by user
Specified by:
exportBoardToImage in interface MimioControl

saveBoard

public void saveBoard()
               throws RemoteException
saves board
Specified by:
saveBoard in interface MimioControl

saveBoardAs

public void saveBoardAs(String filename)
                 throws RemoteException
saves board as filename
Specified by:
saveBoardAs in interface MimioControl
Parameters:
filename - = filename to save board as

saveBoardAs

public void saveBoardAs()
                 throws RemoteException
saves board. filename needs to be entered by user
Specified by:
saveBoardAs in interface MimioControl

printBoard

public void printBoard()
                throws RemoteException
prints board
Specified by:
printBoard in interface MimioControl

undo

public void undo()
          throws RemoteException
undo previous action
Specified by:
undo in interface MimioControl

showWindow

public void showWindow()
                throws RemoteException
gives control to mimio window
Specified by:
showWindow in interface MimioControl

hideWindow

public void hideWindow()
                throws RemoteException
relinquishes control from mimio window. note that if there is a dialog box when putWindow() is called, control needs to be restored to the mimio window (either through getWindow() or through the Task Manager), and the dialog box will have to be answered. this has to happen before the mimio window can be used again.
Specified by:
hideWindow in interface MimioControl