|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.EventObject
javax.swing.event.ListSelectionEvent
public class ListSelectionEvent
An event that indicates a change to a list selection, including the source
of the change (a ListSelectionModel) and the range of items in the
list that have potentially changed their selection status.
| Field Summary |
|---|
| Fields inherited from class java.util.EventObject |
|---|
source |
| 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. |
| Methods inherited from class java.util.EventObject |
|---|
getSource |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ListSelectionEvent(Object source,
int firstIndex,
int lastIndex,
boolean isAdjusting)
ListSelectionEvent.
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.
IllegalArgumentException - if source is
null.| Method Detail |
|---|
public int getFirstIndex()
public int getLastIndex()
public boolean getValueIsAdjusting()
public String toString()
toString in class EventObjectObject.getClass(),
Object.hashCode(),
Class.getName(),
Integer.toHexString(int)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||