|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Moves state in and out of a component.
Method Summary | |
void |
getProperties(Memento state,
Component component)
Add the state of a component to a Memento object. |
java.lang.String[] |
marshall(Component component,
java.lang.String name,
java.lang.Object value)
Converts an value from a model to a string representation. |
void |
setProperty(Component component,
java.lang.String name,
java.lang.String[] values)
Set a property on a component. |
java.lang.Object |
unmarshall(Component component,
java.lang.String name,
java.lang.String[] values)
Converts an array of strings to an appropriate object for a components model. |
Method Detail |
public void getProperties(Memento state, Component component)
public void setProperty(Component component, java.lang.String name, java.lang.String[] values)
public java.lang.Object unmarshall(Component component, java.lang.String name, java.lang.String[] values)
component
- the component the values are being converted forname
- the name of the field on the component's model that the values are forvalues
- the array of strings to convertpublic java.lang.String[] marshall(Component component, java.lang.String name, java.lang.Object value)
component
- the component the value is being converted forname
- the name of the field on the component's model that the value is fromvalue
- the value to convert
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |