org.jdesktop.wonderland.client.hud
Enum CompassLayout.Layout

java.lang.Object
  extended by java.lang.Enum<CompassLayout.Layout>
      extended by org.jdesktop.wonderland.client.hud.CompassLayout.Layout
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<CompassLayout.Layout>
Enclosing interface:
CompassLayout

public static enum CompassLayout.Layout
extends java.lang.Enum<CompassLayout.Layout>

Defines compass positions


Enum Constant Summary
CENTER
          Position at center
EAST
          Position at east (right center)
NONE
          Not positioned using compass point positions
NORTH
          Position at north (top center)
NORTHEAST
          Position at northeast (top right)
NORTHWEST
          Position at northwest (top left)
SOUTH
          Position at south (bottom center)
SOUTHEAST
          Position at southeast (bottom right)
SOUTHWEST
          Position at southwest (bottom left)
WEST
          Position at west (left center)
 
Method Summary
static CompassLayout.Layout valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static CompassLayout.Layout[] 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

NONE

public static final CompassLayout.Layout NONE
Not positioned using compass point positions


CENTER

public static final CompassLayout.Layout CENTER
Position at center


NORTH

public static final CompassLayout.Layout NORTH
Position at north (top center)


SOUTH

public static final CompassLayout.Layout SOUTH
Position at south (bottom center)


WEST

public static final CompassLayout.Layout WEST
Position at west (left center)


EAST

public static final CompassLayout.Layout EAST
Position at east (right center)


NORTHWEST

public static final CompassLayout.Layout NORTHWEST
Position at northwest (top left)


NORTHEAST

public static final CompassLayout.Layout NORTHEAST
Position at northeast (top right)


SOUTHWEST

public static final CompassLayout.Layout SOUTHWEST
Position at southwest (bottom left)


SOUTHEAST

public static final CompassLayout.Layout SOUTHEAST
Position at southeast (bottom right)

Method Detail

values

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

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

valueOf

public static CompassLayout.Layout 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


Open Wonderland - http://openwonderland.org