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
Enablement prerequisite.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddChangeListener(ChangeListener pListener) final booleanAll subclasses must use identity equality.protected voidCall when criterion becomes [un]satisfied.final inthashCode()Calls superclass implementation.inverse()voidremoveChangeListener(ChangeListener pListener) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.iamsoft.util.ui.swing.activation.ActivationCriterion
getFailureMessage, test
-
Constructor Details
-
AbstractActivationCriterion
public AbstractActivationCriterion()
-
-
Method Details
-
addChangeListener
- Specified by:
addChangeListenerin interfaceActivationCriterion
-
removeChangeListener
- Specified by:
removeChangeListenerin interfaceActivationCriterion
-
fireSatisfactionChange
protected void fireSatisfactionChange()Call when criterion becomes [un]satisfied. -
inverse
-
equals
All subclasses must use identity equality. Making this final will prevent accidental removal of equivalent instances. -
hashCode
public final int hashCode()Calls superclass implementation.
-