charvax.swing.event
Class ListSelectionEvent
java.util.EventObjectcharvax.swing.event.ListSelectionEvent
public class ListSelectionEvent
extends java.util.EventObject
An event that characterizes a change in the current selection.
ListEventListeners will generally query the source of the event directly to
find out the status of each potentially changed row.
ListSelectionEvent(Object source_, int firstIndex_, int lastIndex_, boolean isAdjusting_)- Construct a ListSelectionEvent.
|
ListSelectionEvent
public ListSelectionEvent(Object source_,
int firstIndex_,
int lastIndex_,
boolean isAdjusting_) Construct a ListSelectionEvent.
source_ - the object that initiated this event (usually a
DefaultListSelectionModel).firstIndex_ - the index of the first row whose selection status has
changed.lastIndex_ - the index of the last row whose selection status has
changed.isAdjusting_ - not used in CHARVA.
getFirstIndex
public int getFirstIndex()
Get the index of the first row that changed
getLastIndex
public int getLastIndex()
Get the index of the last row that changed