Module com.iamsoft.util.ui
Class ButtonSelectedCriterion
java.lang.Object
com.iamsoft.util.ui.swing.activation.AbstractActivationCriterion
com.iamsoft.util.ui.swing.activation.ButtonSelectedCriterion
- All Implemented Interfaces:
ActivationCriterion
Require that button be selected.
TODO: accept Action as constructor arg?
-
Constructor Summary
Constructors -
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
-
ButtonSelectedCriterion
- Parameters:
pButton
- Button to monitor.
-
-
Method Details
-
test
public boolean test()Description copied from interface:ActivationCriterion
TODO: return an Object (null for passed test). -
toString
-