- 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>
ANY
Common supertype for all transform changed event types.static EventType<TransformChangedEvent>
TRANSFORM_CHANGED
The 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 newTransformChangedEvent
with an event type ofTRANSFORM_CHANGED
.TransformChangedEvent(Object source, EventTarget target)
Construct a newTransformChangedEvent
with 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 newTransformChangedEvent
with 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 newTransformChangedEvent
with the specified event source and target. If the source or target is set tonull
, it is replaced by theNULL_SOURCE_TARGET
value. All TransformChangedEvents have their type set toTRANSFORM_CHANGED
.- Parameters:
source
- the event source which sent the eventtarget
- the event target to associate with the event
-
-