|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ListBindingBuilder
Describes a binding builder that holds a ListModel and ListSelectionModel that can be bound to tables and lists.
Examples:
binder.bind(albumListModel, albumListSelectionModel) .to(albumTable); binder.bind(contactListModel, contactListSelectionModel).to(contactList);
| Method Summary | |
|---|---|
void |
to(JList list)
Sets this builder's ListModel and ListSelectionModel in the given list. |
void |
to(JTable table)
Sets this builder's ListModel and ListSelectionModel in the given table. |
| Method Detail |
|---|
void to(JList list)
Example:
binder.bind(contactListModel, contactListSelectionModel).to(contactList);
list - the component to set the data and selection model in
NullPointerException - if table is nullvoid to(JTable table)
Example:
binder.bind(contactListModel, contactListSelectionModel).to(contactTable);
table - the component to set the data and selection model in
NullPointerException - if table is null
IllegalArgumentException - if table's TableModel does not
implement the ListModelBindable interface
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||