deadbeef.SupTools
Enum Core.Resolution

java.lang.Object
  extended by java.lang.Enum<Core.Resolution>
      extended by deadbeef.SupTools.Core.Resolution
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Core.Resolution>
Enclosing class:
Core

public static enum Core.Resolution
extends java.lang.Enum<Core.Resolution>

Enumeration of supported resolutions


Enum Constant Summary
HD_1080
          1080p: 1920x1080
HD_1440x1080
          1440x1080
HD_720
          720p: 1280x720
NTSC
          NTSC: 720x480
PAL
          PAL: 720x576
 
Method Summary
static Core.Resolution valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Core.Resolution[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NTSC

public static final Core.Resolution NTSC
NTSC: 720x480


PAL

public static final Core.Resolution PAL
PAL: 720x576


HD_720

public static final Core.Resolution HD_720
720p: 1280x720


HD_1440x1080

public static final Core.Resolution HD_1440x1080
1440x1080


HD_1080

public static final Core.Resolution HD_1080
1080p: 1920x1080

Method Detail

values

public static Core.Resolution[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (Core.Resolution c : Core.Resolution.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Core.Resolution valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null