Chart FX 7 for Java Server

com.softwarefx.chartfx.server
Enum FileFormat

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

public enum FileFormat
extends Enum<FileFormat>

Defines valid file formats for import and export.


Enum Constant Summary
BINARY
          Binary
BINARY_TEMPLATE
          Binary file with 'Template' FileMask pre-assigned
BITMAP
          Bitmap
EXTERNAL
          Reads the sting (file extension) from the ImgTags property and uses an image writer to generate a chart in the configured format.
JPEG
          Jpeg (Only supported with Internet control)
METAFILE
          Metafile
PNG
          Png (Only supported with Internet control)
TEXT
          Text File
XML
          XML
 
Method Summary
static EnumSet<FileFormat> getEnumSetValue(int value)
          Returns a EnumSet that represents the given numeric value.
static FileFormat getEnumValue(int value)
          Returns a Enum Item that represents the given numeric value.
static int getUnderlyingValue(EnumSet<FileFormat> value)
          Returns a numeric value that represents the given EnumSet or Enum item.
static int getUnderlyingValue(FileFormat value)
          Returns a numeric value that represents the given EnumSet or Enum item.
static FileFormat valueOf(String name)
          Returns the enum constant of this type with the specified name.
static FileFormat[] 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

BINARY

public static final FileFormat BINARY
Binary


BINARY_TEMPLATE

public static final FileFormat BINARY_TEMPLATE
Binary file with 'Template' FileMask pre-assigned


XML

public static final FileFormat XML
XML


TEXT

public static final FileFormat TEXT
Text File


BITMAP

public static final FileFormat BITMAP
Bitmap


METAFILE

public static final FileFormat METAFILE
Metafile


JPEG

public static final FileFormat JPEG
Jpeg (Only supported with Internet control)


PNG

public static final FileFormat PNG
Png (Only supported with Internet control)


EXTERNAL

public static final FileFormat EXTERNAL
Reads the sting (file extension) from the ImgTags property and uses an image writer to generate a chart in the configured format. (Only supported with Internet control)

Method Detail

values

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

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

valueOf

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

Returns a EnumSet that represents the given numeric value.

Parameters:
value - numeric representation of the Enumset.

getEnumValue

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