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 voidaddChangeListener(ChangeListener pListener)booleanequals(Object pObj)All subclasses must use identity equality.protected voidfireSatisfactionChange()Call when criterion becomes [un]satisfied.inthashCode()Calls superclass implementation.ActivationCriterioninverse()voidremoveChangeListener(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:
addChangeListenerin interfaceActivationCriterion
-
removeChangeListener
public void removeChangeListener(ChangeListener pListener)
- Specified by:
removeChangeListenerin 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.
-
-