public class EnablementCriterion extends AbstractActivationCriterion
Modifier and Type | Field and Description |
---|---|
static String |
ENABLED_PROPERTY |
Constructor and Description |
---|
EnablementCriterion(Action pAction) |
EnablementCriterion(Component pComponent) |
Modifier and Type | Method and Description |
---|---|
boolean |
test()
TODO: return an Object (null for passed test).
|
String |
toString() |
addChangeListener, equals, fireSatisfactionChange, hashCode, inverse, removeChangeListener
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getFailureMessage
public static final String ENABLED_PROPERTY
public EnablementCriterion(Action pAction)
pAction
- Action that must be enabled.public EnablementCriterion(Component pComponent)
pComponent
- Component that must be enabled.public boolean test()
ActivationCriterion
Copyright © 2023. All rights reserved.