Example usage for Java org.springframework.beans.propertyeditors CustomBooleanEditor fields, constructors, methods, implement or subclass
The text is from its open source code.
String | VALUE_TRUE Value of "true" . |
String | VALUE_FALSE Value of "false" . |
String | VALUE_ON Value of "on" . |
String | VALUE_OFF Value of "off" . |
String | VALUE_YES Value of "yes" . |
String | VALUE_NO Value of "no" . |
String | VALUE_1 Value of "1" . |
String | VALUE_0 Value of "0" . |
CustomBooleanEditor(boolean allowEmpty) Create a new CustomBooleanEditor instance, with "true"/"on"/"yes" and "false"/"off"/"no" as recognized String values. | |
CustomBooleanEditor(@Nullable String trueString, @Nullable String falseString, boolean allowEmpty) Create a new CustomBooleanEditor instance, with configurable String values for true and false. |
Object | getValue() Gets the value of the property. |
void | setAsText(@Nullable String text) |