Project: stp

com.ibm.rational.wvcm.stp.cq
Enum CqQuery.ChartOptions.ImageFormat

Object
  extended by Enum<CqQuery.ChartOptions.ImageFormat>
      extended by CqQuery.ChartOptions.ImageFormat
All Implemented Interfaces:
com.ibm.rational.wvcm.stpex.StpExEnumeration, Serializable, Comparable<CqQuery.ChartOptions.ImageFormat>
Enclosing interface:
CqQuery.ChartOptions

public static enum CqQuery.ChartOptions.ImageFormat
extends Enum<CqQuery.ChartOptions.ImageFormat>
implements com.ibm.rational.wvcm.stpex.StpExEnumeration

The possible chart image formats


Enum Constant Summary
JPEG
          Generate the chart in JPEG format
PNG
          Generate the chart in PNG format
 
Method Summary
static CqQuery.ChartOptions.ImageFormat valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CqQuery.ChartOptions.ImageFormat[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

JPEG

public static final CqQuery.ChartOptions.ImageFormat JPEG
Generate the chart in JPEG format


PNG

public static final CqQuery.ChartOptions.ImageFormat PNG
Generate the chart in PNG format

Method Detail

valueOf

public static CqQuery.ChartOptions.ImageFormat 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

values

public static final CqQuery.ChartOptions.ImageFormat[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(CqQuery.ChartOptions.ImageFormat c : CqQuery.ChartOptions.ImageFormat.values())
        System.out.println(c);

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

Generated Sat 15-Jan-2011 04:14 AM

Copyright © IBM 2011. All rights reserved.