Module com.iamsoft.util.ui
Class AbstractActivationCriterion
- java.lang.Object
-
- com.iamsoft.util.ui.swing.activation.AbstractActivationCriterion
-
- All Implemented Interfaces:
ActivationCriterion
- Direct Known Subclasses:
ButtonSelectedCriterion
,ContiguousTableRowSelectionCriterion
,DocumentCriterion
,EditableCriterion
,EnablementCriterion
,ListSelectionCountCriterion
,ListSelectionPredicateCriterion
,ListSizeCriterion
,LogicalAndCriterion
,LogicalOrCriterion
,RangedSelectionDepthCriterion
,SetSizeCriterion
,TableSizeCriterion
,TabSelectionCriterion
,ToggleableCriterion
,TreeSelectionCountCriterion
,TriStateCriterion
,UniqueAttributeCriterion
,UnsatisfiableCriterion
public abstract class AbstractActivationCriterion extends Object implements ActivationCriterion
Enablement prerequisite.
-
-
Constructor Summary
Constructors Constructor Description AbstractActivationCriterion()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addChangeListener(ChangeListener pListener)
boolean
equals(Object pObj)
All subclasses must use identity equality.protected void
fireSatisfactionChange()
Call when criterion becomes [un]satisfied.int
hashCode()
Calls superclass implementation.ActivationCriterion
inverse()
void
removeChangeListener(ChangeListener pListener)
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.iamsoft.util.ui.swing.activation.ActivationCriterion
getFailureMessage, test
-
-
-
-
Method Detail
-
addChangeListener
public void addChangeListener(ChangeListener pListener)
- Specified by:
addChangeListener
in interfaceActivationCriterion
-
removeChangeListener
public void removeChangeListener(ChangeListener pListener)
- Specified by:
removeChangeListener
in interfaceActivationCriterion
-
fireSatisfactionChange
protected void fireSatisfactionChange()
Call when criterion becomes [un]satisfied.
-
inverse
public ActivationCriterion inverse()
-
equals
public final boolean equals(Object pObj)
All subclasses must use identity equality. Making this final will prevent accidental removal of equivalent instances.
-
-