|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Views that use an ActiveBoundModel
delegate must implement this
interface so that ActiveBoundModel can change the state of the View through
this generic interface.
ActiveBoundModel
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 |
public java.lang.Object getViewValue() throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
- if conversion from the UI
representation of the property to the typed value fails.public void updateFromProperty(java.lang.Object inValue, boolean inReadOnly)
inValue
- The new value of the property in the bound modelinReadOnly
- The new read-only state of the propertypublic void validationFailed(java.lang.Exception inException)
inException
- The exception causing the validation failurepublic void validationSuccess()
validationFailed(java.lang.Exception)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |