T
- the type about to be closedpublic class BeforeQueryEvent<T> extends GwtEvent<BeforeQueryEvent.BeforeQueryHandler<T>> implements CancellableEvent
Modifier and Type | Class and Description |
---|---|
static interface |
BeforeQueryEvent.BeforeQueryHandler<T>
Handler class for
BeforeQueryEvent events. |
static interface |
BeforeQueryEvent.HasBeforeQueryHandlers<T>
A widget that implements this interface is a public source of
BeforeQueryEvent events. |
GwtEvent.Type<H>
Constructor and Description |
---|
BeforeQueryEvent(String query) |
Modifier and Type | Method and Description |
---|---|
GwtEvent.Type<BeforeQueryEvent.BeforeQueryHandler<T>> |
getAssociatedType() |
String |
getQuery() |
ComboBox<T> |
getSource() |
static GwtEvent.Type<BeforeQueryEvent.BeforeQueryHandler<?>> |
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.
|
void |
setQuery(String query) |
toDebugString, toString
public BeforeQueryEvent(String query)
public static GwtEvent.Type<BeforeQueryEvent.BeforeQueryHandler<?>> getType()
public GwtEvent.Type<BeforeQueryEvent.BeforeQueryHandler<T>> getAssociatedType()
getAssociatedType
in class GwtEvent<BeforeQueryEvent.BeforeQueryHandler<T>>
public String getQuery()
public ComboBox<T> getSource()
getSource
in class GwtEvent<BeforeQueryEvent.BeforeQueryHandler<T>>
public boolean isCancelled()
CancellableEvent
isCancelled
in interface CancellableEvent
public void setCancelled(boolean cancelled)
CancellableEvent
setCancelled
in interface CancellableEvent
cancelled
- true to cancelpublic void setQuery(String query)
Copyright © 2015. All rights reserved.