This commit is contained in:
Keith Donald 2009-07-19 06:33:43 +00:00
parent 09c5d0eb97
commit 0993e9cfb9
1 changed files with 5 additions and 5 deletions

View File

@ -45,7 +45,7 @@ public interface Binding {
* Sets to {@link BindingStatus#DIRTY} if succeeds.
* Sets to {@link BindingStatus#INVALID_SOURCE_VALUE} if fails.
* @param sourceValue
* @throws IllegalStateException if read only
* @throws IllegalStateException if {@link #isReadOnly()}
*/
void applySourceValue(Object sourceValue);
@ -70,9 +70,9 @@ public interface Binding {
/**
* Commit the buffered value to the model.
* Sets to {@link BindingStatus#CLEAN} if succeeds.
* Sets to {@link BindingStatus#COMMITTED} if succeeds.
* Sets to {@link BindingStatus#COMMIT_FAILURE} if fails.
* @throws IllegalStateException if not {@link BindingStatus#DIRTY} or read-only
* @throws IllegalStateException if not {@link BindingStatus#DIRTY} or {@link #isReadOnly()}
*/
void commit();
@ -128,7 +128,7 @@ public interface Binding {
public interface Model {
/**
* Read the raw model value.
* The model value.
*/
Object getValue();
@ -139,7 +139,7 @@ public interface Binding {
/**
* Set the model value.
* @throws IllegalStateException if this binding is read-only
* @throws IllegalStateException if this binding is read only
*/
void setValue(Object value);
}