|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sencha.gxt.legacy.client.binding.Bindings
public class Bindings
Aggregates one to many field bindings.
FieldBinding| Nested Class Summary | |
|---|---|
static class |
Bindings.BindingEvent
|
| Constructor Summary | |
|---|---|
Bindings()
Creates a new bindings instance. |
|
| Method Summary | |
|---|---|
void |
addFieldBinding(FieldBinding binding)
Adds a field binding. |
void |
bind(ModelData model)
Binds the model instance. |
void |
clear()
Clears all fields by setting the value for each field to null. |
FieldBinding |
getBinding(Field<?> field)
Returns the field binding for the given field. |
Collection<FieldBinding> |
getBindings()
Returns all bindings. |
ModelData |
getModel()
Returns the currently bound model; |
void |
removeFieldBinding(FieldBinding binding)
Removes a field binding. |
void |
unbind()
Unbinds the current model. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Bindings()
| Method Detail |
|---|
public void addFieldBinding(FieldBinding binding)
binding - the binding instance to addpublic void bind(ModelData model)
model - the modelpublic void clear()
null.
public FieldBinding getBinding(Field<?> field)
field - the field
public Collection<FieldBinding> getBindings()
public ModelData getModel()
public void removeFieldBinding(FieldBinding binding)
binding - the binding instance to removepublic void unbind()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||