|
Cytoscape 3.0.0-alpha8-SNAPSHOT API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.cytoscape.application.swing.AlwaysEnabledEnableSupport
public final class AlwaysEnabledEnableSupport
A class that allows the enabled state of an Action to be always enabled.
| Constructor Summary | |
|---|---|
AlwaysEnabledEnableSupport(Action action)
Constructor. |
|
AlwaysEnabledEnableSupport(DynamicSubmenuListener submenuListener)
Constructor. |
|
AlwaysEnabledEnableSupport(JMenuItem menuItem)
Constructor. |
|
| Method Summary | |
|---|---|
boolean |
isCurrentlyEnabled()
Returns true if the action/menuListener/menuItem is enabled, false otherwise. |
protected void |
setEnabled(boolean b)
|
void |
updateEnableState()
Always sets the enable state to true. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AlwaysEnabledEnableSupport(DynamicSubmenuListener submenuListener)
submenuListener - The submenu listener whose enabled state will be updated.public AlwaysEnabledEnableSupport(Action action)
action - The action whose enabled state will be updated.public AlwaysEnabledEnableSupport(JMenuItem menuItem)
menuItem - The menuItem whose enabled state will be updated.| Method Detail |
|---|
public void updateEnableState()
protected void setEnabled(boolean b)
public final boolean isCurrentlyEnabled()
|
Cytoscape 3.0.0-alpha8-SNAPSHOT API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||