|
Cytoscape 2.4.1 (c) 2006,2007 ISB, MSKCC, UCSD | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.swing.AbstractAction
cytoscape.util.CytoscapeAction
cytoscape.actions.CytoPanelAction
public class CytoPanelAction
Menu item handler for CytoPanels
| 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 | |
|---|---|
CytoPanelAction(JCheckBoxMenuItem menuItem,
CytoPanel cytoPanel)
Constructor. |
|
| Method Summary | |
|---|---|
void |
actionPerformed(ActionEvent e)
Menu item select/deselect handler. |
void |
onComponentAdded(int count)
Notifies the listener when a component is added to the CytoPanel. |
void |
onComponentRemoved(int count)
Notifies the listener when a component is removed from the CytoPanel. |
void |
onComponentSelected(int componentIndex)
Notifies the listener when a new component on the CytoPanel is selected. |
void |
onStateChange(CytoPanelState newState)
Notifies the listener on a change in the CytoPanel state. |
| Methods inherited from class cytoscape.util.CytoscapeAction |
|---|
actionHelp, clone, completions, getActionList, getKeyCode, getKeyModifiers, getName, getPreferredButtonGroup, getPreferredMenu, getPrefferedIndex, isAccelerated, isInMenuBar, isInToolBar, 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 |
|---|
public CytoPanelAction(JCheckBoxMenuItem menuItem,
CytoPanel cytoPanel)
| Method Detail |
|---|
public void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListeneractionPerformed in class CytoscapeActionpublic void onComponentAdded(int count)
onComponentAdded in interface CytoPanelListenercount - The number of components on the CytoPanel.public void onComponentRemoved(int count)
onComponentRemoved in interface CytoPanelListenercount - The number of components on the CytoPanel.public void onStateChange(CytoPanelState newState)
onStateChange in interface CytoPanelListenernewState - The new CytoPanel state - see CytoPanelState class.public void onComponentSelected(int componentIndex)
onComponentSelected in interface CytoPanelListenercomponentIndex - The index of the component selected.
|
www.cytoscape.org | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||