|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IBinder
EXPERIMENTAL - DO NOT USE. A thingy which handles binding a control to a model/property, data move event or IReadOnlyModel/property. FIXME Question - should this be a IModelBinding or should this have a IModelBinding?
Method Summary | ||
---|---|---|
boolean |
isBound()
If this object is actually bound to something return true. |
|
|
to(java.lang.Class<T> theClass,
IReadOnlyModel<T> model,
java.lang.String property)
Create a binding between the associated control, the specified model and the property specified. |
|
void |
to(IBindingListener<?> listener)
Bind the control to a listener. |
|
|
to(IReadOnlyModel<T> model,
PropertyMetaModel<?> pmm)
Create a binding between the specified model and the property whose metadata is passed in. |
|
void |
to(java.lang.Object instance,
PropertyMetaModel<?> pmm)
Create a binding to the associated instance's property whose metadata is passed. |
|
void |
to(java.lang.Object instance,
java.lang.String property)
Create a binding to the associated control and the specified object instance and the named property of that instance. |
Methods inherited from interface to.etc.domui.component.form.IModelBinding |
---|
moveControlToModel, moveModelToControl, setControlsEnabled |
Method Detail |
---|
void to(@Nonnull java.lang.Object instance, @Nonnull java.lang.String property)
instance
- property
- void to(@Nonnull java.lang.Object instance, @Nonnull PropertyMetaModel<?> pmm)
instance
- pmm
- <T> void to(@Nonnull java.lang.Class<T> theClass, @Nonnull IReadOnlyModel<T> model, @Nonnull java.lang.String property)
T
- theClass
- model
- property
- <T> void to(@Nonnull IReadOnlyModel<T> model, @Nonnull PropertyMetaModel<?> pmm)
T
- model
- The model to obtain an instance frompmm
- The propertymeta for a property on that instance.void to(@Nonnull IBindingListener<?> listener)
listener
- boolean isBound()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |