javafx.scene.control
Class SortEvent<C>
- java.util.EventObject
-
- javafx.event.Event
-
- javafx.scene.control.SortEvent<C>
All Implemented Interfaces:
public class SortEvent<C> extends Event
Event related to
TableView and TreeTableView sorting.Since:
JavaFX 8.0
See Also:
-
Field Summary
Fields Modifier and Type Field and Description static EventType<SortEvent>ANYCommon supertype for all sort event types.-
Fields inherited from class javafx.event.Event
consumed, eventType, NULL_SOURCE_TARGET, target
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor and Description SortEvent(C source, EventTarget target)
-
Method Summary
All MethodsStatic MethodsInstance MethodsConcrete Methods Modifier and Type Method and Description CgetSource()static <C> EventType<SortEvent<C>>sortEvent()-
Methods inherited from class javafx.event.Event
clone, consume, copyFor, fireEvent, getEventType, getTarget, isConsumed
-
Methods inherited from class java.util.EventObject
toString
-
-
Field Detail
-
ANY
public static final EventType<SortEvent> ANY
Common supertype for all sort event types.
-
-
Constructor Detail
-
SortEvent
public SortEvent(C source, EventTarget target)
-
-
Method Detail
-
sortEvent
public static <C> EventType<SortEvent<C>> sortEvent()
-
getSource
public C getSource()
Overrides:
getSourcein classEventObject
-
© 2008, 2025, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from JavaFX API Documentation.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Java, JavaFX and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.