Package editor.actions
Interface ConditionalActionHandler
- All Superinterfaces:
ActionListener
,EventListener
- All Known Subinterfaces:
ConditionalNameActionHandler
,ToggleConditionalActionHandler
Extends ActionListener facilitating enable-state detection and exposure.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Return whether or not the action associated with this listener is enabled.Methods inherited from interface java.awt.event.ActionListener
actionPerformed
-
Method Details
-
isEnabled
boolean isEnabled()Return whether or not the action associated with this listener is enabled. Achtung! Keep in mind implementations of this method should be short and sweet -- don't do anything even moderately heavy here as this method is called very very often -- every time the AWT event queue goes idle.- Returns:
- True to enable the Action associated with this component.
-