|
NextApp Echo2 v2.1.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.EventObject nextapp.echo2.app.event.ListDataEvent
public class ListDataEvent
An event describing an update to items in a list.
ListDataListener
,
Serialized FormField Summary | |
---|---|
static int |
CONTENTS_CHANGED
An event type indicating items in the list were changed. |
static int |
INTERVAL_ADDED
An event type indicating items were added to the list. |
static int |
INTERVAL_REMOVED
An event type indicating items were removed from the list. |
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
ListDataEvent(java.lang.Object source,
int type,
int index0,
int index1)
Creates a new ListDataEvent |
Method Summary | |
---|---|
int |
getIndex0()
Returns the first index of the interval affected by the list change. |
int |
getIndex1()
Returns the last index of the interval affected by the list change. |
int |
getType()
Returns the type of the event |
Methods inherited from class java.util.EventObject |
---|
getSource, toString |
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(java.lang.Object source, int type, int index0, int index1)
ListDataEvent
source
- the object that generated the eventtype
- the type of event, one of the following values:
index0
- the first index of the interval affected by the list changeindex1
- the last index of the interval affected by the list changeMethod Detail |
---|
public int getIndex0()
public int getIndex1()
public int getType()
|
NextApp Echo2 v2.1.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |