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 TypeMethodDescriptionvoid
addChangeListener
(ChangeListener pListener) final boolean
All subclasses must use identity equality.protected void
Call when criterion becomes [un]satisfied.final int
hashCode()
Calls superclass implementation.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
-
Constructor Details
-
AbstractActivationCriterion
public AbstractActivationCriterion()
-
-
Method Details
-
addChangeListener
- Specified by:
addChangeListener
in interfaceActivationCriterion
-
removeChangeListener
- Specified by:
removeChangeListener
in 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.
-