lt.monarch.chart.style.enums
Enum Shapes

java.lang.Object
  extended by java.lang.Enum<Shapes>
      extended by lt.monarch.chart.style.enums.Shapes
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Shapes>, StyleObject

public enum Shapes
extends java.lang.Enum<Shapes>
implements StyleObject

List of predefined shapes for rendering bars or other chart objects


Enum Constant Summary
Enum Constant and Description
BAR_SHAPE
          Simple bar shape
CIRCLE_SHAPE
          Circle shape
ELLIPSE_SHAPE
          Ellipse shape
ERROR_BAR_SHAPE
          Error bar shape
LINE_BAR_SHAPE
          Line bar shape
PYRAMID_SHAPE
          Pyramid shape
ROUNDED_BAR_SHAPE
          Rounded bar shape
X_SHAPE
          X'es shape
 
Method Summary
Modifier and Type Method and Description
 Shape2D getShape()
          Gets the shape class
static Shapes valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Shapes[] 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

BAR_SHAPE

public static final Shapes BAR_SHAPE
Simple bar shape


ROUNDED_BAR_SHAPE

public static final Shapes ROUNDED_BAR_SHAPE
Rounded bar shape


PYRAMID_SHAPE

public static final Shapes PYRAMID_SHAPE
Pyramid shape


ERROR_BAR_SHAPE

public static final Shapes ERROR_BAR_SHAPE
Error bar shape


LINE_BAR_SHAPE

public static final Shapes LINE_BAR_SHAPE
Line bar shape


ELLIPSE_SHAPE

public static final Shapes ELLIPSE_SHAPE
Ellipse shape


CIRCLE_SHAPE

public static final Shapes CIRCLE_SHAPE
Circle shape


X_SHAPE

public static final Shapes X_SHAPE
X'es shape

Method Detail

values

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

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

valueOf

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

getShape

public Shape2D getShape()
Gets the shape class

Returns:
the shape