|
Cytoscape 2.6.2 (c) 2006,2007 ISB, MSKCC, UCSD | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.AbstractAction cytoscape.util.CytoscapeAction
public abstract class CytoscapeAction
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 | |
---|---|
CytoscapeAction()
|
|
CytoscapeAction(String name)
Creates a new CytoscapeAction object. |
|
CytoscapeAction(String name,
Icon icon)
Creates a new CytoscapeAction object. |
Method Summary | |
---|---|
String |
actionHelp()
DOCUMENT ME! |
abstract void |
actionPerformed(ActionEvent e)
DOCUMENT ME! |
Object |
clone()
The default clone() implementation delegates to the create() method of DataTypeUtilities.getDataTypeFactory( this.getClass() ). |
String[] |
completions()
DOCUMENT ME! |
static List |
getActionList()
DOCUMENT ME! |
int |
getKeyCode()
DOCUMENT ME! |
int |
getKeyModifiers()
DOCUMENT ME! |
String |
getName()
DOCUMENT ME! |
String |
getPreferredButtonGroup()
This method returns a ButtonGroup specification string. |
String |
getPreferredMenu()
This method returns a Menu specification string. |
Integer |
getPrefferedIndex()
DOCUMENT ME! |
boolean |
isAccelerated()
DOCUMENT ME! |
boolean |
isInMenuBar()
By default all CytoscapeActions wish to be included in CommunityMenuBars, but you may override if you wish. |
boolean |
isInToolBar()
By default no CytoscapeActions wish to be included in CommunityToolBars, but you may override if you wish. |
void |
menuCanceled(MenuEvent e)
This method can be used at your discretion, but otherwise does nothing. |
void |
menuDeselected(MenuEvent e)
This method can be used at your discretion, but otherwise does nothing. |
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. |
void |
setAcceleratorCombo(int key_code,
int key_mods)
DOCUMENT ME! |
void |
setName(String name)
DOCUMENT ME! |
void |
setPreferredButtonGroup(String new_preferred)
|
void |
setPreferredIndex(int index)
DOCUMENT ME! |
void |
setPreferredMenu(String new_preferred)
|
void |
takeArgs(String[] argv)
DOCUMENT ME! |
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 CytoscapeAction()
public CytoscapeAction(String name)
name
- DOCUMENT ME!public CytoscapeAction(String name, Icon icon)
name
- DOCUMENT ME!icon
- DOCUMENT ME!Method Detail |
---|
public static List getActionList()
public void setName(String name)
name
- DOCUMENT ME!public String getName()
public String actionHelp()
public String[] completions()
public void takeArgs(String[] argv)
argv
- DOCUMENT ME!public abstract void actionPerformed(ActionEvent e)
actionPerformed
in interface ActionListener
e
- DOCUMENT ME!public Object clone()
clone
in class AbstractAction
public boolean isInMenuBar()
#getPrefferedMenu();
public boolean isInToolBar()
#getPrefferedButtonGroup();
public void setPreferredIndex(int index)
index
- DOCUMENT ME!public Integer getPrefferedIndex()
public void setAcceleratorCombo(int key_code, int key_mods)
key_code
- DOCUMENT ME!key_mods
- DOCUMENT ME!public boolean isAccelerated()
public int getKeyCode()
public int getKeyModifiers()
public String getPreferredMenu()
#inMenuBar()
public void setPreferredMenu(String new_preferred)
public String getPreferredButtonGroup()
#inToolBar()
public void setPreferredButtonGroup(String new_preferred)
public void menuCanceled(MenuEvent e)
menuCanceled
in interface MenuListener
e
- The triggering event.public void menuDeselected(MenuEvent e)
menuDeselected
in interface MenuListener
e
- The triggering event.public void menuSelected(MenuEvent e)
menuSelected
in interface MenuListener
e
- The triggering event.
|
www.cytoscape.org | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |