Class SceneBuilder

  • All Implemented Interfaces:

    
    public final class SceneBuilder
    
                        

    Scene builder for orchestrating concurrent asynchronous movements.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
      SceneBuilder()
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final <T extends AsyncRotator> Unit moveTo(T $self, Function1<Rotate, Unit> rotate) DSL construct for moveTo with named parameter assignment syntax.
      final <T extends AsyncRotator> Unit smoothly(T $self, Function1<SmoothRotate, Unit> rotate) DSL construct for smooth movements with named parameter assignment syntax.
      final <T extends AsyncRotator> Unit withSoftLaunch(T $self, Function1<SoftLaunchRotate, Unit> rotate) DSL construct for soft launch movements with named parameter assignment syntax.
      final <T extends AsyncRotator> Unit withSoftLanding(T $self, Function1<SoftLandingRotate, Unit> rotate) DSL construct for soft landing movements with named parameter assignment syntax.
      final <Error class: unknown class> invoke() Starts all actions concurrently and waits for their completion.
      final <Error class: unknown class> play() Runnit (blocking).
      final Job start() Runnit (non-blocking).
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SceneBuilder

        SceneBuilder()
    • Method Detail

      • moveTo

         final <T extends AsyncRotator> Unit moveTo(T $self, Function1<Rotate, Unit> rotate)

        DSL construct for moveTo with named parameter assignment syntax. Usage: rotator moveTo { angle = 90; duration = 2.seconds; ease = linear }

      • smoothly

         final <T extends AsyncRotator> Unit smoothly(T $self, Function1<SmoothRotate, Unit> rotate)

        DSL construct for smooth movements with named parameter assignment syntax. Usage: rotator smoothly { angle = 90; duration = 2.seconds }

      • withSoftLaunch

         final <T extends AsyncRotator> Unit withSoftLaunch(T $self, Function1<SoftLaunchRotate, Unit> rotate)

        DSL construct for soft launch movements with named parameter assignment syntax. Usage: rotator withSoftLaunch { angle = 90; duration = 2.seconds }

      • withSoftLanding

         final <T extends AsyncRotator> Unit withSoftLanding(T $self, Function1<SoftLandingRotate, Unit> rotate)

        DSL construct for soft landing movements with named parameter assignment syntax. Usage: rotator withSoftLanding { angle = 90; duration = 2.seconds }

      • invoke

         final <Error class: unknown class> invoke()

        Starts all actions concurrently and waits for their completion.

      • play

         final <Error class: unknown class> play()

        Runnit (blocking).

      • start

         final Job start()

        Runnit (non-blocking).