public class AgentInternalFrame extends TransientAgentInternalFrame
Copyright: Copyright 2003-2014, Knowledge Science Group, University of Calgary. Permission to use, copy, modify, distribute and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation. The Knowledge Science Group makes no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty.
Modifier and Type | Class and Description |
---|---|
private class |
AgentInternalFrame.ResetFromPersistentData |
Modifier and Type | Field and Description |
---|---|
protected static int |
agentFrame_LAST_EVENT |
buttonEXECUTE, buttonPAUSE, buttonRESUME, buttonSTEP, closingPort, contentPanel, debugBar, DEFAULT_X, DEFAULT_Y, HORIZONTAL, menuADD_NEW_TAB, menuAgent_editOntology, menuAgent_Exit, menuAgent_options, menuAgent_setDebug, menuAgent_showMessageArea, menuAgent_showTrace, menuCD, menuCD_Join, menuCLEARDEBUG, menuEDIT_ONTOLOGY, menuEDIT_ONTOLOGY_GRAPHICAL, menuEXIT, menuFIRST_DYNAMIC_EVENT, menuGETYELLOWPAGES, menuHIDE_DEBUG_BAR, menuHIDE_MESSAGE_AREA, menuINFO, menuINVITECD, menuJOINCD, menuLAC, menuLAC_RegisterInstance, menuLAC_UnregisterInstance, menuLAST_DYNAMIC_EVENT, menuOPTIONS, menuREGISTER, menuSET_ACK_PROTOCOL, menuSHOW_DEBUG_BAR, menuSHOW_MESSAGE_AREA, menuSHOWTRACE, menuUNREGISTER, menuUserManual, menuWindow_hideDebugBar, menuWindow_showDebugBar, menuWITHDRAWCD, menuYP, noAction, pauseButton, pausedLabel, resumeButton, splitPanes, stepButton, transientAgentFrame_LAST_EVENT, VERTICAL
appIconSet, commandPanel, frame, guiObserver, jFrame, jInternalFrame, listCDMembers, listCDs, menuAgent, menuAgent_editActs, menuAgent_editPerformatives, menuAgentCommands, menuCD_Invite, menuCD_Withdraw, menuEDIT_ACT_TYPES, menuEDIT_PERFORMATIVE_TYPES, menuEditTypes, menuEDITTYPES, menuHelp, menuHelp_helpJade, menuHelp_helpLisp, menuHelp_helpOWL2, menuHelp_homepage, menuHelp_htmanual, menuHelp_info, menuHelp_javadoc, menuHelp_umanual, menuHelpJade, menuHelpLisp, menuHelpOWL2, menuHomePage, menuHowTo, menuJavaDoc, menuNEW_MENU_ITEM, menuOptions, menuScripts, menuSET_CREATE_PROXY_WINDOWS, menuSET_SHOW_INACTIVE, menuSETDEBUG, menuShowTrace, menuSYSTEM_CLEAR_TAGS_TYPES, menuSYSTEM_LAC_DAEMON_TYPES, menuSYSTEM_Preferences, menuTools, menuWindow, process
agent, showEvents, showInfo, showMessages, showTrace, showUnknown
TYPE_ANY, TYPE_BOOLEAN, TYPE_FLOAT, TYPE_INT, TYPE_STRING
Constructor and Description |
---|
AgentInternalFrame(TransientAgent agent,
String title,
Container aFrame) |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent e)
implementation of the ActionListener interface
|
protected void |
closeInternalFrame()
Adaptor method: when isInternalFrameClosable() returns true, this method ensures that observers are notified
and that the window is disposed off.
|
AgentInterface |
getAgent() |
Rectangle |
getBounds() |
void |
resetFromPersistentData() |
void |
start()
Don't immediately do start...
|
private void |
superStart() |
protected void |
updateAgent() |
ask, getOutStream, getTransientAgent, inviteToCD, makeMenuBar, print, print, println, printStatus, setDebugBar, takesHTML, updateEventHandler, updateHandler
addFrameListener, addScript, addTab, CDMembersMouseHook, CDSelectionChanged, closeWindow, createRequestedMenuItem, dispose, doDefaultCloseAction, getBuildTime, getCommandPanel, getContentPane, getDesktopIcon, getFrame, getHeight, getLayeredPane, getListCDMembers, getMenuBarMenu, getRootPane, getTab, getTabComponent, getTabPane, getTitle, getWidth, insertMenuBar, insertMenuBarAfter, insertMenuBarBefore, insertTab, insertTabAfter, internalFrameActivated, internalFrameClosed, internalFrameClosing, internalFrameDeactivated, internalFrameDeiconified, internalFrameIconified, internalFrameOpened, isClosed, isIcon, isInternalFrameClosable, isMaximized, makeAgentMenu, makeCDPanel, makeCommandPanel, makeHelpMenu, makeTabPane, makeToolsMenu, makeTypeEditDialog, makeWindowMenu, pack, refreshTabMenu, removeTab, replaceMenuBar, replaceTabComponent, runInEventDispatchThread, runInEventDispatchThread, setClosable, setContentPane, setFrameIcon, setIcon, setIconifiable, setInfoPanel, setInfoPanel, setJMenuBar, setLocation, setMaximizable, setMaximized, setName, setOpaque, setResizable, setSelected, setSelectedTab, setSize, setTitle, setVisible, show, toFront, update, updateCDListFromAgent, updateCDmemberJList, updateMemberList, updateOptions, updateStrategyPanel, validate, windowActivated, windowClosed, windowClosing, windowDeactivated, windowDeiconified, windowIconified, windowOpened, withdrawCD
eval, evalWithHistory, handleEvent, handleOther, printlnObject
protected static final int agentFrame_LAST_EVENT
public AgentInternalFrame(TransientAgent agent, String title, Container aFrame)
public void start()
start
in interface AgentUI
start
in class TransientAgentInternalFrame
TransientAgentInternalFrame.start()
,
superStart()
private void superStart()
public void resetFromPersistentData()
public AgentInterface getAgent()
public Rectangle getBounds()
protected void closeInternalFrame()
closeInternalFrame
in class TransientAgentInternalFrame
protected void updateAgent()
public void actionPerformed(ActionEvent e)
TransientAgentInternalFrame
actionPerformed
in interface ActionListener
actionPerformed
in class TransientAgentInternalFrame
e
- --> Object implemented as a listener. It interacts with
getActionCommand() & intValue(). The value returned is assigned to
the variable: command <-- used in the switch in order to set the
activity of the Window, i.e. closeWindow()