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>
public static final class MFXCheckTreeItem.CheckTreeItemEvent<T> extends Event
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:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description static EventType<MFXCheckTreeItem.CheckTreeItemEvent<?>>
CHECK_EVENT
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
Constructors Constructor Description CheckTreeItemEvent(EventType<? extends Event> eventType, AbstractMFXTreeItem<T> item)
-
Method Summary
Modifier and Type Method Description AbstractMFXTreeItem<T>
getItemRef()
Methods inherited from class javafx.event.Event
clone, consume, copyFor, fireEvent, getEventType, getTarget, isConsumed
Methods inherited from class java.util.EventObject
getSource, toString
-
Field Details
-
CHECK_EVENT
-
-
Constructor Details
-
CheckTreeItemEvent
-
-
Method Details
-
getItemRef
-