Enum Class AnimationTimer.FrameRate

java.lang.Object
java.lang.Enum<AnimationTimer.FrameRate>
ch.swingfx.timer.AnimationTimer.FrameRate
All Implemented Interfaces:
Serializable, Comparable<AnimationTimer.FrameRate>, Constable
Enclosing class:
AnimationTimer

public static enum AnimationTimer.FrameRate extends Enum<AnimationTimer.FrameRate>
Frame rates for the AnimationTimer
Note: These frame rates are approximations.
  • Enum Constant Details

  • Field Details

    • fDelay

      private final int fDelay
      The delay for the timer
  • Constructor Details

    • FrameRate

      private FrameRate(int delay)
  • Method Details

    • values

      public static AnimationTimer.FrameRate[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static AnimationTimer.FrameRate valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • delay

      public int delay()