cytoscape.actions
Class DestroyNetworkAction
java.lang.Object
javax.swing.AbstractAction
cytoscape.util.CytoscapeAction
cytoscape.actions.DestroyNetworkAction
- All Implemented Interfaces:
- ActionListener, Serializable, Cloneable, EventListener, Action, MenuListener
public class DestroyNetworkAction
- 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 |
DestroyNetworkAction
public DestroyNetworkAction()
- Creates a new DestroyNetworkAction object.
DestroyNetworkAction
public DestroyNetworkAction(boolean label)
- Creates a new DestroyNetworkAction object.
- Parameters:
label
- DOCUMENT ME!
actionPerformed
public void actionPerformed(ActionEvent e)
- DOCUMENT ME!
- Specified by:
actionPerformed
in interface ActionListener
- Specified by:
actionPerformed
in class CytoscapeAction
- Parameters:
e
- DOCUMENT ME!
destroyCurrentNetwork
@Deprecated
public static void destroyCurrentNetwork()
- Deprecated. Use Cytoscape.destroyNetwork(Cytoscape.getCurrentNetwork()) instead.
Will be gone 11/2008.
menuSelected
public void menuSelected(MenuEvent e)
- Sets the action state based on whether a current network exists.
- Specified by:
menuSelected
in interface MenuListener
- Overrides:
menuSelected
in class CytoscapeAction
- Parameters:
e
- The triggering event.