java.lang.Object
com.iamsoft.util.ui.swing.activation.AbstractActivationCriterion
com.iamsoft.util.ui.swing.activation.EnablementCriterion
- All Implemented Interfaces:
ActivationCriterion
Mandates that a particular component or action be in the enabled state.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionEnablementCriterion
(Component pComponent) EnablementCriterion
(Action pAction) -
Method Summary
Methods inherited from class com.iamsoft.util.ui.swing.activation.AbstractActivationCriterion
addChangeListener, equals, fireSatisfactionChange, hashCode, inverse, removeChangeListener
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.iamsoft.util.ui.swing.activation.ActivationCriterion
getFailureMessage
-
Field Details
-
ENABLED_PROPERTY
- See Also:
-
-
Constructor Details
-
EnablementCriterion
- Parameters:
pAction
- Action that must be enabled.
-
EnablementCriterion
- Parameters:
pComponent
- Component that must be enabled.
-
-
Method Details
-
test
public boolean test()Description copied from interface:ActivationCriterion
TODO: return an Object (null for passed test). -
toString
-