de.erichseifert.gral
Enum DrawableConstants.Orientation

java.lang.Object
  extended by java.lang.Enum<DrawableConstants.Orientation>
      extended by de.erichseifert.gral.DrawableConstants.Orientation
All Implemented Interfaces:
Serializable, Comparable<DrawableConstants.Orientation>
Enclosing interface:
DrawableConstants

public static enum DrawableConstants.Orientation
extends Enum<DrawableConstants.Orientation>

Orientation of a Drawable.


Enum Constant Summary
HORIZONTAL
          Horizontal orientation.
VERTICAL
          Vertical orientation.
 
Method Summary
static DrawableConstants.Orientation valueOf(String name)
          Returns the enum constant of this type with the specified name.
static DrawableConstants.Orientation[] 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

HORIZONTAL

public static final DrawableConstants.Orientation HORIZONTAL
Horizontal orientation.


VERTICAL

public static final DrawableConstants.Orientation VERTICAL
Vertical orientation.

Method Detail

values

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

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

valueOf

public static DrawableConstants.Orientation 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


Copyright © 2009-2010. All Rights Reserved.