Enum Class Framerate

java.lang.Object
java.lang.Enum<Framerate>
bdsup2sub.core.Framerate
All Implemented Interfaces:
Serializable, Comparable<Framerate>, Constable

public enum Framerate extends Enum<Framerate>
  • Enum Constant Details

    • FPS_23_976

      public static final Framerate FPS_23_976
    • FPS_23_975

      public static final Framerate FPS_23_975
    • FPS_24

      public static final Framerate FPS_24
    • PAL

      public static final Framerate PAL
    • NTSC

      public static final Framerate NTSC
    • PAL_I

      public static final Framerate PAL_I
    • NTSC_I

      public static final Framerate NTSC_I
  • Field Details

    • value

      private final double value
    • id

      private final int id
  • Constructor Details

    • Framerate

      private Framerate(double value, int id)
  • Method Details

    • values

      public static 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 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
    • getValue

      public double getValue()
    • getId

      public int getId()
    • valueForId

      public static double valueForId(int id)
    • idForFramerate

      public static int idForFramerate(double fps)