public class ItemListEvent
extends java.util.EventObject
ItemListView.| Constructor and Description |
|---|
ItemListEvent(java.lang.Object source,
DiagramItem item,
int index)
Initializes a new instance of the
ItemListEvent class. |
| Modifier and Type | Method and Description |
|---|---|
int |
getIndex()
Gets the index of the item.
|
DiagramItem |
getItem()
Gets the item that the event is related to.
|
public ItemListEvent(java.lang.Object source,
DiagramItem item,
int index)
ItemListEvent class.source - The ItemListView that raised the event.item - The DiagramItem that the event is related to.index - The index of the item.public DiagramItem getItem()
DiagramItem instance.public int getIndex()