|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ModelData
Primary interface for GXT model objects without support events. Models support a form of "introspection" as property names and values can be retrieved at runtime.
For models with event support seeModel.
For a default implementation see BaseModelData.
| Method Summary | ||
|---|---|---|
|
get(java.lang.String property)
Returns the named property from this model instance. |
|
java.util.Map<java.lang.String,java.lang.Object> |
getProperties()
Returns the model's properties and values as a map. |
|
java.util.Collection<java.lang.String> |
getPropertyNames()
Returns an collection of the model's property names. |
|
|
remove(java.lang.String property)
Removes the named property from this model instance. |
|
|
set(java.lang.String property,
X value)
Sets a property. |
|
| Method Detail |
|---|
<X> X get(java.lang.String property)
property - the property name
java.util.Map<java.lang.String,java.lang.Object> getProperties()
java.util.Collection<java.lang.String> getPropertyNames()
<X> X remove(java.lang.String property)
property - the property name
<X> X set(java.lang.String property,
X value)
property - the property namevalue - property value
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||