T
- the type about to be expandedpublic class BeforeExpandItemEvent<T> extends GwtEvent<BeforeExpandItemEvent.BeforeExpandItemHandler<T>> 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. |
GwtEvent.Type<H>
Constructor and Description |
---|
BeforeExpandItemEvent(T item) |
Modifier and Type | Method and Description |
---|---|
GwtEvent.Type<BeforeExpandItemEvent.BeforeExpandItemHandler<T>> |
getAssociatedType() |
T |
getItem() |
Component |
getSource() |
static GwtEvent.Type<BeforeExpandItemEvent.BeforeExpandItemHandler<?>> |
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.
|
toDebugString, toString
public BeforeExpandItemEvent(T item)
public static GwtEvent.Type<BeforeExpandItemEvent.BeforeExpandItemHandler<?>> getType()
public T getItem()
public GwtEvent.Type<BeforeExpandItemEvent.BeforeExpandItemHandler<T>> getAssociatedType()
getAssociatedType
in class GwtEvent<BeforeExpandItemEvent.BeforeExpandItemHandler<T>>
public Component getSource()
getSource
in class GwtEvent<BeforeExpandItemEvent.BeforeExpandItemHandler<T>>
public boolean isCancelled()
CancellableEvent
isCancelled
in interface CancellableEvent
public void setCancelled(boolean cancelled)
CancellableEvent
setCancelled
in interface CancellableEvent
cancelled
- true to cancelCopyright © 2015. All rights reserved.