Chart FX 7 for Java Server

com.softwarefx.chartfx.server
Enum FileContents

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

public enum FileContents
extends Enum<FileContents>

FileContents (FileContent, TemplateContents properties)


Enum Constant Summary
ALL
          Save all chart settings (all of the above) in the chart file.
AXIS_SECTIONS
          Save AxisSection settings in the chart file.
COLORS_AND_STYLES
          Save color and style settings in the chart file.
CUSTOM_GRIDLINES
          Save CustomGridlines settings in the chart file.
DATA
          Save numeric data in the chart file.
DATA_BIND
          Save all current data with the chart file.
DEFAULT
          Default elements stored in the chart file.
DOCKABLE_BARS
          Save DockableBars in the chart file.
EXTENSIONS
          Save active extensions and their settings in the chart file.
FONTS
          Save font settings in the chart file.
GENERAL
          Save chart type and general effects in the chart file.
INTERNET
          Saves domain information about the chart's parent website.
LICENSE
          Saves license information in the chart file.
PER_POINT_ATTRIBUTES
          Save PointAttributes in the chart file.
PICTURES
          Save image information in the chart file.
PRINTER_INFO
          Save printer settings in the chart file.
REUSE_EXTENSIONS
          Saves configuration information in the chart file so that it may be reused with new data values.
SCALE
          Save axes scale in the chart file.
SCROLL_ZOOM_INFO
          Saves ScrollView/Zoom settings in the chart file.
SERIES_ATTRIBUTES
          Save SeriesAttributes in the chart file.
TEMPLATE
          Save as a Chart Template (No Data).
TEXT
          Save Text in the file.
TITLES
          Save titles in the chart file.
TITLES_TEXT
          Saves the text set for title elements
 
Method Summary
static EnumSet<FileContents> getEnumSetValue(int value)
          Returns a EnumSet that represents the given numeric value.
static FileContents getEnumValue(int value)
          Returns a Enum Item that represents the given numeric value.
static int getUnderlyingValue(EnumSet<FileContents> value)
          Returns a numeric value that represents the given EnumSet or Enum item.
static int getUnderlyingValue(FileContents value)
          Returns a numeric value that represents the given EnumSet or Enum item.
static FileContents valueOf(String name)
          Returns the enum constant of this type with the specified name.
static FileContents[] 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

GENERAL

public static final FileContents GENERAL
Save chart type and general effects in the chart file.


FONTS

public static final FileContents FONTS
Save font settings in the chart file.


SCALE

public static final FileContents SCALE
Save axes scale in the chart file.


TITLES

public static final FileContents TITLES
Save titles in the chart file.


COLORS_AND_STYLES

public static final FileContents COLORS_AND_STYLES
Save color and style settings in the chart file.


SERIES_ATTRIBUTES

public static final FileContents SERIES_ATTRIBUTES
Save SeriesAttributes in the chart file.


PER_POINT_ATTRIBUTES

public static final FileContents PER_POINT_ATTRIBUTES
Save PointAttributes in the chart file.


TEXT

public static final FileContents TEXT
Save Text in the file.


DATA

public static final FileContents DATA
Save numeric data in the chart file.


DOCKABLE_BARS

public static final FileContents DOCKABLE_BARS
Save DockableBars in the chart file.


EXTENSIONS

public static final FileContents EXTENSIONS
Save active extensions and their settings in the chart file.


PRINTER_INFO

public static final FileContents PRINTER_INFO
Save printer settings in the chart file.


PICTURES

public static final FileContents PICTURES
Save image information in the chart file.


AXIS_SECTIONS

public static final FileContents AXIS_SECTIONS
Save AxisSection settings in the chart file.


CUSTOM_GRIDLINES

public static final FileContents CUSTOM_GRIDLINES
Save CustomGridlines settings in the chart file.


LICENSE

public static final FileContents LICENSE
Saves license information in the chart file.


INTERNET

public static final FileContents INTERNET
Saves domain information about the chart's parent website.


SCROLL_ZOOM_INFO

public static final FileContents SCROLL_ZOOM_INFO
Saves ScrollView/Zoom settings in the chart file.


DATA_BIND

public static final FileContents DATA_BIND
Save all current data with the chart file.


ALL

public static final FileContents ALL
Save all chart settings (all of the above) in the chart file.


REUSE_EXTENSIONS

public static final FileContents REUSE_EXTENSIONS
Saves configuration information in the chart file so that it may be reused with new data values.


TITLES_TEXT

public static final FileContents TITLES_TEXT
Saves the text set for title elements


TEMPLATE

public static final FileContents TEMPLATE
Save as a Chart Template (No Data).


DEFAULT

public static final FileContents DEFAULT
Default elements stored in the chart file.

Method Detail

values

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

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

valueOf

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

Returns a EnumSet that represents the given numeric value.

Parameters:
value - numeric representation of the Enumset.

getEnumValue

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