Chart FX 7 for Java Server

com.softwarefx.chartfx.server
Enum OpenHighLowClose

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

public enum OpenHighLowClose
extends Enum<OpenHighLowClose>

This enum gets the index value of a series for a OpenHighLowClose chart.


Enum Constant Summary
CLOSE
          The Close Series in a OpenHighLowClose chart (index 2).
HIGH
          The High Series in a OpenHighLowClose chart (index 3).
LOW
          The Low Series in a OpenHighLowClose chart (index 0).
OPEN
          The Open Series in a OpenHighLowClose chart (index 1).
 
Method Summary
static EnumSet<OpenHighLowClose> getEnumSetValue(int value)
          Returns a EnumSet that represents the given numeric value.
static OpenHighLowClose getEnumValue(int value)
          Returns a Enum Item that represents the given numeric value.
static int getUnderlyingValue(EnumSet<OpenHighLowClose> value)
          Returns a numeric value that represents the given EnumSet or Enum item.
static int getUnderlyingValue(OpenHighLowClose value)
          Returns a numeric value that represents the given EnumSet or Enum item.
static OpenHighLowClose valueOf(String name)
          Returns the enum constant of this type with the specified name.
static OpenHighLowClose[] 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

LOW

public static final OpenHighLowClose LOW
The Low Series in a OpenHighLowClose chart (index 0).


OPEN

public static final OpenHighLowClose OPEN
The Open Series in a OpenHighLowClose chart (index 1).


CLOSE

public static final OpenHighLowClose CLOSE
The Close Series in a OpenHighLowClose chart (index 2).


HIGH

public static final OpenHighLowClose HIGH
The High Series in a OpenHighLowClose chart (index 3).

Method Detail

values

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

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

valueOf

public static OpenHighLowClose 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<OpenHighLowClose> getEnumSetValue(int value)

Returns a EnumSet that represents the given numeric value.

Parameters:
value - numeric representation of the Enumset.

getEnumValue

public static OpenHighLowClose 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(OpenHighLowClose 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<OpenHighLowClose> 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.