public class KListModelEvent extends EventObject
KListModelListener
,
Serialized FormModifier and Type | Field and Description |
---|---|
private int |
endIndex |
private int |
startIndex |
source
Constructor and Description |
---|
KListModelEvent(Object source)
Construct a new
KListModelEvent . |
KListModelEvent(Object source,
int startIndex,
int endIndex)
Construct a new
KListModelEvent . |
Modifier and Type | Method and Description |
---|---|
int |
getEndIndex()
Get the end index for this event.
|
int |
getIndex()
Get the offset (index) for this event.
|
int |
getStartIndex()
Get the start index for this event.
|
getSource, toString
private int startIndex
private int endIndex
public KListModelEvent(Object source, int startIndex, int endIndex)
KListModelEvent
.source
- The source of the event.startIndex
- The offset of the first item in a range of items that is
affected by this event.endIndex
- The offset of the last item in a range of items that is
affected by this event.public KListModelEvent(Object source)
KListModelEvent
. The index is set to
0.source
- The source of the event.public int getIndex()
public int getStartIndex()
public int getEndIndex()
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses