com.extjs.gxt.ui.client.widget.form
Class BooleanPropertyEditor

java.lang.Object
  extended by com.extjs.gxt.ui.client.widget.form.BooleanPropertyEditor
All Implemented Interfaces:
PropertyEditor<java.lang.Boolean>

public class BooleanPropertyEditor
extends java.lang.Object
implements PropertyEditor<java.lang.Boolean>

PropertyEditor for boolean values.


Field Summary
 
Fields inherited from interface com.extjs.gxt.ui.client.widget.form.PropertyEditor
DEFAULT
 
Constructor Summary
BooleanPropertyEditor()
           
 
Method Summary
 java.lang.Boolean convertStringValue(java.lang.String value)
          Converts a string to the typed value.
 java.lang.String getStringValue(java.lang.Boolean value)
          Returns the data as a string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BooleanPropertyEditor

public BooleanPropertyEditor()
Method Detail

convertStringValue

public java.lang.Boolean convertStringValue(java.lang.String value)
Description copied from interface: PropertyEditor
Converts a string to the typed value.

Specified by:
convertStringValue in interface PropertyEditor<java.lang.Boolean>
Parameters:
value - the string value
Returns:
the type value or null if value cannot be converted

getStringValue

public java.lang.String getStringValue(java.lang.Boolean value)
Description copied from interface: PropertyEditor
Returns the data as a string.

Specified by:
getStringValue in interface PropertyEditor<java.lang.Boolean>
Parameters:
value - the typed value
Returns:
the value as a string