Cytoscape 2.6.2 (c) 2006,2007 ISB, MSKCC, UCSD

cytoscape.actions
Class ToggleVisualMapperAction

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

public class ToggleVisualMapperAction
extends CytoscapeAction

This class implements two menu items that allow enabling and disabling the visual mapper.

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
ToggleVisualMapperAction()
          Creates a new ToggleVisualMapperAction object.
 
Method Summary
 void actionPerformed(ActionEvent e)
          DOCUMENT ME!
 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, getActionList, getKeyCode, getKeyModifiers, getName, getPreferredButtonGroup, getPreferredMenu, getPrefferedIndex, isAccelerated, isInMenuBar, isInToolBar, menuCanceled, menuDeselected, setAcceleratorCombo, setName, setPreferredButtonGroup, setPreferredIndex, setPreferredMenu, takeArgs
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ToggleVisualMapperAction

public ToggleVisualMapperAction()
Creates a new ToggleVisualMapperAction object.

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!

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.

www.cytoscape.org