leon.view.win.swing.table
Class LyJTableSelectionListener
java.lang.Object
leon.view.win.swing.table.LyJTableSelectionListener
- All Implemented Interfaces:
- java.util.EventListener, javax.swing.event.ListSelectionListener
public class LyJTableSelectionListener
- extends java.lang.Object
- implements javax.swing.event.ListSelectionListener
This class manages the selection events from the view to the model.
Field Summary |
static java.lang.String |
__VERSION
|
Method Summary |
java.util.Vector<java.lang.String> |
getSelectedIds()
Gets the selected rows ids. |
void |
valueChanged(javax.swing.event.ListSelectionEvent e)
Called whenever the value of the selection changes. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
__VERSION
public static final java.lang.String __VERSION
- See Also:
- Constant Field Values
LyJTableSelectionListener
public LyJTableSelectionListener(LySwingTable swingTable)
- Constructor. Initializes the swing table and set the force notification to false.
- Parameters:
swingTable
- the manager of the table
valueChanged
public void valueChanged(javax.swing.event.ListSelectionEvent e)
- Called whenever the value of the selection changes.
- Specified by:
valueChanged
in interface javax.swing.event.ListSelectionListener
- Parameters:
e
- the event that characterizes the change.
getSelectedIds
public java.util.Vector<java.lang.String> getSelectedIds()
- Gets the selected rows ids.
- Returns:
- the ids of the selected rows
Website: W4 S.A., contact us: support@w4global.com