public final class BendEventArgs extends ItemEventArgs<IBend>
ItemEventArgs class that is bound to the IBend type and carries additional
owner and index information.
Since for some events (BendRemoved) it is
unclear what Owner the bend was owned by before the event, this event can be used to carry
exactly that information.
EMPTY| Constructor and Description |
|---|
BendEventArgs(IBend bend,
IEdge owner,
int index)
Initializes a new instance of the
BendEventArgs class. |
| Modifier and Type | Method and Description |
|---|---|
int |
getIndex()
Gets the former index of the bend in the
Bends list. |
IEdge |
getOwner()
Gets the owner of the bend that owned the bend before the event happened.
|
getItempublic BendEventArgs(IBend bend, IEdge owner, int index)
BendEventArgs class.