Package editor.actions
Interface ConditionalActionHandler
-
- All Superinterfaces:
java.awt.event.ActionListener,java.util.EventListener
- All Known Subinterfaces:
ConditionalNameActionHandler,ToggleConditionalActionHandler
public interface ConditionalActionHandler extends java.awt.event.ActionListenerExtends ActionListener facilitating enable-state detection and exposure.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisEnabled()Return whether or not the action associated with this listener is enabled.
-
-
-
Method Detail
-
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.
-
-