agentland.debug
Class PowerTesterAgent
java.lang.Object
|
+--java.rmi.server.RemoteObject
|
+--java.rmi.server.RemoteServer
|
+--java.rmi.server.UnicastRemoteObject
|
+--metaglue.AgentAgent
|
+--agentland.debug.AgentTesterAgent
|
+--agentland.debug.PowerTesterAgent
- All Implemented Interfaces:
- Agent, AgentTester, AgentTesterCommunication, MetagluePrimitives, PowerTester, Remote, Serializable
- public class PowerTesterAgent
- extends AgentTesterAgent
- implements PowerTester
PowerTester agent
The Intelligent Room/HAL Project
MIT Artificial Intelligence Laboratory
Cambridge, MA
This extends AgentTester and gives some extra stuff, like loaded
mess scripts from the little box thing.
- See Also:
- Serialized Form
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, log, lookupClass, reliesOn, reliesOn, reliesOn, reliesOnSynch, removeAPHFromCatalog, removeFrozen, setFreezeName, setLogLevel, setLogName, shutdown, startAgent, startAgentOn, startAgentOn, startup, status, tiedTo, tiedTo, tiedTo, tiedTo, tieToDesignation, toString, whereAreYou |
callHistory
protected Vector callHistory
maxHistorySize
protected int maxHistorySize
historyBox
protected JComboBox historyBox
mainPanel
protected JPanel mainPanel
PowerTesterAgent
public PowerTesterAgent()
throws RemoteException
defrostHistory
protected void defrostHistory()
- Defrostring stuff always requires a bit of care -- the stuff
may not be there or it may be of a different type. 've gotta
chack for that.
getTesterPanel
protected JPanel getTesterPanel()
- Overrides method in AgentTester.
This panel uses an editable JComboBox for typing or selecting
an agent to launch.
- Overrides:
getTesterPanel
in class AgentTesterAgent
- Returns:
- a JPanel with a label, the history box, and a help button.
createHistoryBox
protected Container createHistoryBox()
- Creates the JComboBox history pulldown.
You can type something into this box, or select a previous value.
- Returns:
- the JComboBox history
updateDisplay
protected void updateDisplay()
popupRelyOn
public boolean popupRelyOn(String entered_name)
- when the mouse is pressed on the PowerTesterFrame, this method is
called with the string in the text box, so that MethodList can be
invoked.
- Overrides:
popupRelyOn
in class AgentTesterAgent
bootScript
public void bootScript(String script)
resourceRely
public void resourceRely(String onWhat)
macroExpand
protected String macroExpand(String s)
getHelpMessage
protected String getHelpMessage()
- Overrides:
getHelpMessage
in class AgentTesterAgent
updateCallHistory
protected void updateCallHistory(String s)
- Adds a new string to the history