org.virtualbox_4_2
Enum FramebufferPixelFormat

java.lang.Object
  extended by java.lang.Enum<FramebufferPixelFormat>
      extended by org.virtualbox_4_2.FramebufferPixelFormat
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<FramebufferPixelFormat>

public enum FramebufferPixelFormat
extends java.lang.Enum<FramebufferPixelFormat>

Format of the video memory buffer. Constants represented by this enum can be used to test for particular values of org.virtualbox_4_2.IFramebuffer#getPixelFormat(). See also org.virtualbox_4_2.IFramebuffer#requestResize(Long,Long,byte,Long,Long,Long,Long). See also www.fourcc.org for more information about FOURCC pixel formats. Interface ID: {7ACFD5ED-29E3-45E3-8136-73C9224F3D2D}


Enum Constant Summary
FOURCC_RGB
          Basic RGB format (org.virtualbox_4_2.IFramebuffer#getBitsPerPixel() determines the bit layout).
Opaque
          Unknown buffer format (the user may not assume any particular format of the buffer).
 
Method Summary
static FramebufferPixelFormat fromValue(long v)
           
static FramebufferPixelFormat fromValue(java.lang.String v)
           
 int value()
           
static FramebufferPixelFormat valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static FramebufferPixelFormat[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

Opaque

public static final FramebufferPixelFormat Opaque
Unknown buffer format (the user may not assume any particular format of the buffer).


FOURCC_RGB

public static final FramebufferPixelFormat FOURCC_RGB
Basic RGB format (org.virtualbox_4_2.IFramebuffer#getBitsPerPixel() determines the bit layout).

Method Detail

values

public static FramebufferPixelFormat[] 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 (FramebufferPixelFormat c : FramebufferPixelFormat.values())
    System.out.println(c);

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

valueOf

public static FramebufferPixelFormat 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

value

public int value()

fromValue

public static FramebufferPixelFormat fromValue(long v)

fromValue

public static FramebufferPixelFormat fromValue(java.lang.String v)