public final class LabelEventArgs extends ItemEventArgs<ILabel>
ItemEventArgs
class that is bound to the ILabel
type and carries
additional owner
information.
Since for some events (LabelRemoved
) it is
unclear what Owner
the label was owned by before the event, this event can be used to carry
exactly that information.
EMPTY
Constructor and Description |
---|
LabelEventArgs(ILabel label,
ILabelOwner owner)
Initializes a new instance of the
LabelEventArgs class. |
Modifier and Type | Method and Description |
---|---|
ILabelOwner |
getOwner()
Gets the owner of the label that owned the label before the event happened.
|
getItem
public LabelEventArgs(ILabel label, ILabelOwner owner)
LabelEventArgs
class.label
- The label to assign to the Item
property.owner
- The previous owner of the label.public final ILabelOwner getOwner()