|
Cytoscape 3.0.0-beta1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CyAction
An interface that describes how an action should be placed within the menus and/or toolbars of the Swing application.
Field Summary |
---|
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 | |
---|---|
KeyStroke |
getAcceleratorKeyStroke()
Returns the accelerator KeyStroke defined for this action. |
float |
getMenuGravity()
Returns the gravity used to place the menu item for this action. |
String |
getName()
Returns the name of the action. |
String |
getPreferredMenu()
This method returns a Menu specification string. |
float |
getToolbarGravity()
Returns the gravity used to place this action in the toolbar. |
boolean |
isInMenuBar()
Returns whether the action should be in the menu bar. |
boolean |
isInToolBar()
Returns whether the action should be in the tool bar. |
void |
updateEnableState()
Forces the action to update its enable state based on the criteria defined for the action. |
boolean |
useCheckBoxMenuItem()
Returns whether or not a checkbox menu item should be used. |
Methods inherited from interface javax.swing.Action |
---|
addPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled |
Methods inherited from interface java.awt.event.ActionListener |
---|
actionPerformed |
Methods inherited from interface javax.swing.event.MenuListener |
---|
menuCanceled, menuDeselected, menuSelected |
Methods inherited from interface javax.swing.event.PopupMenuListener |
---|
popupMenuCanceled, popupMenuWillBecomeInvisible, popupMenuWillBecomeVisible |
Method Detail |
---|
String getName()
boolean isInMenuBar()
boolean isInToolBar()
float getMenuGravity()
float getToolbarGravity()
KeyStroke getAcceleratorKeyStroke()
String getPreferredMenu()
boolean useCheckBoxMenuItem()
void updateEnableState()
|
Cytoscape 3.0.0-beta1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |