com.extjs.gxt.ui.client.widget.form
Interface PropertyEditor<Data>
- Type Parameters:
Data
- the data type
- All Known Implementing Classes:
- BooleanPropertyEditor, DateTimePropertyEditor, ListModelPropertyEditor, ModelPropertyEditor, NumberPropertyEditor
public interface PropertyEditor<Data>
Interface for obtaining a string representation of a typed value, and
converting a string to a typed value instance.
DEFAULT
static final PropertyEditor<java.lang.Object> DEFAULT
getStringValue
java.lang.String getStringValue(Data value)
- Returns the data as a string.
- Parameters:
value
- the typed value
- Returns:
- the value as a string
convertStringValue
Data convertStringValue(java.lang.String value)
- Converts a string to the typed value.
- Parameters:
value
- the string value
- Returns:
- the type value or null if value cannot be converted