|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.taursys.swing.ListSelectionBinder
ListSelectionBinder synchronizes the position between a ListSelectionModel and a ListValueHolder. It is typically used by Tables and Lists.
Constructor Summary | |
ListSelectionBinder()
Constructs a new ListSelectionBinder |
Method Summary | |
javax.swing.ListSelectionModel |
getListSelectionModel()
Get the ListSelectionModel to synchronize positions with. |
ListValueHolder |
getListValueHolder()
Get the ListValueHolder to synchronize positions with. |
void |
setListSelectionModel(javax.swing.ListSelectionModel newListSelectionModel)
Set the ListSelectionModel to synchronize positions with. |
void |
setListValueHolder(ListValueHolder newListValueHolder)
Set the ListValueHolder to synchronize positions with. |
void |
valueChanged(javax.swing.event.ListSelectionEvent e)
Notification method to sync positions between ListValueHolder and ListSelectionModel. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ListSelectionBinder()
Method Detail |
public ListValueHolder getListValueHolder()
public void setListValueHolder(ListValueHolder newListValueHolder)
newListValueHolder
- the ListValueHolder to synchronize positions with.public void setListSelectionModel(javax.swing.ListSelectionModel newListSelectionModel)
newListSelectionModel
- the ListSelectionModel to synchronize positions with.public javax.swing.ListSelectionModel getListSelectionModel()
public void valueChanged(javax.swing.event.ListSelectionEvent e)
valueChanged
in interface javax.swing.event.ListSelectionListener
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |