agentland.software
Class PowerPointDisplayAgent

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

public class PowerPointDisplayAgent
extends MSWindowAgent
implements PowerPointDisplay

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

PowerPointDisplay controls PowerPoint, if alive on the given machine. This agent uses MSWindowDisplay to initialize, minimize, maximize and hide PowerPoint on Window 95/98.

See Also:
Serialized Form

Inner classes inherited from class metaglue.AgentAgent
AgentAgent.Attribute
 
Fields inherited from class agentland.software.MSWindowAgent
command, 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
PowerPointDisplayAgent()
           
 
Method Summary
 void backXSlides(int number)
           
 void charge(int number)
          For testing--go that many number of slides, 2 sec delay bet.
 void firstSlide()
           
 void forwardXSlides(int number)
           
 void lastSlide()
           
 void nextSlide()
           
 void previousSlide()
           
 void startPowerPoint()
           
 void startPresentation()
           
 void stopPresentation()
           
 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.software.MSWindowAgent
activateWindow, hideWindow, maximizeAndActivate, minimizeWindow, weExist
 
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
 

Constructor Detail

PowerPointDisplayAgent

public PowerPointDisplayAgent()
                       throws RemoteException,
                              MSWindowsDisplayException
Method Detail

startPowerPoint

public void startPowerPoint()
                     throws RemoteException,
                            MSWindowsDisplayException,
                            IOException
Specified by:
startPowerPoint in interface PowerPointDisplay

windowName

public String windowName()
Description copied from class: MSWindowAgent
This is the name of the application window so the windowdisplay agent can find it to do stuff to it.
Overrides:
windowName in class MSWindowAgent

startPresentation

public void startPresentation()
                       throws RemoteException
Specified by:
startPresentation in interface PowerPointDisplay

stopPresentation

public void stopPresentation()
                      throws RemoteException
Specified by:
stopPresentation in interface PowerPointDisplay

nextSlide

public void nextSlide()
Specified by:
nextSlide in interface PowerPointDisplay

previousSlide

public void previousSlide()
Specified by:
previousSlide in interface PowerPointDisplay

firstSlide

public void firstSlide()
Specified by:
firstSlide in interface PowerPointDisplay

lastSlide

public void lastSlide()
Specified by:
lastSlide in interface PowerPointDisplay

forwardXSlides

public void forwardXSlides(int number)
Specified by:
forwardXSlides in interface PowerPointDisplay

backXSlides

public void backXSlides(int number)
Specified by:
backXSlides in interface PowerPointDisplay

charge

public void charge(int number)
Description copied from interface: PowerPointDisplay
For testing--go that many number of slides, 2 sec delay bet.
Specified by:
charge in interface PowerPointDisplay