public class BeforeCollapseItemEvent<T> extends GwtEvent<BeforeCollapseItemEvent.BeforeCollapseItemHandler<T>> implements CancellableEvent
| Modifier and Type | Class and Description |
|---|---|
static interface |
BeforeCollapseItemEvent.BeforeCollapseItemHandler<T>
Handler class for
BeforeCollapseItemEvent events. |
static interface |
BeforeCollapseItemEvent.HasBeforeCollapseItemHandlers<T>
A widget that implements this interface is a public source of
BeforeCollapseItemEvent events. |
GwtEvent.Type<H>| Constructor and Description |
|---|
BeforeCollapseItemEvent(T item) |
| Modifier and Type | Method and Description |
|---|---|
GwtEvent.Type<BeforeCollapseItemEvent.BeforeCollapseItemHandler<T>> |
getAssociatedType() |
T |
getItem() |
Component |
getSource() |
static GwtEvent.Type<BeforeCollapseItemEvent.BeforeCollapseItemHandler<?>> |
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 BeforeCollapseItemEvent(T item)
public static GwtEvent.Type<BeforeCollapseItemEvent.BeforeCollapseItemHandler<?>> getType()
public T getItem()
public GwtEvent.Type<BeforeCollapseItemEvent.BeforeCollapseItemHandler<T>> getAssociatedType()
getAssociatedType in class GwtEvent<BeforeCollapseItemEvent.BeforeCollapseItemHandler<T>>public Component getSource()
getSource in class GwtEvent<BeforeCollapseItemEvent.BeforeCollapseItemHandler<T>>public boolean isCancelled()
CancellableEventisCancelled in interface CancellableEventpublic void setCancelled(boolean cancelled)
CancellableEventsetCancelled in interface CancellableEventcancelled - true to cancelCopyright © 2012. All Rights Reserved.