public interface FormProxyObject
Note: To avoid the method naming conflict with the origin object, we declare those long method names, getOriginObject, resetFormOrigin, submitToOrigin, and isDirtyForm
Modifier and Type | Method and Description |
---|---|
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.
|
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)
Copyright © 2005-2011 Potix Corporation. All Rights Reserved.