agentland.software.util
Class DisplayHTMLAgent
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.util.DisplayHTMLAgent
- All Implemented Interfaces:
- Agent, DisplayHTML, Good, Managed, MetagluePrimitives, Remote, Serializable, Spy
- public class DisplayHTMLAgent
- extends ManagedAgent
- implements DisplayHTML
- See Also:
- 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 |
filePrefix
protected String filePrefix
display
protected String display
wwBrowser
protected WindowsWebBrowser wwBrowser
fname
protected final String fname
suffix
protected String suffix
curPageNumber
protected int curPageNumber
curDisplayNumber
protected int curDisplayNumber
curText
protected String curText
DisplayHTMLAgent
public DisplayHTMLAgent()
throws RemoteException
setDisplay
public void setDisplay(String display)
throws RemoteException
- Specified by:
setDisplay
in interface DisplayHTML
getDisplay
public String getDisplay()
throws RemoteException
- Specified by:
getDisplay
in interface DisplayHTML
addOnTop
public void addOnTop(String html)
throws RemoteException
- Specified by:
addOnTop
in interface DisplayHTML
addAtEnd
public void addAtEnd(String html)
throws RemoteException
- Specified by:
addAtEnd
in interface DisplayHTML
getCurText
public String getCurText()
throws RemoteException
- Specified by:
getCurText
in interface DisplayHTML
display
public void display(String html)
throws RemoteException
- Specified by:
display
in interface DisplayHTML
loadBrowser
public boolean loadBrowser()
displayURL
public void displayURL(String u)
throws RemoteException
- Specified by:
displayURL
in interface DisplayHTML
showPageNumbered
public boolean showPageNumbered(int n)
throws RemoteException
- Specified by:
showPageNumbered
in interface DisplayHTML
displayInstruction
public void displayInstruction(String str)
throws RemoteException
- Specified by:
displayInstruction
in interface DisplayHTML
showPrevPage
public boolean showPrevPage()
throws RemoteException
- Specified by:
showPrevPage
in interface DisplayHTML
showNextPage
public boolean showNextPage()
throws RemoteException
- Specified by:
showNextPage
in interface DisplayHTML
showFirstPage
public boolean showFirstPage()
throws RemoteException
- Specified by:
showFirstPage
in interface DisplayHTML
showLastPage
public boolean showLastPage()
throws RemoteException
- Specified by:
showLastPage
in interface DisplayHTML
displayVert
public void displayVert(String html1,
String html2)
throws RemoteException
- Specified by:
displayVert
in interface DisplayHTML
displayHoriz
public void displayHoriz(String html1,
String html2)
throws RemoteException
- Specified by:
displayHoriz
in interface DisplayHTML