JHotDraw 7.1

org.jhotdraw.draw
Enum AttributeKeys.Orientation

java.lang.Object
  extended by java.lang.Enum<AttributeKeys.Orientation>
      extended by org.jhotdraw.draw.AttributeKeys.Orientation
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<AttributeKeys.Orientation>
Enclosing class:
AttributeKeys

public static enum AttributeKeys.Orientation
extends java.lang.Enum<AttributeKeys.Orientation>


Enum Constant Summary
EAST
           
NORTH
           
NORTH_EAST
           
NORTH_WEST
           
SOUTH
           
SOUTH_EAST
           
SOUTH_WEST
           
WEST
           
 
Method Summary
static AttributeKeys.Orientation valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static AttributeKeys.Orientation[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NORTH

public static final AttributeKeys.Orientation NORTH

NORTH_EAST

public static final AttributeKeys.Orientation NORTH_EAST

EAST

public static final AttributeKeys.Orientation EAST

SOUTH_EAST

public static final AttributeKeys.Orientation SOUTH_EAST

SOUTH

public static final AttributeKeys.Orientation SOUTH

SOUTH_WEST

public static final AttributeKeys.Orientation SOUTH_WEST

WEST

public static final AttributeKeys.Orientation WEST

NORTH_WEST

public static final AttributeKeys.Orientation NORTH_WEST
Method Detail

values

public static final AttributeKeys.Orientation[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(AttributeKeys.Orientation c : AttributeKeys.Orientation.values())
        System.out.println(c);

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

valueOf

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

Copyright 1996-2007 (c) JHotDraw.org.
Some rights reserved.