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 EventType<Event> |
ANY
Common supertype for all tree modification event types.
|
consumed, eventType, NULL_SOURCE_TARGET, target
source
Constructor and Description |
---|
TreeModificationEvent(EventType<? extends Event> 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 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 the reason for this event is that the selection on the
CheckBoxTreeItem changed (as opposed to it becoming indeterminate).
|
clone, consume, copyFor, fireEvent, getEventType, getTarget, isConsumed
getSource, toString
public TreeModificationEvent(EventType<? extends Event> eventType, CheckBoxTreeItem<T> treeItem, boolean selectionChanged)
public CheckBoxTreeItem<T> getTreeItem()
public boolean wasSelectionChanged()
public boolean wasIndeterminateChanged()
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2008, 2017, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.