public class BeforeRemoveEvent extends GwtEvent<BeforeRemoveEvent.BeforeRemoveHandler> implements CancellableEvent
| Modifier and Type | Class and Description |
|---|---|
static interface |
BeforeRemoveEvent.BeforeRemoveHandler
Handler for
BeforeRemoveEvent events. |
static interface |
BeforeRemoveEvent.HasBeforeRemoveHandlers
A widget that implements this interface is a public source of
BeforeRemoveEvent events. |
GwtEvent.Type<H>| Constructor and Description |
|---|
BeforeRemoveEvent(Widget widget) |
| Modifier and Type | Method and Description |
|---|---|
GwtEvent.Type<BeforeRemoveEvent.BeforeRemoveHandler> |
getAssociatedType() |
Container |
getSource() |
static GwtEvent.Type<BeforeRemoveEvent.BeforeRemoveHandler> |
getType()
Gets the type associated with this event.
|
Widget |
getWidget()
Returns the widget to be removed.
|
boolean |
isCancelled()
Returns true if the event is cancelled.
|
void |
setCancelled(boolean cancelled)
True to cancel the event.
|
public BeforeRemoveEvent(Widget widget)
public static GwtEvent.Type<BeforeRemoveEvent.BeforeRemoveHandler> getType()
public GwtEvent.Type<BeforeRemoveEvent.BeforeRemoveHandler> getAssociatedType()
getAssociatedType in class GwtEvent<BeforeRemoveEvent.BeforeRemoveHandler>public Container getSource()
getSource in class GwtEvent<BeforeRemoveEvent.BeforeRemoveHandler>public Widget getWidget()
public boolean isCancelled()
CancellableEventisCancelled in interface CancellableEventpublic void setCancelled(boolean cancelled)
CancellableEventsetCancelled in interface CancellableEventcancelled - true to cancelCopyright © 2012. All Rights Reserved.