|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.extjs.gxt.ui.client.event.BaseObservable
com.extjs.gxt.ui.client.binding.Bindings
com.extjs.gxt.ui.client.binding.FormBinding
public class FormBinding
A Bindings subclass for forms.
| Constructor Summary | |
|---|---|
FormBinding(FormPanel panel)
Creates a new form binding instance. |
|
FormBinding(FormPanel panel,
boolean autoBind)
Creates a new form binding instance. |
|
| Method Summary | |
|---|---|
void |
autoBind()
Searches the form's fields, and adds a binding to and field without a binding. |
void |
bind(ModelData model)
Binds the model instance. |
Store |
getStore()
Returns the form binding's store. |
void |
setStore(Store store)
Sets the form binding's store. |
void |
unbind()
Unbinds the current model. |
| Methods inherited from class com.extjs.gxt.ui.client.binding.Bindings |
|---|
addFieldBinding, clear, getBinding, getBindings, getModel, removeFieldBinding |
| Methods inherited from class com.extjs.gxt.ui.client.event.BaseObservable |
|---|
addListener, fireEvent, fireEvent, getFiresEvents, getListeners, hasActiveEvent, hasListeners, hasListeners, removeAllListeners, removeListener, setFiresEvents |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FormBinding(FormPanel panel)
panel - the form panel
public FormBinding(FormPanel panel,
boolean autoBind)
panel - the form panelautoBind - true to automatically add field bindings based on the forms
field names| Method Detail |
|---|
public void autoBind()
public void bind(ModelData model)
Bindings
bind in class Bindingsmodel - the modelpublic Store getStore()
public void setStore(Store store)
store - the storepublic void unbind()
Bindings
unbind in class Bindings
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||