public class BooleanPropertyEnableCheck extends java.lang.Object implements EnableCheck
| Constructor and Description | 
|---|
BooleanPropertyEnableCheck(java.lang.Object object,
                          java.lang.String checkMethodName)  | 
BooleanPropertyEnableCheck(java.lang.Object object,
                          java.lang.String checkMethodName,
                          boolean expectedValue)  | 
BooleanPropertyEnableCheck(java.lang.Object object,
                          java.lang.String checkMethodName,
                          boolean expectedValue,
                          java.lang.String disabledMessage)  | 
| Modifier and Type | Method and Description | 
|---|---|
java.lang.String | 
check(javax.swing.JComponent component)
Returns a non-null value if the check failed. 
 | 
public BooleanPropertyEnableCheck(java.lang.Object object,
                          java.lang.String checkMethodName)
object - The object to invoke the method on.checkMethodName - The name of the check method which returns a boolean
          value.public BooleanPropertyEnableCheck(java.lang.Object object,
                          java.lang.String checkMethodName,
                          boolean expectedValue)
object - The object to invoke the method on.checkMethodName - The name of the check method which returns a boolean
          value.expectedValue - The expected value to be returned for the check to be
          enabled.public BooleanPropertyEnableCheck(java.lang.Object object,
                          java.lang.String checkMethodName,
                          boolean expectedValue,
                          java.lang.String disabledMessage)
object - The object to invoke the method on.checkMethodName - The name of the check method which returns a boolean
          value.expectedValue - The expected value to be returned for the check to be
          enabled.disabledMessage - public java.lang.String check(javax.swing.JComponent component)
EnableCheckcheck in interface EnableCheck