Spec-Zone .ru
спецификации, руководства, описания, API
|
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.Constructor and Description |
---|
CheckBoxTreeItem.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
public CheckBoxTreeItem.TreeModificationEvent(EventType<? extends Event> eventType, CheckBoxTreeItem<T> treeItem, boolean selectionChanged)
public CheckBoxTreeItem<T> getTreeItem()
public boolean wasSelectionChanged()
public boolean wasIndeterminateChanged()
Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved. Use is subject to