Chart FX 7 for Java Server

com.softwarefx.chartfx.server.dataproviders
Enum RowHeadingSettings

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

public enum RowHeadingSettings
extends Enum<RowHeadingSettings>

Enumeration to specify formatting for Rows provided through DataProviders.


Enum Constant Summary
AUTO
          Let Chart FX determine the best format for the RowHeadings.
COMPRESSED_XVALUES
          Specify the RowHeading values to be used as Xvalues in the chart eliminating gaps caused by missing points.
DATES_AS_LABELS
          Specify the RowHeading values as Dates to be Labels.
XVALUES
          Specify the RowHeading values to be used as Xvalues in the chart.
 
Method Summary
static EnumSet<RowHeadingSettings> getEnumSetValue(int value)
          Returns a EnumSet that represents the given numeric value.
static RowHeadingSettings getEnumValue(int value)
          Returns a Enum Item that represents the given numeric value.
static int getUnderlyingValue(EnumSet<RowHeadingSettings> value)
          Returns a numeric value that represents the given EnumSet or Enum item.
static int getUnderlyingValue(RowHeadingSettings value)
          Returns a numeric value that represents the given EnumSet or Enum item.
static RowHeadingSettings valueOf(String name)
          Returns the enum constant of this type with the specified name.
static RowHeadingSettings[] 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

AUTO

public static final RowHeadingSettings AUTO
Let Chart FX determine the best format for the RowHeadings.


DATES_AS_LABELS

public static final RowHeadingSettings DATES_AS_LABELS
Specify the RowHeading values as Dates to be Labels.


XVALUES

public static final RowHeadingSettings XVALUES
Specify the RowHeading values to be used as Xvalues in the chart.


COMPRESSED_XVALUES

public static final RowHeadingSettings COMPRESSED_XVALUES
Specify the RowHeading values to be used as Xvalues in the chart eliminating gaps caused by missing points.

Method Detail

values

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

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

valueOf

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

Returns a EnumSet that represents the given numeric value.

Parameters:
value - numeric representation of the Enumset.

getEnumValue

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