cytoscape.actions
Class ApplyVisualStyleAction
java.lang.Object
javax.swing.AbstractAction
cytoscape.util.CytoscapeAction
cytoscape.actions.ApplyVisualStyleAction
- All Implemented Interfaces:
- ActionListener, Serializable, Cloneable, EventListener, Action, MenuListener
public class ApplyVisualStyleAction
- extends CytoscapeAction
Apply Visual Style for a set of selected networks.
One action represents a
- Since:
- Cytoscape 2.7.0
- Author:
- kono
- See Also:
- Serialized Form
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 |
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, enableForNetwork, enableForNetworkAndView, getActionList, getKeyCode, getKeyModifiers, getName, getPreferredButtonGroup, getPreferredMenu, getPrefferedIndex, initialize, isAccelerated, isInMenuBar, isInToolBar, menuCanceled, menuDeselected, setAcceleratorCombo, setName, setPreferredButtonGroup, setPreferredIndex, setPreferredMenu, takeArgs |
ApplyVisualStyleAction
public ApplyVisualStyleAction(String styleName)
- Create an action for the specified Visual Style.
- Parameters:
styleName
- - Name of the Visual Style
actionPerformed
public void actionPerformed(ActionEvent e)
- Description copied from class:
CytoscapeAction
- 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.
Copyright 2010 Cytoscape Consortium. All rights reserved.