Class MultiColumnListView.MultiColumnListViewEvent
java.lang.Object
java.util.EventObject
javafx.event.Event
com.dlsc.gemsfx.MultiColumnListView.MultiColumnListViewEvent
- All Implemented Interfaces:
Serializable, Cloneable
- Enclosing class:
MultiColumnListView<T>
public static class MultiColumnListView.MultiColumnListViewEvent
extends javafx.event.Event
Represents an event specific to the
MultiColumnListView component.
This event is triggered during user interactions such as drag and drop activities
or changes in the state of the list view.
The class provides a set of predefined event types to handle common scenarios,
such as item movement, drag operations, and drop validation.
Event Types:
- ANY: Represents a generic MultiColumnListViewEvent.
- ITEM_MOVED: Indicates that an item has been moved to a new location.
- DROP_NOT_POSSIBLE: Signifies a failed drop operation due to validation failures.
- DRAG_OVER: Fired when a drag operation hovers over the target area.
- DRAG_STARTED: Specifies the start of a drag operation.
- DRAG_ENDED: Fired when a drag operation has completed.
This event also provides access to the dragged item and the associated column
where the interaction occurs.- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final javafx.event.EventType<MultiColumnListView.MultiColumnListViewEvent> static final javafx.event.EventType<MultiColumnListView.MultiColumnListViewEvent> static final javafx.event.EventType<MultiColumnListView.MultiColumnListViewEvent> static final javafx.event.EventType<MultiColumnListView.MultiColumnListViewEvent> static final javafx.event.EventType<MultiColumnListView.MultiColumnListViewEvent> static final javafx.event.EventType<MultiColumnListView.MultiColumnListViewEvent> static final javafx.event.EventType<MultiColumnListView.MultiColumnListViewEvent> Fields inherited from class javafx.event.Event
consumed, eventType, NULL_SOURCE_TARGET, targetFields inherited from class EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionMultiColumnListViewEvent(javafx.event.EventType<? extends javafx.event.Event> eventType, Object draggedItem, MultiColumnListView.ListViewColumn column, int index) -
Method Summary
Methods inherited from class javafx.event.Event
clone, consume, copyFor, fireEvent, getEventType, getTarget, isConsumedMethods inherited from class EventObject
getSource
-
Field Details
-
ANY
-
ITEM_MOVED
-
DRAG_NOT_POSSIBLE
public static final javafx.event.EventType<MultiColumnListView.MultiColumnListViewEvent> DRAG_NOT_POSSIBLE -
DROP_NOT_POSSIBLE
public static final javafx.event.EventType<MultiColumnListView.MultiColumnListViewEvent> DROP_NOT_POSSIBLE -
DRAG_OVER
-
DRAG_STARTED
public static final javafx.event.EventType<MultiColumnListView.MultiColumnListViewEvent> DRAG_STARTED -
DRAG_ENDED
-
-
Constructor Details
-
MultiColumnListViewEvent
public MultiColumnListViewEvent(javafx.event.EventType<? extends javafx.event.Event> eventType, Object draggedItem, MultiColumnListView.ListViewColumn column, int index)
-
-
Method Details
-
getDraggedItem
-
getColumn
-
getIndex
public int getIndex() -
toString
- Overrides:
toStringin classEventObject
-