agentland.info.news.newsWall
Class NewsWallGuiAgent
java.lang.Object
|
+--java.rmi.server.RemoteObject
|
+--java.rmi.server.RemoteServer
|
+--java.rmi.server.UnicastRemoteObject
|
+--metaglue.AgentAgent
|
+--agentland.util.GoodAgent
|
+--agentland.resource.ManagedAgent
|
+--agentland.info.news.newsWall.NewsWallGuiAgent
- All Implemented Interfaces:
- Agent, Good, Managed, MetagluePrimitives, NewsWallGui, Remote, Serializable, Spy
- public class NewsWallGuiAgent
- extends ManagedAgent
- implements NewsWallGui
Controls the GUI interface to the NewsWall
- See Also:
ManagedAgent
,
NewsWallGui
, Serialized Form
Methods inherited from class agentland.resource.ManagedAgent |
connect, getAlert, getNeed, isAvailable, isAvailable, reliesOn, reliesOn, replace, replace, request, request, request, requestAgent, requestAgent, resources, resourcesByAgentID, setNeed, tiedTo, 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, buildEHAFor, defrost, defrostAll, defrostBoolean, defrostInt, defrostString, fixAttribute, fixAttribute, freeze, freeze, freeze, freezeAll, freezeVar, getAgentID, getAttribute, getCatalog, getCatalogID, getDesignation, getFrozenVariables, getLogLevel, getMetaglueAgent, getMetaglueAgentID, getOccupation, getOldLogs, getProperties, getProxyHandlerClass, getSociety, installAPH, log, log, lookupClass, reliesOn, reliesOnSynch, removeAPHFromCatalog, removeFrozen, setFreezeName, setLogLevel, setLogName, shutdown, startAgent, startAgentOn, startAgentOn, startup, status, tiedTo, tiedTo, tiedTo, tiedTo, tieToDesignation, toString, whereAreYou |
Methods inherited from interface agentland.util.Spy |
tell |
gm
protected GuiManager gm
newsMaker
protected GuiMaker newsMaker
browser
protected HTMLDisplay browser
model
protected NewsModel model
NewsWallGuiAgent
public NewsWallGuiAgent()
throws RemoteException
showGui
public void showGui()
throws RemoteException
- Specified by:
showGui
in interface NewsWallGui
showGui
public void showGui(String computerName)
throws RemoteException
- Specified by:
showGui
in interface NewsWallGui
hideGui
public void hideGui()
throws RemoteException
- Specified by:
hideGui
in interface NewsWallGui
presentStory
public void presentStory(news.models.Story story)
- Presents the given story on an HTML display. The attribute "browserAgent"
denotes which browser agent to use.
- Specified by:
presentStory
in interface NewsWallGui
- Parameters:
story
- a Story
value