com.metsci.glimpse.painter.decoration
Enum LegendPainter.LegendPlacement

java.lang.Object
  extended by java.lang.Enum<LegendPainter.LegendPlacement>
      extended by com.metsci.glimpse.painter.decoration.LegendPainter.LegendPlacement
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<LegendPainter.LegendPlacement>
Enclosing class:
LegendPainter

public static enum LegendPainter.LegendPlacement
extends java.lang.Enum<LegendPainter.LegendPlacement>


Enum Constant Summary
E
           
N
           
NE
           
NW
           
S
           
SE
           
SW
           
W
           
 
Method Summary
static LegendPainter.LegendPlacement valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static LegendPainter.LegendPlacement[] 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

N

public static final LegendPainter.LegendPlacement N

NE

public static final LegendPainter.LegendPlacement NE

E

public static final LegendPainter.LegendPlacement E

SE

public static final LegendPainter.LegendPlacement SE

S

public static final LegendPainter.LegendPlacement S

SW

public static final LegendPainter.LegendPlacement SW

W

public static final LegendPainter.LegendPlacement W

NW

public static final LegendPainter.LegendPlacement NW
Method Detail

values

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

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

valueOf

public static LegendPainter.LegendPlacement 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


Copyright © 2012 Metron, Inc.. All Rights Reserved.