| java.lang.Object java.util.EventObject nextapp.echo2.app.event.ListDataEvent
Field Summary | |
final public static int | CONTENTS_CHANGED An event type indicating items in the list were changed. | final public static int | INTERVAL_ADDED An event type indicating items were added to the list. | final public static int | INTERVAL_REMOVED An event type indicating items were removed from the list. |
Method Summary | |
public int | getIndex0() Returns the first index of the interval affected by the list change. | public int | getIndex1() Returns the last index of the interval affected by the list change. | public int | getType() |
CONTENTS_CHANGED | final public static int CONTENTS_CHANGED(Code) | | An event type indicating items in the list were changed.
|
INTERVAL_ADDED | final public static int INTERVAL_ADDED(Code) | | An event type indicating items were added to the list.
|
INTERVAL_REMOVED | final public static int INTERVAL_REMOVED(Code) | | An event type indicating items were removed from the list.
|
ListDataEvent | public ListDataEvent(Object source, int type, int index0, int index1)(Code) | | Creates a new ListDataEvent
Parameters: source - the object that generated the event Parameters: type - the type of event, one of the following values:- CONTENTS_CHANGED - Indicates a change was made to one or more items in the list.
- INTERVAL_ADDED - Indicates one or more items were added tothe list.
- INTERVAL_REMOVED - Indicates one or more items were removedfrom the list.
Parameters: index0 - the first index of the interval affected by the list change Parameters: index1 - the last index of the interval affected by the list change |
getIndex0 | public int getIndex0()(Code) | | Returns the first index of the interval affected by the list change.
the first index |
getIndex1 | public int getIndex1()(Code) | | Returns the last index of the interval affected by the list change.
the last index |
getType | public int getType()(Code) | | Returns the type of the event
the type of event, one of the following values:- CONTENTS_CHANGED - Indicates a change was made to one or moreitems in the list.
- INTERVAL_ADDED - Indicates one or more items were added tothe list.
- INTERVAL_REMOVED - Indicates one or more items were removedfrom the list.
|
|
|