T
- the type about to be closedpublic class BeforeQueryEvent<T> extends <any> 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. |
Constructor and Description |
---|
BeforeQueryEvent(String query) |
Modifier and Type | Method and Description |
---|---|
protected void |
dispatch(BeforeQueryEvent.BeforeQueryHandler<T> handler) |
<any> |
getAssociatedType() |
String |
getQuery() |
ComboBox<T> |
getSource() |
static <any> |
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) |
public BeforeQueryEvent(String query)
public static <any> getType()
public <any> getAssociatedType()
public String getQuery()
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)
protected void dispatch(BeforeQueryEvent.BeforeQueryHandler<T> handler)
Copyright © 2018. All rights reserved.