- java.lang.Object
-
- java.util.EventObject
-
- javafx.event.Event
-
- javafx.scene.transform.TransformChangedEvent
-
- All Implemented Interfaces:
-
Serializable,Cloneable
public final class TransformChangedEvent extends Event
This event is fired on a transform when any of its properties changes.- Since:
- JavaFX 8.0
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description static EventType<TransformChangedEvent>ANYCommon supertype for all transform changed event types.static EventType<TransformChangedEvent>TRANSFORM_CHANGEDThe only valid EventType for the TransformChangedEvent.-
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 Description TransformChangedEvent()Creates a newTransformChangedEventwith an event type ofTRANSFORM_CHANGED.TransformChangedEvent(Object source, EventTarget target)Construct a newTransformChangedEventwith the specified event source and target.
-
Method Summary
-
Methods inherited from class javafx.event.Event
clone, consume, copyFor, fireEvent, getEventType, getTarget, isConsumed
-
Methods inherited from class java.util.EventObject
getSource, toString
-
-
Field Detail
-
TRANSFORM_CHANGED
public static final EventType<TransformChangedEvent> TRANSFORM_CHANGED
The only valid EventType for the TransformChangedEvent.
-
ANY
public static final EventType<TransformChangedEvent> ANY
Common supertype for all transform changed event types.
-
-
Constructor Detail
-
TransformChangedEvent
public TransformChangedEvent()
Creates a newTransformChangedEventwith an event type ofTRANSFORM_CHANGED. The source and target of the event is set toNULL_SOURCE_TARGET.
-
TransformChangedEvent
public TransformChangedEvent(Object source, EventTarget target)
Construct a newTransformChangedEventwith the specified event source and target. If the source or target is set tonull, it is replaced by theNULL_SOURCE_TARGETvalue. All TransformChangedEvents have their type set toTRANSFORM_CHANGED.- Parameters:
-
source- the event source which sent the event -
target- the event target to associate with the event
-
© 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.