com.extjs.gxt.ui.client.widget.form
クラス ModelPropertyEditor<Data extends ModelData>

java.lang.Object
  extended by com.extjs.gxt.ui.client.widget.form.ModelPropertyEditor<Data>
Type Parameters:
Data - the model type
すべての実装インターフェース:
PropertyEditor<Data>
Direct Known Subclasses:
ListModelPropertyEditor

public abstract class ModelPropertyEditor<Data extends ModelData>
extends java.lang.Object
implements PropertyEditor<Data>

PropertyEditor for model instances.


Field 概要
 
インタフェース com.extjs.gxt.ui.client.widget.form.PropertyEditor から継承されたフィールド(Fields)
DEFAULT
 
コンストラクタ 概要
ModelPropertyEditor()
          Creates a new model property editor.
ModelPropertyEditor(java.lang.String displayProperty)
          Creates a new model property editor.
 
メソッド 概要
 java.lang.String getDisplayProperty()
          Returns the display property.
 java.lang.String getStringValue(Data value)
          Returns the data as a string.
 void setDisplayProperty(java.lang.String displayProperty)
          Sets the display property name.
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
インタフェース com.extjs.gxt.ui.client.widget.form.PropertyEditor から継承されたメソッド
convertStringValue
 

コンストラクタ 詳細

ModelPropertyEditor

public ModelPropertyEditor()
Creates a new model property editor.


ModelPropertyEditor

public ModelPropertyEditor(java.lang.String displayProperty)
Creates a new model property editor.

パラメータ:
displayProperty - the display property
メソッド 詳細

getDisplayProperty

public java.lang.String getDisplayProperty()
Returns the display property.

戻り値:
the display property name

getStringValue

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

Specified by:
getStringValue in interface PropertyEditor<Data extends ModelData>
パラメータ:
value - the typed value
戻り値:
the value as a string

setDisplayProperty

public void setDisplayProperty(java.lang.String displayProperty)
Sets the display property name.

パラメータ:
displayProperty - the display property name