com.extjs.gxt.ui.client.widget.form
インタフェース 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.


Field 概要
static PropertyEditor<java.lang.Object> DEFAULT
           
 
メソッド 概要
 Data convertStringValue(java.lang.String value)
          Converts a string to the typed value.
 java.lang.String getStringValue(Data value)
          Returns the data as a string.
 

Field 詳細

DEFAULT

static final PropertyEditor<java.lang.Object> DEFAULT
メソッド 詳細

getStringValue

java.lang.String getStringValue(Data value)
Returns the data as a string.

パラメータ:
value - the typed value
戻り値:
the value as a string

convertStringValue

Data convertStringValue(java.lang.String value)
Converts a string to the typed value.

パラメータ:
value - the string value
戻り値:
the type value or null if value cannot be converted