|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PropertyBinder
Bind a component to a model property
| Method Summary | |
|---|---|
void |
bind(Object component,
String propertyName,
Object model)
Bind changes on component to a model property |
void |
bind(Object component,
String propertyName,
Object model,
boolean readOnly)
Bind changes on component to a model property |
Object |
getComponent()
|
String |
getPropertyName()
return property name |
| Methods inherited from interface info.joseluismartin.gui.Binder |
|---|
getBindingResult, refresh, update |
| Methods inherited from interface info.joseluismartin.gui.ModelHolder |
|---|
getModel, setModel |
| Method Detail |
|---|
void bind(Object component,
String propertyName,
Object model)
component - component to bindpropertyName - the property name to bindmodel - model to bind.
void bind(Object component,
String propertyName,
Object model,
boolean readOnly)
component - component to bindpropertyName - the property name to bindmodel - model to bind.readOnly - if true, the binding is readOnly, ie from model to control.Object getComponent()
String getPropertyName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||