org.achartengine.chart
Enum PointStyle

java.lang.Object
  extended by java.lang.Enum<PointStyle>
      extended by org.achartengine.chart.PointStyle
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<PointStyle>

public enum PointStyle
extends java.lang.Enum<PointStyle>

The chart point style enumerator.


Enum Constant Summary
CIRCLE
           
DIAMOND
           
POINT
           
SQUARE
           
TRIANGLE
           
X
           
 
Method Summary
static int getIndexForName(java.lang.String name)
          Returns the point shape index based on the given name.
 java.lang.String getName()
          Returns the point shape name.
static PointStyle getPointStyleForName(java.lang.String name)
          Return the point shape that has the provided symbol.
 java.lang.String toString()
          Returns the point shape name.
static PointStyle valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static PointStyle[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

X

public static final PointStyle X

CIRCLE

public static final PointStyle CIRCLE

TRIANGLE

public static final PointStyle TRIANGLE

SQUARE

public static final PointStyle SQUARE

DIAMOND

public static final PointStyle DIAMOND

POINT

public static final PointStyle POINT
Method Detail

values

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

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

valueOf

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

getName

public java.lang.String getName()
Returns the point shape name.

Returns:
the point shape name

toString

public java.lang.String toString()
Returns the point shape name.

Overrides:
toString in class java.lang.Enum<PointStyle>
Returns:
the point shape name

getPointStyleForName

public static PointStyle getPointStyleForName(java.lang.String name)
Return the point shape that has the provided symbol.

Parameters:
name - the point style name
Returns:
the point shape

getIndexForName

public static int getIndexForName(java.lang.String name)
Returns the point shape index based on the given name.

Returns:
the point shape index


Copyright © 2009 - 2011 4ViewSoft. All Rights Reserved.