class org.aswing.event.ListDataEvent extends ModelEvent
The event for list model. @see org.aswing.JList @see org.aswing.ListModel @see org.aswing.event.ListDataListener @author paling
Instance Fields
Show inherited public instance fields | Hide inherited public instance fields
|
function new(source:Dynamic, index0:Int, index1:Int, removedItems:Array<Dynamic>): Void
Constructs a ListDataEvent object.
source | the source Object (typically |
index0 | an int specifying the bottom of a range |
index1 | an int specifying the top of a range |
removedItems | (optional) the items has been removed. |
Returns the lower index of the range. For a single element, this value is the same as that returned by {@link #getIndex1}.
returns | an int representing the lower index value |
Returns the upper index of the range. For a single element, this value is the same as that returned by {@link #getIndex0}.
returns | an int representing the upper index value |
function getRemovedItems(): Array<Dynamic>
Returns the removed items, it is null or empty array when this is not a removed event.
returns | a array that contains the removed items |