java.lang.Object
edu.mit.media.hive.agent.hiveui.BaseSwingGUIDisplayCellListButtonFrame
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.util.EventListener
- Direct Known Subclasses:
- BaseSwingGUIShutDownCellUI, BaseSwingGUIStopMonitorCellUI
- abstract class BaseSwingGUIDisplayCellListButtonFrame
- 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 BaseSwingGUIAgentImpl guiAgent
cms
protected edu.mit.media.hive.shadow.cell.ComponentManagerShadow cms
myFrame
private java.awt.Frame myFrame
myPanel
private javax.swing.JPanel myPanel
serverListChoice
protected javax.swing.JComboBox serverListChoice
- the actual menu that will be filled with the choices
BaseSwingGUIDisplayCellListButtonFrame
public BaseSwingGUIDisplayCellListButtonFrame(BaseSwingGUIAgentImpl 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