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.
|
toDebugString, toString
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()
CancellableEvent
isCancelled
in interface CancellableEvent
public void setCancelled(boolean cancelled)
CancellableEvent
setCancelled
in interface CancellableEvent
cancelled
- true to cancelCopyright © 2015. All rights reserved.