|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.EventObject | +--javax.swing.event.ListSelectionEvent
Safe:
Field Summary | |
private int |
firstIndex
|
private boolean |
isAdjusting
|
private int |
lastIndex
|
Fields inherited from class java.util.EventObject |
source |
Constructor Summary | |
ListSelectionEvent(Object source,
int firstIndex,
int lastIndex,
boolean isAdjusting)
Suppressed: Represents a change in selection status between firstIndex
and lastIndex inclusive
(firstIndex is less than or equal to
lastIndex ). |
Method Summary | |
int |
getFirstIndex()
Enabled: Returns the index of the first row whose selection may have changed. |
int |
getLastIndex()
Enabled: Returns the index of the last row whose selection may have changed. |
boolean |
getValueIsAdjusting()
Enabled: Returns true if this is one of multiple change events. |
String |
toString()
Suppressed: Returns a string that displays and identifies this object's properties. |
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 |
Field Detail |
private int firstIndex
private int lastIndex
private boolean isAdjusting
Constructor Detail |
public ListSelectionEvent(Object source, int firstIndex, int lastIndex, boolean isAdjusting)
firstIndex
and lastIndex
inclusive
(firstIndex is less than or equal to
lastIndex
). At least one of the rows within the range will
have changed, a good ListSelectionModel
implementation will
keep the range as small as possible.
firstIndex
- the first index that changedlastIndex
- the last index that changed, lastIndex >= firstIndexisAdjusting
- an indication that this is one of rapid a series of eventsMethod Detail |
public int getFirstIndex()
public int getLastIndex()
public boolean getValueIsAdjusting()
public String toString()
toString
in class EventObject
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |