Module com.iamsoft.util.ui
Class TreeSelectionCountCriterion
java.lang.Object
com.iamsoft.util.ui.swing.activation.AbstractActivationCriterion
com.iamsoft.util.ui.swing.activation.TreeSelectionCountCriterion
- All Implemented Interfaces:
ActivationCriterion
Require certain number of selections.
-
Constructor Summary
ConstructorsConstructorDescriptionTreeSelectionCountCriterion
(TreeSelectionModel pModel, int pLowerBound, Integer pUpperBound) -
Method Summary
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 Details
-
TreeSelectionCountCriterion
- Parameters:
pModel
- TreeSelectionModel to monitor.pLowerBound
- Minimum selection count.pUpperBound
- Maximum selection count (null for no bound).
-
-
Method Details
-
test
public boolean test()Description copied from interface:ActivationCriterion
TODO: return an Object (null for passed test). -
toString
-