Package | Description |
---|---|
com.jgoodies.binding.adapter |
Contains adapters that convert
ValueModel s
to Swing model interfaces. |
Modifier and Type | Method and Description |
---|---|
static <E> void |
Bindings.bind(javax.swing.JComboBox comboBox,
SelectionInList<E> selectionInList)
Binds a non-editable JComboBox to the given SelectionInList using
the SelectionInList's ListModel as list data provider and the
SelectionInList's selection index holder for the combo box model's
selected item.
|
static <E> void |
Bindings.bind(javax.swing.JList list,
SelectionInList<E> selectionInList)
Binds a JList to the given SelectionInList using the SelectionInList's
ListModel as list data provider and the SelectionInList's selection
index holder for the selection model.
|
static <E> javax.swing.JComboBox |
BasicComponentFactory.createComboBox(SelectionInList<E> selectionInList)
Creates and returns a non-editable JComboBox that is bound
to the given SelectionInList.
|
static <E> javax.swing.JComboBox |
BasicComponentFactory.createComboBox(SelectionInList<E> selectionInList,
javax.swing.ListCellRenderer cellRenderer)
Creates and returns a non-editable JComboBox that is bound
to the given SelectionInList using the given cell renderer.
|
static <E> javax.swing.JList |
BasicComponentFactory.createList(SelectionInList<E> selectionInList)
Creates and returns a JList for the given SelectionInList.
|
static <E> javax.swing.JList |
BasicComponentFactory.createList(SelectionInList<E> selectionInList,
javax.swing.ListCellRenderer cellRenderer)
Creates and returns a JList for the given SelectionInList using
the specified optional ListCellRenderer to render cells.
|
Constructor and Description |
---|
ComboBoxAdapter(SelectionInList<E> selectionInList)
Constructs a ComboBoxAdapter for the given SelectionInList.
|
Copyright © 2002-2010 JGoodies Karsten Lentzsch. All Rights Reserved.