Cytoscape 2.8.0 API

cytoscape.actions
Class DestroyNetworkViewAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by cytoscape.util.CytoscapeAction
          extended by cytoscape.actions.DestroyNetworkViewAction
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action, MenuListener

public class DestroyNetworkViewAction
extends CytoscapeAction

See Also:
Serialized Form

Field Summary
 
Fields inherited from class cytoscape.util.CytoscapeAction
acceleratorSet, consoleName, keyCode, keyModifiers, menuIndex, preferredButtonGroup, preferredMenu, useCheckBoxMenuItem
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
DestroyNetworkViewAction()
          Creates a new DestroyNetworkViewAction object.
DestroyNetworkViewAction(boolean label)
          Creates a new DestroyNetworkViewAction object.
 
Method Summary
 void actionPerformed(ActionEvent e)
          DOCUMENT ME!
static void destroyViewFromCurrentNetwork()
          Deprecated. Use Cytoscape.destroyNetworkView() instead. Will go 11/2008.
 void menuSelected(MenuEvent e)
          This method can be overridden by individual actions to set the state of menu items based on whatever unique circumstances that menu option cares about.
 
Methods inherited from class cytoscape.util.CytoscapeAction
actionHelp, clone, completions, enableForNetwork, enableForNetworkAndView, getActionList, getKeyCode, getKeyModifiers, getName, getPreferredButtonGroup, getPreferredMenu, getPrefferedIndex, initialize, isAccelerated, isInMenuBar, isInToolBar, menuCanceled, menuDeselected, setAcceleratorCombo, setName, setPreferredButtonGroup, setPreferredIndex, setPreferredMenu, takeArgs
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DestroyNetworkViewAction

public DestroyNetworkViewAction()
Creates a new DestroyNetworkViewAction object.


DestroyNetworkViewAction

public DestroyNetworkViewAction(boolean label)
Creates a new DestroyNetworkViewAction object.

Parameters:
label - DOCUMENT ME!
Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)
DOCUMENT ME!

Specified by:
actionPerformed in interface ActionListener
Specified by:
actionPerformed in class CytoscapeAction
Parameters:
e - DOCUMENT ME!

destroyViewFromCurrentNetwork

@Deprecated
public static void destroyViewFromCurrentNetwork()
Deprecated. Use Cytoscape.destroyNetworkView() instead. Will go 11/2008.


menuSelected

public void menuSelected(MenuEvent e)
Description copied from class: CytoscapeAction
This method can be overridden by individual actions to set the state of menu items based on whatever unique circumstances that menu option cares about. If not overridden, this method does nothing.

Specified by:
menuSelected in interface MenuListener
Overrides:
menuSelected in class CytoscapeAction
Parameters:
e - The triggering event.

Cytoscape 2.8.0 API

Copyright 2010 Cytoscape Consortium. All rights reserved.