public class BeforeCheckChangeEvent<T> extends <any> implements CancellableEvent
Modifier and Type | Class and Description |
---|---|
static interface |
BeforeCheckChangeEvent.BeforeCheckChangeHandler<T>
Handler class for
BeforeCheckChangeEvent events. |
static interface |
BeforeCheckChangeEvent.HasBeforeCheckChangeHandlers<T>
A widget that implements this interface is a public source of
BeforeCheckChangeEvent events. |
Constructor and Description |
---|
BeforeCheckChangeEvent(T item,
Tree.CheckState state) |
Modifier and Type | Method and Description |
---|---|
protected void |
dispatch(BeforeCheckChangeEvent.BeforeCheckChangeHandler<T> handler) |
<any> |
getAssociatedType() |
Tree.CheckState |
getChecked()
Returns the item's checked state.
|
T |
getItem() |
Component |
getSource() |
static <any> |
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.
|
public BeforeCheckChangeEvent(T item, Tree.CheckState state)
public static <any> getType()
public T getItem()
public <any> getAssociatedType()
public Component getSource()
public boolean isCancelled()
CancellableEvent
isCancelled
in interface CancellableEvent
public Tree.CheckState getChecked()
public void setCancelled(boolean cancel)
CancellableEvent
setCancelled
in interface CancellableEvent
cancel
- true to cancelprotected void dispatch(BeforeCheckChangeEvent.BeforeCheckChangeHandler<T> handler)
Copyright © 2018. All rights reserved.