- java.lang.Object
-
- com.iamsoft.util.ui.swing.activation.AbstractActivationCriterion
-
- com.iamsoft.util.ui.swing.activation.TriStateCriterion
-
- All Implemented Interfaces:
ActivationCriterion
public class TriStateCriterion extends AbstractActivationCriterion
Require a particular checkbox state.
-
-
Constructor Summary
Constructors Constructor Description TriStateCriterion(ca.ansir.swing.tristate.TriStateCheckBox pCheckBox, Set<ca.ansir.swing.tristate.TriState> pAcceptableStates)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
test()
TODO: return an Object (null for passed test).String
toString()
-
Methods inherited from class com.iamsoft.util.ui.swing.activation.AbstractActivationCriterion
addChangeListener, equals, fireSatisfactionChange, hashCode, inverse, removeChangeListener
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.iamsoft.util.ui.swing.activation.ActivationCriterion
getFailureMessage
-
-
-
-
Constructor Detail
-
TriStateCriterion
public TriStateCriterion(ca.ansir.swing.tristate.TriStateCheckBox pCheckBox, Set<ca.ansir.swing.tristate.TriState> pAcceptableStates)
- Parameters:
pCheckBox
- Checkbox to monitor.pAcceptableStates
- Set of states that checkbox can be in while meeting criterion.
-
-
Method Detail
-
test
public boolean test()
Description copied from interface:ActivationCriterion
TODO: return an Object (null for passed test).
-
-