public final class StyleBinding extends Object implements IBinding
| Modifier and Type | Method and Description |
|---|---|
UIMessage |
getBindError()
A style binding never has errors.
|
BindingValuePair<?,?> |
getBindingDifference()
A style binding never moves anything back to the model.
|
void |
moveModelToControl()
Update the style according to the model's value.
|
<T> void |
setModelValue(T value)
Put the specified value into the bound model property.
|
<T,P> StyleBinder |
to(T instance,
IValueAccessor<P> property) |
<T> StyleBinder |
to(T instance,
String property) |
@Nonnull public <T,P> StyleBinder to(@Nonnull T instance, @Nonnull IValueAccessor<P> property) throws Exception
Exception@Nonnull public <T> StyleBinder to(@Nonnull T instance, @Nonnull String property) throws Exception
Exceptionpublic void moveModelToControl()
throws Exception
moveModelToControl in interface IBindingException@Nullable public BindingValuePair<?,?> getBindingDifference() throws Exception
getBindingDifference in interface IBindingExceptionpublic <T> void setModelValue(T value)
IBindingsetModelValue in interface IBinding@Nullable public UIMessage getBindError()
getBindError in interface IBindingCopyright © 2017 etc.to. All rights reserved.