java.lang.Object
java.util.EventObject
javafx.event.Event
javafx.scene.control.SortEvent<C>
- Type Parameters:
C- the type of control
- All Implemented Interfaces:
Serializable,Cloneable
Event related to
TableView and TreeTableView sorting.- Since:
- JavaFX 8.0
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionCommon supertype for all sort event types.Fields declared in class javafx.event.Event
consumed, eventType, NULL_SOURCE_TARGET, targetFields declared in class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionSortEvent(C source, EventTarget target) Constructs a newSortEventwith the specified event source and target. -
Method Summary
Methods declared in class javafx.event.Event
clone, consume, copyFor, fireEvent, getEventType, getTarget, isConsumedMethods declared in class java.util.EventObject
getSource, toString
-
Field Details
-
ANY
Common supertype for all sort event types.
-
-
Constructor Details
-
SortEvent
Constructs a newSortEventwith the specified event source and target. If the source or target is set tonull, it is replaced by theNULL_SOURCE_TARGETvalue.- Parameters:
source- the event source which sent the eventtarget- the target of the event
-
-
Method Details
-
sortEvent
Gets the default singletonSortEvent.- Type Parameters:
C- the type of control- Returns:
- the default singleton
SortEvent
-