T
- the type about to be expandedpublic class BeforeExpandItemEvent<T> extends <any> implements CancellableEvent
Modifier and Type | Class and Description |
---|---|
static interface |
BeforeExpandItemEvent.BeforeExpandItemHandler<T>
Handler class for
BeforeCollapseEvent events. |
static interface |
BeforeExpandItemEvent.HasBeforeExpandItemHandlers<T>
A widget that implements this interface is a public source of
BeforeExpandItemEvent events. |
Constructor and Description |
---|
BeforeExpandItemEvent(T item) |
Modifier and Type | Method and Description |
---|---|
protected void |
dispatch(BeforeExpandItemEvent.BeforeExpandItemHandler<T> handler) |
<any> |
getAssociatedType() |
T |
getItem() |
Component |
getSource() |
static <any> |
getType()
Gets the type associated with this event.
|
boolean |
isCancelled()
Returns true if the event is cancelled.
|
void |
setCancelled(boolean cancelled)
True to cancel the event.
|
public BeforeExpandItemEvent(T item)
public static <any> getType()
public T getItem()
public <any> getAssociatedType()
public Component getSource()
public boolean isCancelled()
CancellableEvent
isCancelled
in interface CancellableEvent
public void setCancelled(boolean cancelled)
CancellableEvent
setCancelled
in interface CancellableEvent
cancelled
- true to cancelprotected void dispatch(BeforeExpandItemEvent.BeforeExpandItemHandler<T> handler)
Copyright © 2018. All rights reserved.