|
|||||||||||
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.ListDataEvent
Safe:
Field Summary | |
static int |
CONTENTS_CHANGED
Enabled: Identifies one or more changes in the lists contents. |
private int |
index0
|
private int |
index1
|
static int |
INTERVAL_ADDED
Enabled: Identifies the addition of one or more contiguous items to the list |
static int |
INTERVAL_REMOVED
Enabled: Identifies the removal of one or more contiguous items from the list |
private int |
type
|
Fields inherited from class java.util.EventObject |
source |
Constructor Summary | |
ListDataEvent(Object source,
int type,
int index0,
int index1)
Suppressed: Constructs a ListDataEvent object. |
Method Summary | |
int |
getIndex0()
Enabled: Returns the lower index of the range. |
int |
getIndex1()
Suppressed: Returns the upper index of the range. |
int |
getType()
Enabled: Returns the event type. |
String |
toString()
Suppressed: Returns a string representation of this ListDataEvent. |
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 |
public static final int CONTENTS_CHANGED
public static final int INTERVAL_ADDED
public static final int INTERVAL_REMOVED
private int type
private int index0
private int index1
Constructor Detail |
public ListDataEvent(Object source, int type, int index0, int index1)
source
- the source Object (typically this
)type
- an int specifying CONTENTS_CHANGED
,
INTERVAL_ADDED
, or INTERVAL_REMOVED
index0
- an int specifying the bottom of a rangeindex1
- an int specifying the top of a rangeMethod Detail |
public int getType()
public int getIndex0()
getIndex1()
.
public int getIndex1()
getIndex0()
.
public String toString()
null
.
toString
in class EventObject
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |