Chart FX 7 for Java Server

com.softwarefx.chartfx.server
Enum DataSourceStyles

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

public enum DataSourceStyles
extends Enum<DataSourceStyles>

Define the attributes for the data source columns.


Enum Constant Summary
DATES_AS_LABELS
          Instructs Chart FX to use date values as labels.
DEFAULT
          Default.
KEEP_LABELS
          Instructs Chart FX to retain configured label strings.
KEEP_SCALE
          Instructs Chart FX to retain the axis scaling.
KEEP_SERIES_LEGEND
          Instructs Chart FX to retain configured series label strings.
NONE
          Use Chart FX default field assignments.
READ_XVALUES
          Instructs Chart FX that the data read will include both values and x values.
READ_YFROM_VALUES
          Instructs Chart FX that the data read will include Y values.
REWIND_BEFORE_READING
          Instructs Chart FX to reset DataSource position before reading data.
TRANSPOSE
          See Remarks.
USE_BLOB_TEXT
          Use as text from a "binary large object".
 
Method Summary
static EnumSet<DataSourceStyles> getEnumSetValue(int value)
          Returns a EnumSet that represents the given numeric value.
static DataSourceStyles getEnumValue(int value)
          Returns a Enum Item that represents the given numeric value.
static int getUnderlyingValue(DataSourceStyles value)
          Returns a numeric value that represents the given EnumSet or Enum item.
static int getUnderlyingValue(EnumSet<DataSourceStyles> value)
          Returns a numeric value that represents the given EnumSet or Enum item.
static DataSourceStyles valueOf(String name)
          Returns the enum constant of this type with the specified name.
static DataSourceStyles[] 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

KEEP_SCALE

public static final DataSourceStyles KEEP_SCALE
Instructs Chart FX to retain the axis scaling.


TRANSPOSE

public static final DataSourceStyles TRANSPOSE
See Remarks.


USE_BLOB_TEXT

public static final DataSourceStyles USE_BLOB_TEXT
Use as text from a "binary large object".


KEEP_SERIES_LEGEND

public static final DataSourceStyles KEEP_SERIES_LEGEND
Instructs Chart FX to retain configured series label strings.


KEEP_LABELS

public static final DataSourceStyles KEEP_LABELS
Instructs Chart FX to retain configured label strings.


READ_XVALUES

public static final DataSourceStyles READ_XVALUES
Instructs Chart FX that the data read will include both values and x values.


READ_YFROM_VALUES

public static final DataSourceStyles READ_YFROM_VALUES
Instructs Chart FX that the data read will include Y values.


DATES_AS_LABELS

public static final DataSourceStyles DATES_AS_LABELS
Instructs Chart FX to use date values as labels.


REWIND_BEFORE_READING

public static final DataSourceStyles REWIND_BEFORE_READING
Instructs Chart FX to reset DataSource position before reading data.


NONE

public static final DataSourceStyles NONE
Use Chart FX default field assignments.


DEFAULT

public static final DataSourceStyles DEFAULT
Default.

Method Detail

values

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

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

valueOf

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

Returns a EnumSet that represents the given numeric value.

Parameters:
value - numeric representation of the Enumset.

getEnumValue

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