cytoscape.actions
Class CytoPanelAction
java.lang.Object
javax.swing.AbstractAction
cytoscape.util.CytoscapeAction
cytoscape.actions.CytoPanelAction
- All Implemented Interfaces:
- ActionListener, Serializable, Cloneable, EventListener, Action, MenuListener
public class CytoPanelAction
- extends CytoscapeAction
- See Also:
- Serialized Form
Methods inherited from class cytoscape.util.CytoscapeAction |
actionHelp, clone, completions, getActionList, getKeyCode, getKeyModifiers, getName, getPreferredButtonGroup, getPreferredMenu, getPrefferedIndex, isAccelerated, isInMenuBar, isInToolBar, menuCanceled, menuDeselected, setAcceleratorCombo, setName, setPreferredButtonGroup, setPreferredIndex, setPreferredMenu, takeArgs |
CytoPanelAction
public CytoPanelAction(JCheckBoxMenuItem menuItem,
CytoPanel cytoPanel)
- Deprecated. Use other constructor instead. Will be removed 4/2008.
CytoPanelAction
public CytoPanelAction(CytoPanelName cp,
boolean show)
actionPerformed
public void actionPerformed(ActionEvent ev)
- Toggles the cytopanel state.
- Specified by:
actionPerformed
in interface ActionListener
- Specified by:
actionPerformed
in class CytoscapeAction
- Parameters:
ev
- Triggering event - not used.
menuSelected
public void menuSelected(MenuEvent me)
- This dynamically sets the title of the menu based on the state of the CytoPanel.
- Specified by:
menuSelected
in interface MenuListener
- Overrides:
menuSelected
in class CytoscapeAction
- Parameters:
me
- The triggering event.