public class ListDataEvent
extends java.util.EventObject
Modifier and Type | Field and Description |
---|---|
static int |
CONTENTS_CHANGED |
static int |
INTERVAL_ADDED |
static int |
INTERVAL_REMOVED |
Constructor and Description |
---|
ListDataEvent(java.lang.Object source_,
int type_,
int firstIndex_,
int lastIndex_)
Construct a ListDataEvent.
|
public static final int CONTENTS_CHANGED
public static final int INTERVAL_ADDED
public static final int INTERVAL_REMOVED
public ListDataEvent(java.lang.Object source_, int type_, int firstIndex_, int lastIndex_)
source_
- the object that initiated this event (usually a
DefaultListSelectionModel).type_
- an int specifying the type of event; must be
CONTENTS_CHANGED (INTERVAL_ADDED or INTERVAL_REMOVED are unused
in CHARVA).firstIndex_
- an index specifying the bottom of a range.lastIndex_
- an index specifying the top of a range.