javax.media.j3d
Enum ImageComponentRetained.ImageDataType

java.lang.Object
  extended by java.lang.Enum<ImageComponentRetained.ImageDataType>
      extended by javax.media.j3d.ImageComponentRetained.ImageDataType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ImageComponentRetained.ImageDataType>
Enclosing class:
ImageComponentRetained

static enum ImageComponentRetained.ImageDataType
extends java.lang.Enum<ImageComponentRetained.ImageDataType>


Enum Constant Summary
TYPE_BYTE_ARRAY
           
TYPE_BYTE_BUFFER
           
TYPE_INT_ARRAY
           
TYPE_INT_BUFFER
           
TYPE_NULL
           
 
Method Summary
static ImageComponentRetained.ImageDataType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ImageComponentRetained.ImageDataType[] 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

TYPE_NULL

public static final ImageComponentRetained.ImageDataType TYPE_NULL

TYPE_BYTE_ARRAY

public static final ImageComponentRetained.ImageDataType TYPE_BYTE_ARRAY

TYPE_INT_ARRAY

public static final ImageComponentRetained.ImageDataType TYPE_INT_ARRAY

TYPE_BYTE_BUFFER

public static final ImageComponentRetained.ImageDataType TYPE_BYTE_BUFFER

TYPE_INT_BUFFER

public static final ImageComponentRetained.ImageDataType TYPE_INT_BUFFER
Method Detail

values

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

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

valueOf

public static ImageComponentRetained.ImageDataType 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


Copyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.