|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectui.table.SelectionListener
public class SelectionListener
The SelectionListener class provides a listener to a given JTable that responds to changes in the rows that are selected in a SongTable object.
| Constructor Summary | |
|---|---|
SelectionListener(javax.swing.JTable table,
RowCountLabel label)
Creates a new SelectionListener object with the given JTable object and the RowCountLabel object to report the number of selected rows to. |
|
| Method Summary | |
|---|---|
void |
valueChanged(javax.swing.event.ListSelectionEvent e)
The method called when the SelectionListener object is called. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SelectionListener(javax.swing.JTable table,
RowCountLabel label)
table - The table object to listen to the number of selected rows.label - The RowCountLabel object to report the number of selected rows to.| Method Detail |
|---|
public void valueChanged(javax.swing.event.ListSelectionEvent e)
valueChanged in interface javax.swing.event.ListSelectionListenere - The even that calls this method.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||