Interface Effect

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String DELAY_PROPERTY
      The delay bound property.
    • Field Detail

      • DELAY_PROPERTY

        static final java.lang.String DELAY_PROPERTY
        The delay bound property.
    • Method Detail

      • getDelay

        int getDelay()
        Returns:
        The delay, in milliseconds, before the effect takes place.
      • setDelay

        void setDelay​(int newDelay)
        Sets the delay before the effect takes place. This is a bound property of type Integer.
        Parameters:
        newDelay - The delay, in milliseconds, before the effect takes place.
        Throws:
        java.lang.IllegalArgumentException - if the given delay is negative.
        See Also:
        DELAY_PROPERTY