Chart FX 7 for Java Server

com.softwarefx.chartfx.server
Enum MarkerShape

java.lang.Object
  extended by java.lang.Enum<MarkerShape>
      extended by com.softwarefx.chartfx.server.MarkerShape
All Implemented Interfaces:
Serializable, Comparable<MarkerShape>

public enum MarkerShape
extends Enum<MarkerShape>

Defines different shapes used to paint point markers in the chart.


Enum Constant Summary
CIRCLE
          Displays a circle.
CROSS
          Displays a cross.
DIAMOND
          Displays a diamond.
HORIZONTAL_LINE
          Displays a horizontal line.
INVERTED_TRIANGLE
          Displays a rotated triangle.
MANY
          Selects a combination of marker shapes.
MARBLE
          Displays a 3D marble.
NONE
          Do not display point markers.
PICTURE
          Displays a configured picture.
RECT
          Displays a rectangle.
TRIANGLE
          Displays a triangle.
VERTICAL_LINE
          Displays a vertical line.
X
          Displays an X.
 
Method Summary
static EnumSet<MarkerShape> getEnumSetValue(int value)
          Returns a EnumSet that represents the given numeric value.
static MarkerShape getEnumValue(int value)
          Returns a Enum Item that represents the given numeric value.
static int getUnderlyingValue(EnumSet<MarkerShape> value)
          Returns a numeric value that represents the given EnumSet or Enum item.
static int getUnderlyingValue(MarkerShape value)
          Returns a numeric value that represents the given EnumSet or Enum item.
static MarkerShape valueOf(String name)
          Returns the enum constant of this type with the specified name.
static MarkerShape[] 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

NONE

public static final MarkerShape NONE
Do not display point markers.


RECT

public static final MarkerShape RECT
Displays a rectangle.


CIRCLE

public static final MarkerShape CIRCLE
Displays a circle.


TRIANGLE

public static final MarkerShape TRIANGLE
Displays a triangle.


DIAMOND

public static final MarkerShape DIAMOND
Displays a diamond.


MARBLE

public static final MarkerShape MARBLE
Displays a 3D marble.


HORIZONTAL_LINE

public static final MarkerShape HORIZONTAL_LINE
Displays a horizontal line.


VERTICAL_LINE

public static final MarkerShape VERTICAL_LINE
Displays a vertical line.


CROSS

public static final MarkerShape CROSS
Displays a cross.


INVERTED_TRIANGLE

public static final MarkerShape INVERTED_TRIANGLE
Displays a rotated triangle.


X

public static final MarkerShape X
Displays an X.


PICTURE

public static final MarkerShape PICTURE
Displays a configured picture.


MANY

public static final MarkerShape MANY
Selects a combination of marker shapes.

Method Detail

values

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

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

valueOf

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

getEnumSetValue

public static EnumSet<MarkerShape> getEnumSetValue(int value)

Returns a EnumSet that represents the given numeric value.

Parameters:
value - numeric representation of the Enumset.

getEnumValue

public static MarkerShape getEnumValue(int value)

Returns a Enum Item that represents the given numeric value.

Parameters:
value - numeric representation of the Enum item.

getUnderlyingValue

public static int getUnderlyingValue(MarkerShape value)

Returns a numeric value that represents the given EnumSet or Enum item.

Parameters:
value - A Enum Item or EnumSet.

getUnderlyingValue

public static int getUnderlyingValue(EnumSet<MarkerShape> value)

Returns a numeric value that represents the given EnumSet or Enum item.

Parameters:
value - A Enum Item or EnumSet.

http://www.softwarefx.com

2008 Software FX, Inc. All Rights Reserved. Chart FX is a registered trademark of Software FX, Inc
All other names are trademarks or registered trademarks of their respective owners.