com.neovisionaries.android.opengl
Enum AttrDataSize

java.lang.Object
  extended by java.lang.Enum<AttrDataSize>
      extended by com.neovisionaries.android.opengl.AttrDataSize
All Implemented Interfaces:
Serializable, Comparable<AttrDataSize>

public enum AttrDataSize
extends Enum<AttrDataSize>

Data size for Attribute.

Author:
Takahiko Kawasaki

Enum Constant Summary
FOUR
          4.
ONE
          1.
THREE
          3.
TWO
          2.
 
Method Summary
 int getSize()
          Get the size.
static AttrDataSize valueOf(String name)
          Returns the enum constant of this type with the specified name.
static AttrDataSize[] 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

ONE

public static final AttrDataSize ONE
1.


TWO

public static final AttrDataSize TWO
2.


THREE

public static final AttrDataSize THREE
3.


FOUR

public static final AttrDataSize FOUR
4.

Method Detail

values

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

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

valueOf

public static AttrDataSize valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getSize

public int getSize()
Get the size.

Returns:
The size.