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, removeChangeListenerclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetFailureMessagepublic 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()
ActivationCriterionCopyright © 2023. All rights reserved.