T
- The type of the value contained within the
value
property.public static class CheckBoxTreeItem.TreeModificationEvent<T>
extends Event
TreeItem.TreeModificationEvent
class, in that
this event will bubble up the CheckBoxTreeItem hierarchy, until the parent
node is null.Modifier and Type | Field and Description |
---|---|
static <any> |
ANY
Common supertype for all tree modification event types.
|
private boolean |
selectionChanged |
private static long |
serialVersionUID |
private CheckBoxTreeItem<T> |
treeItem |
Constructor and Description |
---|
TreeModificationEvent(<any> eventType,
CheckBoxTreeItem<T> treeItem,
boolean selectionChanged)
Creates a default TreeModificationEvent instance to represent the
change in selection/indeterminate states for the given CheckBoxTreeItem
instance.
|
Modifier and Type | Method and Description |
---|---|
CheckBoxTreeItem<T> |
getTreeItem()
Returns the CheckBoxTreeItem that this event occurred upon.
|
boolean |
wasIndeterminateChanged()
Indicates the reason for this event is that the indeterminate
state on the CheckBoxTreeItem changed (as opposed to it becoming
selected or unselected).
|
boolean |
wasSelectionChanged()
Indicates the reason for this event is that the selection on the
CheckBoxTreeItem changed (as opposed to it becoming indeterminate).
|
private static final long serialVersionUID
private final transient CheckBoxTreeItem<T> treeItem
private final boolean selectionChanged
public static final <any> ANY
public TreeModificationEvent(<any> eventType, CheckBoxTreeItem<T> treeItem, boolean selectionChanged)
eventType
- the eventTypetreeItem
- the treeItemselectionChanged
- represents whether the selection has changedpublic CheckBoxTreeItem<T> getTreeItem()
public boolean wasSelectionChanged()
public boolean wasIndeterminateChanged()