- java.lang.Object
- 
- java.util.EventObject
- 
- javafx.event.Event
- 
- javafx.scene.control.CheckBoxTreeItem.TreeModificationEvent<T>
 
 
 
- 
- Type Parameters:
- T- The type of the value contained within the- valueproperty.
 - All Implemented Interfaces:
- Serializable,- Cloneable
 - Enclosing class:
- CheckBoxTreeItem<T>
 
 public static class CheckBoxTreeItem.TreeModificationEvent<T> extends Event A TreeModificationEvent class that works in a similar vein to theTreeItem.TreeModificationEventclass, in that this event will bubble up the CheckBoxTreeItem hierarchy, until the parent node is null.- Since:
- JavaFX 2.2
- See Also:
- Serialized Form
 
- 
- 
Field SummaryFields Modifier and Type Field Description static EventType<Event>ANYCommon supertype for all tree modification event types.- 
Fields inherited from class javafx.event.Eventconsumed, eventType, NULL_SOURCE_TARGET, target
 - 
Fields inherited from class java.util.EventObjectsource
 
- 
 - 
Constructor SummaryConstructors Constructor 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.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description CheckBoxTreeItem<T>getTreeItem()Returns the CheckBoxTreeItem that this event occurred upon.booleanwasIndeterminateChanged()Indicates the reason for this event is that the indeterminate state on the CheckBoxTreeItem changed (as opposed to it becoming selected or unselected).booleanwasSelectionChanged()Indicates the reason for this event is that the selection on the CheckBoxTreeItem changed (as opposed to it becoming indeterminate).- 
Methods inherited from class javafx.event.Eventclone, consume, copyFor, fireEvent, getEventType, getTarget, isConsumed
 - 
Methods inherited from class java.util.EventObjectgetSource, toString
 
- 
 
- 
- 
- 
Constructor Detail- 
TreeModificationEventpublic 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.- Parameters:
- eventType- the eventType
- treeItem- the treeItem
- selectionChanged- represents whether the selection has changed
 
 
- 
 - 
Method Detail- 
getTreeItempublic CheckBoxTreeItem<T> getTreeItem() Returns the CheckBoxTreeItem that this event occurred upon.- Returns:
- The CheckBoxTreeItem that this event occurred upon.
 
 - 
wasSelectionChangedpublic boolean wasSelectionChanged() Indicates the reason for this event is that the selection on the CheckBoxTreeItem changed (as opposed to it becoming indeterminate).- Returns:
- has the CheckBoxTreeItem's selection changed
 
 - 
wasIndeterminateChangedpublic 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).- Returns:
- has the CheckBoxTreeItem's indeterminate changed
 
 
- 
 
-