Class TransformChangedEvent
java.lang.Object
java.util.EventObject
javafx.event.Event
javafx.scene.transform.TransformChangedEvent
- All Implemented Interfaces:
Serializable, Cloneable
This event is fired on a transform when any of its properties changes.
- Since:
- JavaFX 8.0
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final EventType<TransformChangedEvent> Common supertype for all transform changed event types.static final EventType<TransformChangedEvent> The only valid EventType for the TransformChangedEvent.Fields declared in class Event
consumed, eventType, NULL_SOURCE_TARGET, targetModifier and TypeFieldDescriptionprotected booleanWhether this event has been consumed by any filter or handler.Type of the event.static final EventTargetThe constant which represents an unknown event source / target.protected EventTargetEvent target that defines the path through which the event will travel when posted.Fields declared in class EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionCreates a newTransformChangedEventwith an event type ofTRANSFORM_CHANGED.TransformChangedEvent(Object source, EventTarget target) Construct a newTransformChangedEventwith the specified event source and target. -
Method Summary
Methods declared in class Event
clone, consume, copyFor, fireEvent, getEventType, getTarget, isConsumedModifier and TypeMethodDescriptionclone()Creates and returns a copy of thisEvent.voidconsume()Marks thisEventas consumed.copyFor(Object newSource, EventTarget newTarget) Creates and returns a copy of this event with the specified event source and target.static voidfireEvent(EventTarget eventTarget, Event event) Fires the specified event.Gets the event type of this event.Returns the event target of this event.booleanIndicates whether thisEventhas been consumed by any filter or handler.Methods declared in class EventObject
getSource, toString
-
Field Details
-
TRANSFORM_CHANGED
The only valid EventType for the TransformChangedEvent. -
ANY
Common supertype for all transform changed event types.
-
-
Constructor Details
-
TransformChangedEvent
public TransformChangedEvent()Creates a newTransformChangedEventwith an event type ofTRANSFORM_CHANGED. The source and target of the event is set toNULL_SOURCE_TARGET. -
TransformChangedEvent
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 eventtarget- the event target to associate with the event
-