public final class StripeEventArgs extends ItemEventArgs<IStripe>
ItemEventArgs
class that is bound to the IStripe
type and carries
additional owner
information.
Since for some events (StripeRemoved
) it
is unclear what parent
the stripe was owned by before the event, this event can be
used to carry exactly that information.
EMPTY
Constructor and Description |
---|
StripeEventArgs(IStripe stripe,
IStripe parentStripe,
ITable table)
Initializes a new instance of the
StripeEventArgs class. |
Modifier and Type | Method and Description |
---|---|
IStripe |
getParentStripe()
Gets the parent of the stripe that owned the stripe before the event happened.
|
ITable |
getTable()
Gets the table that owned the stripe before the event happened.
|
getItem
public StripeEventArgs(IStripe stripe, IStripe parentStripe, ITable table)
StripeEventArgs
class.stripe
- The stripe to assign to the Item
property.parentStripe
- The previous parent of the stripe.table
- The table the stripe belonged to previously.