public class BeforeLoadEvent<C> extends GwtEvent<BeforeLoadEvent.BeforeLoadHandler<C>> implements CancellableEvent
Modifier and Type | Class and Description |
---|---|
static interface |
BeforeLoadEvent.BeforeLoadHandler<C>
Handler class for
BeforeLoadEvent events. |
static interface |
BeforeLoadEvent.HasBeforeLoadHandlers<C>
A widget that implements this interface is a public source of
BeforeLoadEvent events. |
GwtEvent.Type<H>
Constructor and Description |
---|
BeforeLoadEvent(C loadConfig)
Creates a before load event.
|
Modifier and Type | Method and Description |
---|---|
GwtEvent.Type<BeforeLoadEvent.BeforeLoadHandler<C>> |
getAssociatedType() |
C |
getLoadConfig()
Returns the load config.
|
static GwtEvent.Type<BeforeLoadEvent.BeforeLoadHandler<?>> |
getType()
Gets the type associated with this event.
|
boolean |
isCancelled()
Returns true if the event is cancelled.
|
void |
setCancelled(boolean cancel)
True to cancel the event.
|
toDebugString, toString
public BeforeLoadEvent(C loadConfig)
loadConfig
- the load configuration that will be used to load the datapublic static GwtEvent.Type<BeforeLoadEvent.BeforeLoadHandler<?>> getType()
public GwtEvent.Type<BeforeLoadEvent.BeforeLoadHandler<C>> getAssociatedType()
getAssociatedType
in class GwtEvent<BeforeLoadEvent.BeforeLoadHandler<C>>
public C getLoadConfig()
public boolean isCancelled()
CancellableEvent
isCancelled
in interface CancellableEvent
public void setCancelled(boolean cancel)
CancellableEvent
setCancelled
in interface CancellableEvent
cancel
- true to cancelCopyright © 2015. All rights reserved.