Class TransitionStartEvent


public class TransitionStartEvent extends TransitionEvent
Represents a transition start event that occurs when a CSS transition begins.
Since:
2026
Version:
1.0
Author:
Marvin P. Warble Jr.
See Also:
  • Constructor Details

    • TransitionStartEvent

      public TransitionStartEvent(String propertyName, float elapsedTime, String pseudoElement)
      Constructs a new TransitionStartEvent with the specified parameters.
      Parameters:
      propertyName - the name of the CSS property being transitioned
      elapsedTime - the elapsed time in seconds since the transition started
      pseudoElement - the pseudo-element the transition runs on (empty string if none)
  • Method Details

    • dispatchTo

      public void dispatchTo(TransitionListener listener)
      Dispatches this event to the specified listener for processing.
      Specified by:
      dispatchTo in class Event<TransitionListener>
      Parameters:
      listener - the listener to which this event should be dispatched