java.lang.Object
edu.mit.media.hive.agent.hiveui.BaseAWTGUIDisplayCellListButtonFrame
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.util.EventListener
- Direct Known Subclasses:
- BaseAWTGUIShutDownCellUI, BaseAWTGUIStopMonitorCellUI
- abstract class BaseAWTGUIDisplayCellListButtonFrame
- extends java.lang.Object
- implements java.awt.event.ActionListener
this class pops up a frame that has the servers listed in a choice
field and then a button -- whatever extends this class can set what
the title of the frame is, what the button label says, and the
action performed when the button is pushed. right now this class
is used for the shut down server and the stop monitoring server
boxes
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
guiAgent
protected BaseAWTGUIAgentImpl guiAgent
cms
protected edu.mit.media.hive.shadow.cell.ComponentManagerShadow cms
myFrame
private java.awt.Frame myFrame
myPanel
private java.awt.Panel myPanel
serverListChoice
protected java.awt.Choice serverListChoice
- the actual menu that will be filled with the choices
BaseAWTGUIDisplayCellListButtonFrame
public BaseAWTGUIDisplayCellListButtonFrame(BaseAWTGUIAgentImpl guiAgent,
edu.mit.media.hive.shadow.cell.ComponentManagerShadow cms)
getButtonLabel
protected abstract java.lang.String getButtonLabel()
getTitle
protected abstract java.lang.String getTitle()
buttonPressed
protected abstract void buttonPressed()
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Description copied from interface:
java.awt.event.ActionListener
- This method is invoked when an action occurs.
- Specified by:
actionPerformed
in interface java.awt.event.ActionListener