|
Chart FX 7 for Java Server | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||
java.lang.Objectjava.lang.Enum<FieldUsage>
com.softwarefx.chartfx.server.FieldUsage
public enum FieldUsage
Define how Chart FX should treat the different fields available in the data set.
| Enum Constant Summary | |
|---|---|
COLUMN_HEADING
Instructs Chart FX to treat the selected field as a ColumnHeading. |
|
DEFAULT
If the field is numeric use it as an additional data series. |
|
FROM_VALUE
Instructs Chart FX to treat the selected field as a number to be used to set initial values for data points to achieve floating bars and area charts. |
|
KEY_LABEL
Instructs Chart FX to treat the selected field as a string that will be used as the key label for the X Axis. |
|
LABEL
Instructs Chart FX to treat the selected field as a string. |
|
NOT_USED
Instructs Chart FX to ignore this field from the result set. |
|
ROW_HEADING
Instructs Chart FX to treat the selected field as a Row Heading. |
|
VALUE
Instructs Chart FX to treat the selected field as a number. |
|
XVALUE
Instructs Chart FX to treat the selected field as a number to be used as the X axis coordinate. |
|
| Method Summary | |
|---|---|
static EnumSet<FieldUsage> |
getEnumSetValue(int value)
Returns a EnumSet that represents the given numeric value. |
static FieldUsage |
getEnumValue(int value)
Returns a Enum Item that represents the given numeric value. |
static int |
getUnderlyingValue(EnumSet<FieldUsage> value)
Returns a numeric value that represents the given EnumSet or Enum item. |
static int |
getUnderlyingValue(FieldUsage value)
Returns a numeric value that represents the given EnumSet or Enum item. |
static FieldUsage |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static FieldUsage[] |
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 |
|---|
public static final FieldUsage DEFAULT
public static final FieldUsage LABEL
public static final FieldUsage VALUE
public static final FieldUsage XVALUE
public static final FieldUsage FROM_VALUE
public static final FieldUsage KEY_LABEL
public static final FieldUsage COLUMN_HEADING
public static final FieldUsage ROW_HEADING
public static final FieldUsage NOT_USED
| Method Detail |
|---|
public static FieldUsage[] values()
for (FieldUsage c : FieldUsage.values()) System.out.println(c);
public static FieldUsage valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic static EnumSet<FieldUsage> getEnumSetValue(int value)
Returns a EnumSet that represents the given numeric value.
value - numeric representation of the Enumset.public static FieldUsage getEnumValue(int value)
Returns a Enum Item that represents the given numeric value.
value - numeric representation of the Enum item.public static int getUnderlyingValue(FieldUsage value)
Returns a numeric value that represents the given EnumSet or Enum item.
value - A Enum Item or EnumSet.public static int getUnderlyingValue(EnumSet<FieldUsage> value)
Returns a numeric value that represents the given EnumSet or Enum item.
value - A Enum Item or EnumSet.
|
http://www.softwarefx.com | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||