agentland.gui
Interface GuiManager

All Superinterfaces:
Agent, Good, Managed, Remote, Spy
All Known Implementing Classes:
GuiManagerAgent

public interface GuiManager
extends Managed


Fields inherited from interface metaglue.Agent
ALIVE, DIED, NO_METAGLUE, NOT_RUNNING, STARTING
 
Method Summary
 boolean addGui(GuiMaker maker)
          Displays a gui
 void addSecretGui(Secret s)
           
 void requestGui(AgentID aid)
           
 void tellGui(Secret secret)
           
 
Methods inherited from interface agentland.resource.Managed
getNeed, replace, replace, resources, yank, yank
 
Methods inherited from interface agentland.util.Good
getHistory, getHistoryElement, resetHistory
 
Methods inherited from interface metaglue.Agent
addMonitor, alive, getAgentID, getMetaglueAgentID, shutdown, startup, whereAreYou
 
Methods inherited from interface agentland.util.Spy
tell
 

Method Detail

requestGui

public void requestGui(AgentID aid)
                throws RemoteException

addGui

public boolean addGui(GuiMaker maker)
               throws RemoteException
Displays a gui
Returns:
True if all is good; false if gui could not be added (e.g. if this gui is already being displayed)

tellGui

public void tellGui(Secret secret)
             throws RemoteException

addSecretGui

public void addSecretGui(Secret s)
                  throws RemoteException