|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FormProxyObject
The interface implemented by proxy classes.
Note: To avoid the method naming conflict with the origin object, we declare those long method names, getOriginObject, resetFormOrigin, submitToOrigin, and isDirtyForm
Method Summary | |
---|---|
void |
addFormProxyObjectListener(FormProxyObjectListener l)
Add listener |
java.lang.Object |
getOriginObject()
Returns the origin object. |
boolean |
isFormDirty()
Returns whether the form proxy object is dirty or not, including all of its attributes. |
void |
resetFromOrigin()
Resets all of the changes of this form from the origin object. |
void |
setFormOwner(java.lang.Object owner,
FormBinding binding)
Sets the owner of this form with its binding. |
void |
submitToOrigin(BindContext ctx)
Saves all of the changes of this form to the origin object. |
Method Detail |
---|
java.lang.Object getOriginObject()
void resetFromOrigin()
void submitToOrigin(BindContext ctx)
ctx
- boolean isFormDirty()
void setFormOwner(java.lang.Object owner, FormBinding binding)
owner
- the object associated with this form.void addFormProxyObjectListener(FormProxyObjectListener l)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |