LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.view.win.swing.table
Class LyJTableSelectionListener

java.lang.Object
  extended by 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
           
 
Constructor Summary
LyJTableSelectionListener(LySwingTable swingTable)
          Constructor.
 
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
 

Field Detail

__VERSION

public static final java.lang.String __VERSION
See Also:
Constant Field Values
Constructor Detail

LyJTableSelectionListener

public LyJTableSelectionListener(LySwingTable swingTable)
Constructor. Initializes the swing table and set the force notification to false.

Parameters:
swingTable - the manager of the table
Method Detail

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

(c) January 2013 - W4 S.A.

Website: W4 S.A., contact us: support@w4global.com