Chart FX 7 for Java Server

com.softwarefx.chartfx.server
Enum AxisFormat

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

public enum AxisFormat
extends Enum<AxisFormat>

Defines the valid formats to may be apply to an axis.


Enum Constant Summary
CURRENCY
          Displays Currency, as defined in the International section of the Control Panel.
DATE
          Displays a Short Date, as defined in the International section of the Control Panel.
DATE_TIME
          Displays Date-Time, as defined in the International section of the Control Panel.
LONG_DATE
          Displays a Long Date, as defined in the International section of the Control Panel.
NONE
          Displays a Number without formatting.
NUMBER
          Displays a Number, as defined in the International section of the Control Panel.
PERCENTAGE
          Displays numbers multiplied by 100 with a percent sign (%) appended to the right; display two digits to the right of the decimal separator.
SCIENTIFIC
          Displays standard scientific notation.
TIME
          Displays Time, as defined in the International section of the Control Panel.
 
Method Summary
static EnumSet<AxisFormat> getEnumSetValue(int value)
          Returns a EnumSet that represents the given numeric value.
static AxisFormat getEnumValue(int value)
          Returns a Enum Item that represents the given numeric value.
static int getUnderlyingValue(AxisFormat value)
          Returns a numeric value that represents the given EnumSet or Enum item.
static int getUnderlyingValue(EnumSet<AxisFormat> value)
          Returns a numeric value that represents the given EnumSet or Enum item.
static AxisFormat valueOf(String name)
          Returns the enum constant of this type with the specified name.
static AxisFormat[] 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 AxisFormat NONE
Displays a Number without formatting.


NUMBER

public static final AxisFormat NUMBER
Displays a Number, as defined in the International section of the Control Panel.


CURRENCY

public static final AxisFormat CURRENCY
Displays Currency, as defined in the International section of the Control Panel.


SCIENTIFIC

public static final AxisFormat SCIENTIFIC
Displays standard scientific notation.


PERCENTAGE

public static final AxisFormat PERCENTAGE
Displays numbers multiplied by 100 with a percent sign (%) appended to the right; display two digits to the right of the decimal separator.


DATE

public static final AxisFormat DATE
Displays a Short Date, as defined in the International section of the Control Panel.


LONG_DATE

public static final AxisFormat LONG_DATE
Displays a Long Date, as defined in the International section of the Control Panel.


TIME

public static final AxisFormat TIME
Displays Time, as defined in the International section of the Control Panel.


DATE_TIME

public static final AxisFormat DATE_TIME
Displays Date-Time, as defined in the International section of the Control Panel.

Method Detail

values

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

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

valueOf

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

Returns a EnumSet that represents the given numeric value.

Parameters:
value - numeric representation of the Enumset.

getEnumValue

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