|
Préférences
Moteurs de recherche
|
|||||||||||||||||||||||||||||
| JavaTM 2 Platform Std. Ed. v1.4.2
javax.swing.event
|
||||||||||||||||||||||||||||||
| Field Summary | |
static int |
CONTENTS_CHANGED
Identifies one or more changes in the lists contents. |
static int |
INTERVAL_ADDED
Identifies the addition of one or more contiguous items to the list |
static int |
INTERVAL_REMOVED
Identifies the removal of one or more contiguous items from the list |
| Fields inherited from class java.util.EventObject |
source |
| Constructor Summary | |
ListDataEvent(Object source,
int type,
int index0,
int index1)
Constructs a ListDataEvent object. |
|
| Method Summary | |
int |
getIndex0()
Returns the lower index of the range. |
int |
getIndex1()
Returns the upper index of the range. |
int |
getType()
Returns the event type. |
String |
toString()
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
| 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_REMOVEDindex0 - an int specifying the bottom of a rangeindex1 - an int specifying the top of a range| Method Detail |
public int getType()
public int getIndex0()
getIndex1().
public int getIndex1()
getIndex0().
public String toString()
null.
toString in class EventObject