public class TriStateCriterion extends AbstractActivationCriterion
Constructor and Description |
---|
TriStateCriterion(ca.ansir.swing.tristate.TriStateCheckBox pCheckBox,
Set<ca.ansir.swing.tristate.TriState> pAcceptableStates) |
Modifier and Type | Method and Description |
---|---|
boolean |
test()
TODO: return an Object (null for passed test).
|
String |
toString() |
addChangeListener, equals, fireSatisfactionChange, hashCode, inverse, removeChangeListener
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getFailureMessage
public TriStateCriterion(ca.ansir.swing.tristate.TriStateCheckBox pCheckBox, Set<ca.ansir.swing.tristate.TriState> pAcceptableStates)
pCheckBox
- Checkbox to monitor.pAcceptableStates
- Set of states that checkbox can be in while meeting
criterion.public boolean test()
ActivationCriterion
Copyright © 2023. All rights reserved.