de.lessvoid.nifty.render
Enum RenderStateType

java.lang.Object
  extended by java.lang.Enum<RenderStateType>
      extended by de.lessvoid.nifty.render.RenderStateType
All Implemented Interfaces:
Serializable, Comparable<RenderStateType>

public enum RenderStateType
extends Enum<RenderStateType>

states to save.

Author:
void

Enum Constant Summary
alpha
          alpha.
blendMode
          blend mode.
clip
          clip.
color
          color.
font
          font.
imageScale
          image scale.
position
          save position information.
textSize
          text size.
 
Method Summary
static Set<RenderStateType> allStates()
          Helper to get all available RenderStates as a set.
static Set<RenderStateType> allStatesCopy()
           
static RenderStateType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static RenderStateType[] 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

position

public static final RenderStateType position
save position information.


color

public static final RenderStateType color
color.


alpha

public static final RenderStateType alpha
alpha.


textSize

public static final RenderStateType textSize
text size.


imageScale

public static final RenderStateType imageScale
image scale.


font

public static final RenderStateType font
font.


clip

public static final RenderStateType clip
clip.


blendMode

public static final RenderStateType blendMode
blend mode.

Method Detail

values

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

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

valueOf

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

allStates

public static Set<RenderStateType> allStates()
Helper to get all available RenderStates as a set.

Returns:
the set of all available render states.

allStatesCopy

public static Set<RenderStateType> allStatesCopy()


Copyright © 2011. All Rights Reserved.