agentland.software
Class MSWindowAgent

java.lang.Object
  |
  +--java.rmi.server.RemoteObject
        |
        +--java.rmi.server.RemoteServer
              |
              +--java.rmi.server.UnicastRemoteObject
                    |
                    +--metaglue.AgentAgent
                          |
                          +--agentland.util.GoodAgent
                                |
                                +--agentland.software.MSWindowAgent
Direct Known Subclasses:
PowerPointDisplayAgent

public abstract class MSWindowAgent
extends GoodAgent
implements MSWindow

MSWindow Agent The Intelligent Room/HAL Project MIT Artificial Intelligence Laboratory Cambridge, MA

MSWindow is a generic single window MS Application controller agent. Should be overridden

See Also:
Serialized Form

Inner classes inherited from class metaglue.AgentAgent
AgentAgent.Attribute
 
Field Summary
protected  Runtime command
           
protected  MSWindowsDisplay n
           
 
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
MSWindowAgent()
           
 
Method Summary
 void activateWindow()
           
 void hideWindow()
           
 void maximizeAndActivate()
           
 void minimizeWindow()
           
 boolean weExist()
           
abstract  String windowName()
          This is the name of the application window so the windowdisplay agent can find it to do stuff to it.
 
Methods inherited from class agentland.util.GoodAgent
addSpy, addSpy, alert, alertString, beep, error, getAlert, 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, reliesOn, 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
 

Field Detail

n

protected MSWindowsDisplay n

command

protected Runtime command
Constructor Detail

MSWindowAgent

public MSWindowAgent()
              throws RemoteException,
                     MSWindowsDisplayException
Method Detail

windowName

public abstract String windowName()
This is the name of the application window so the windowdisplay agent can find it to do stuff to it.

weExist

public boolean weExist()
Specified by:
weExist in interface MSWindow

maximizeAndActivate

public void maximizeAndActivate()
                         throws RemoteException,
                                MSWindowsDisplayException
Specified by:
maximizeAndActivate in interface MSWindow

hideWindow

public void hideWindow()
                throws RemoteException,
                       MSWindowsDisplayException
Specified by:
hideWindow in interface MSWindow

activateWindow

public void activateWindow()
                    throws RemoteException,
                           MSWindowsDisplayException
Specified by:
activateWindow in interface MSWindow

minimizeWindow

public void minimizeWindow()
                    throws RemoteException,
                           MSWindowsDisplayException
Specified by:
minimizeWindow in interface MSWindow