|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jgoodies.binding.binder.ObjectBinderImpl
public class ObjectBinderImpl
A binder that can build action bindings from Actions, data bindings from ValueModels, and list bindings from ListModel/ListSelectionModel or a SelectionInList.
| Constructor Summary | |
|---|---|
ObjectBinderImpl()
|
|
| Method Summary | |
|---|---|
ActionBindingBuilder |
bind(Action action)
Creates and returns a binding builder that manages an Action that can be operated on and that can be bound to a button or text field. |
ListBindingBuilder |
bind(ListModel listModel,
ListSelectionModel listSelectionModel)
Creates and returns a binding builder that manages a ListModel plus ListSelectionModel that can be bound to a list or table. |
SelectionInListBindingBuilder |
bind(SelectionInList<?> selectionInList)
Creates and returns a binding builder that manages a SelectionInList that can be bound to a list, table, or combo box. |
ValueModelBindingBuilder |
bind(ValueModel valueModel)
Creates and returns a binding builder that manages a ValueModel that can be operated on and that can be bound to a component. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ObjectBinderImpl()
| Method Detail |
|---|
public ActionBindingBuilder bind(Action action)
ObjectBinderExample: binder.bind(editAction).to(editButton);
bind in interface ObjectBinderaction - the Action to be bound
public ValueModelBindingBuilder bind(ValueModel valueModel)
ObjectBinderExample: binder.bind(aValueModel).to(aTextField);
bind in interface ObjectBindervalueModel - the ValueModel to manage
public ListBindingBuilder bind(ListModel listModel,
ListSelectionModel listSelectionModel)
ObjectBinderExample: binder.bind(albumListModel, albumListSelectionModel).to(albumTable);
bind in interface ObjectBinderlistModel - the data modellistSelectionModel - the selection model
public SelectionInListBindingBuilder bind(SelectionInList<?> selectionInList)
ObjectBinderExample: binder.bind(albumSelectionInList).to(albumTable);
bind in interface ObjectBinderselectionInList - provides both the data and selection
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||