| java.lang.Object org.zkoss.zul.event.ListDataEvent
ListDataEvent | public class ListDataEvent (Code) | | Defines an event that encapsulates changes to a list.
author: tomyeh |
Field Summary | |
final public static int | CONTENTS_CHANGED Identifies one or more changes in the lists contents. | final public static int | INTERVAL_ADDED Identifies the addition of one or more contiguous items to the list. | final public static int | INTERVAL_REMOVED Identifies the removal of one or more contiguous items from the list. |
Method Summary | |
public int | getIndex0() Returns the lower index of the change range. | public int | getIndex1() Returns the upper index of the change range. | public ListModel | getModel() Returns the list model that fires this event. | public int | getType() Returns the event type. | public String | toString() |
CONTENTS_CHANGED | final public static int CONTENTS_CHANGED(Code) | | Identifies one or more changes in the lists contents.
|
INTERVAL_ADDED | final public static int INTERVAL_ADDED(Code) | | Identifies the addition of one or more contiguous items to the list.
|
INTERVAL_REMOVED | final public static int INTERVAL_REMOVED(Code) | | Identifies the removal of one or more contiguous items from the list.
|
getIndex0 | public int getIndex0()(Code) | | Returns the lower index of the change range.
For a single element, this value is the same as that returned by
ListDataEvent.getIndex1 .
|
getIndex1 | public int getIndex1()(Code) | | Returns the upper index of the change range.
For a single element, this value is the same as that returned by
ListDataEvent.getIndex0 .
|
getModel | public ListModel getModel()(Code) | | Returns the list model that fires this event.
|
|
|