| Package | org.aswing.event |
| Class | public class ListDataEvent |
| Inheritance | ListDataEvent ModelEvent |
See also
| Method | Defined by | ||
|---|---|---|---|
|
ListDataEvent(source:Object, index0:int, index1:int, removedItems:Array)
Constructs a ListDataEvent object.
| ListDataEvent | ||
|
getIndex0():int
Returns the lower index of the range.
| ListDataEvent | ||
|
getIndex1():int
Returns the upper index of the range.
| ListDataEvent | ||
|
getRemovedItems():Array
Returns the removed items, it is null or empty array when this is not a removed event.
| ListDataEvent | ||
![]() |
getSource():Object
| ModelEvent | |
| ListDataEvent | () | constructor |
public function ListDataEvent(source:Object, index0:int, index1:int, removedItems:Array)Constructs a ListDataEvent object.
Parameterssource:Object — the source Object (typically this)
|
|
index0:int — an int specifying the bottom of a range
|
|
index1:int — an int specifying the top of a range
|
|
removedItems:Array — (optional) the items has been removed.
|
| getIndex0 | () | method |
public function getIndex0():intReturns the lower index of the range. For a single element, this value is the same as that returned by {
Returnsint — an int representing the lower index value
|
| getIndex1 | () | method |
public function getIndex1():intReturns the upper index of the range. For a single element, this value is the same as that returned by {
Returnsint — an int representing the upper index value
|
| getRemovedItems | () | method |
public function getRemovedItems():ArrayReturns the removed items, it is null or empty array when this is not a removed event.
ReturnsArray — a array that contains the removed items
|