Module MaterialFX
Class MFXCheckTreeItem.CheckTreeItemEvent<T>
java.lang.Object
java.util.EventObject
javafx.event.Event
io.github.palexdev.materialfx.controls.MFXCheckTreeItem.CheckTreeItemEvent<T>
- All Implemented Interfaces:
Serializable,Cloneable
- Enclosing class:
- MFXCheckTreeItem<T>
Events class for the items.
Defines a new EventTypes:
- CHECK_EVENT: when an item is checked/unchecked, the item and all the parents up to the root should adjust their state accordingly.
Note on constructor: when we fire an event we pass the item reference to distinguish between the item on which the item is fired and the parents.
Of course these events are for internal use only so they should not be used by users.
- See Also:
-
Field Summary
FieldsFields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionCheckTreeItemEvent(EventType<? extends Event> eventType, AbstractMFXTreeItem<T> item) -
Method Summary
Methods inherited from class javafx.event.Event
clone, consume, copyFor, fireEvent, getEventType, getTarget, isConsumedMethods inherited from class java.util.EventObject
getSource, toString
-
Field Details
-
CHECK_EVENT
-
-
Constructor Details
-
CheckTreeItemEvent
-
-
Method Details
-
getItemRef
-