|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.extjs.gxt.ui.client.widget.form.ModelPropertyEditor<Data>
Data - the model typepublic abstract class ModelPropertyEditor<Data extends ModelData>
PropertyEditor for model instances.
| Field Summary | |
|---|---|
protected java.lang.String |
displayProperty
|
| Fields inherited from interface com.extjs.gxt.ui.client.widget.form.PropertyEditor |
|---|
DEFAULT |
| Constructor Summary | |
|---|---|
ModelPropertyEditor()
Creates a new model property editor. |
|
ModelPropertyEditor(java.lang.String displayProperty)
Creates a new model property editor. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.extjs.gxt.ui.client.widget.form.PropertyEditor |
|---|
convertStringValue |
| Field Detail |
|---|
protected java.lang.String displayProperty
| Constructor Detail |
|---|
public ModelPropertyEditor()
public ModelPropertyEditor(java.lang.String displayProperty)
displayProperty - the display property| Method Detail |
|---|
public java.lang.String getDisplayProperty()
public java.lang.String getStringValue(Data value)
PropertyEditor
getStringValue in interface PropertyEditor<Data extends ModelData>value - the typed value
public void setDisplayProperty(java.lang.String displayProperty)
displayProperty - the display property name
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||