javax.swing.event
public class ListSelectionEvent extends EventObject
| Constructor Summary | |
|---|---|
| ListSelectionEvent(Object source, int firstIndex, int lastIndex, boolean isAdjusting)
Creates a new ListSelectionEvent.
| |
| Method Summary | |
|---|---|
| int | getFirstIndex()
Returns the first index.
|
| int | getLastIndex()
Returns the last index.
|
| boolean | getValueIsAdjusting()
Returns the flag that indicates that this event is one in a series of
events updating a selection.
|
| String | toString()
Returns a string representation of the event, typically used for debugging
purposes.
|
ListSelectionEvent.
Parameters: source the event source (null not permitted). firstIndex the first index. lastIndex the last index. isAdjusting a flag indicating that this event is one in a series
of events updating a selection.
Throws: IllegalArgumentException if source is
null.
Returns: The first index.
Returns: The last index.
Returns: A boolean.
Returns: A string representation of the event.