T
- the type about to be selectedpublic class CellBeforeSelectionEvent<T> extends <any> implements CancellableEvent
Modifier | Constructor and Description |
---|---|
protected |
CellBeforeSelectionEvent(Context context,
T item)
Creates a new before selection event.
|
Modifier and Type | Method and Description |
---|---|
static <T> CellBeforeSelectionEvent<T> |
fire(<any> handler,
Context context,
T item) |
static <T> CellBeforeSelectionEvent<T> |
fire(HandlerManager manager,
Context context,
T item) |
Context |
getContext()
Returns the cell context if event fired from cell
|
boolean |
isCancelled()
Returns true if the event is cancelled.
|
void |
setCancelled(boolean cancel)
True to cancel the event.
|
protected CellBeforeSelectionEvent(Context context, T item)
context
- the cell contextitem
- the item to be selectedpublic static <T> CellBeforeSelectionEvent<T> fire(HandlerManager manager, Context context, T item)
public static <T> CellBeforeSelectionEvent<T> fire(<any> handler, Context context, T item)
public Context getContext()
public boolean isCancelled()
CancellableEvent
isCancelled
in interface CancellableEvent
public void setCancelled(boolean cancel)
CancellableEvent
setCancelled
in interface CancellableEvent
cancel
- true to cancelCopyright © 2018. All rights reserved.