jve.generated
Interface ITableBinder.SelectionChangedEvent

All Known Implementing Classes:
SwingTableBinder.SwingTableSelectionChangedEvent
Enclosing interface:
ITableBinder

public static interface ITableBinder.SelectionChangedEvent

Notice of a change of selection in the ITableBinder's visual table. The new selected object can be retrieved from the source's getObject() method.


Method Summary
 int getSelectionIndex()
          This returns the index of the selected row in the visual table.
 java.lang.Object getSource()
          Get the source ITableBinder (may cast).
 

Method Detail

getSource

public java.lang.Object getSource()
Get the source ITableBinder (may cast).

Returns:
the source ITableBinder

getSelectionIndex

public int getSelectionIndex()
This returns the index of the selected row in the visual table.

Returns:
the index, or -1 if no selection.