JIDE 3.5.15

com.jidesoft.chart
Enum PointShape

java.lang.Object
  extended by java.lang.Enum<PointShape>
      extended by com.jidesoft.chart.PointShape
All Implemented Interfaces:
Serializable, Comparable<PointShape>

public enum PointShape
extends Enum<PointShape>

Provides predefined shapes for points

Author:
Simon White (swhite@catalysoft.com)

Enum Constant Summary
BOX
           
CIRCLE
           
DIAGONAL_CROSS
           
DIAMOND
           
DISC
           
DOWN_TRIANGLE
           
HORIZONTAL_LINE
           
SQUARE
           
UP_TRIANGLE
           
UPRIGHT_CROSS
           
VERTICAL_LINE
           
 
Method Summary
static PointShape valueOf(String name)
          Returns the enum constant of this type with the specified name.
static PointShape[] 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

CIRCLE

public static final PointShape CIRCLE

DISC

public static final PointShape DISC

SQUARE

public static final PointShape SQUARE

BOX

public static final PointShape BOX

DIAMOND

public static final PointShape DIAMOND

DOWN_TRIANGLE

public static final PointShape DOWN_TRIANGLE

UP_TRIANGLE

public static final PointShape UP_TRIANGLE

HORIZONTAL_LINE

public static final PointShape HORIZONTAL_LINE

VERTICAL_LINE

public static final PointShape VERTICAL_LINE

UPRIGHT_CROSS

public static final PointShape UPRIGHT_CROSS

DIAGONAL_CROSS

public static final PointShape DIAGONAL_CROSS
Method Detail

values

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

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

valueOf

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

JIDE 3.5.15