Class AnimationOptions


  • public class AnimationOptions
    extends Object
    A class representing the options for a Window animation.
    • Constructor Detail

      • AnimationOptions

        public AnimationOptions​(Boolean interrupt)
        Constructs an instance with the passed value for property Interrupt
        Parameters:
        interrupt - Value for interrupt
    • Method Detail

      • getInterrupt

        public Boolean getInterrupt()
        Gets value of interrupt The Interrupt property represents a flag which determines if a call to Window.animate will interrupt all pending transitions, or add itself to the queue.
        Returns:
        Value of interrup
      • getOptions

        public org.json.JSONObject getOptions()
        Gets options in JSON format
        Returns:
        JSONObject of options