Class CheckBoxTreeItem.TreeModificationEvent<T>
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>
A TreeModificationEvent class that works in a similar vein to the
 
TreeItem.TreeModificationEvent class, in that
 this event will bubble up the CheckBoxTreeItem hierarchy, until the parent
 node is null.- Since:
- JavaFX 2.2
- See Also:
- 
Field SummaryFieldsModifier and TypeFieldDescriptionCommon supertype for all tree modification event types.Fields declared in class javafx.event.Eventconsumed, eventType, NULL_SOURCE_TARGET, targetFields declared in class java.util.EventObjectsource
- 
Constructor SummaryConstructorsConstructorDescriptionTreeModificationEvent(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 SummaryModifier and TypeMethodDescriptionReturns the CheckBoxTreeItem that this event occurred upon.booleanIndicates the reason for this event is that the indeterminate state on the CheckBoxTreeItem changed (as opposed to it becoming selected or unselected).booleanIndicates the reason for this event is that the selection on the CheckBoxTreeItem changed (as opposed to it becoming indeterminate).Methods declared in class javafx.event.Eventclone, consume, copyFor, fireEvent, getEventType, getTarget, isConsumedMethods declared in class java.util.EventObjectgetSource, toString
- 
Field Details- 
ANY
 
- 
- 
Constructor Details- 
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 Details- 
getTreeItemReturns 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
 
 
-