|
|||||||||
| Home >> All >> org >> scopemvc >> view >> [ util overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.scopemvc.view.util
Interface ModelBindable

- public interface ModelBindable
Views that use an ActiveBoundModel delegate must implement this interface so that ActiveBoundModel can change the state of the View through this generic interface.
- Version:
- $Revision: 1.2 $ $Date: 2002/01/12 09:35:40 $
| Method Summary | |
java.lang.Object |
getViewValue()
Get the current value (what would be set as a property of the bound model object) being presented on the View. |
void |
updateFromProperty(java.lang.Object inValue,
boolean inReadOnly)
Use the passed property value and read-only state to update the View. |
void |
validationFailed(java.lang.Exception inException)
Validation failed while getting a value from View into the bound model object. |
void |
validationSuccess()
Clear previous validation failure. |
| Method Detail |
getViewValue
public java.lang.Object getViewValue() throws java.lang.IllegalArgumentException
- Get the current value (what would be set
as a property of the bound model object)
being presented on the View.
updateFromProperty
public void updateFromProperty(java.lang.Object inValue, boolean inReadOnly)
- Use the passed property value and read-only state to update the View.
validationFailed
public void validationFailed(java.lang.Exception inException)
- Validation failed while getting a value from View into
the bound model object. Use this to indicate to the user that the
value being edited is invalid.
validationSuccess
public void validationSuccess()
- Clear previous validation failure.
|
|||||||||
| Home >> All >> org >> scopemvc >> view >> [ util overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC