public class UifBooleanEditor extends PropertyEditorSupport implements Serializable
| Constructor and Description | 
|---|
| UifBooleanEditor() | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getAsText()Gets the property value as a string suitable for presentation
 to a human to edit | 
| void | setAsText(String text)Sets the property value by parsing a given String | 
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditorpublic UifBooleanEditor()
public String getAsText()
getAsText in interface PropertyEditorgetAsText in class PropertyEditorSupportReturns String "true" or "false".
Returns "null" is the value can't be expressed as a string.
If a non-null value is returned, then the PropertyEditor should be prepared to parse that string back in setAsText().
public void setAsText(String text) throws IllegalArgumentException
The text is compared against the configured acceptable string values for boolean true and false
setAsText in interface PropertyEditorsetAsText in class PropertyEditorSupporttext - The string to be parsed.IllegalArgumentException - if text does not contain either true or falseCopyright © 2005–2016 The Kuali Foundation. All rights reserved.