com.googlecode.wickedcharts.highcharts.options
Enum ExportingMimeType
java.lang.Object
java.lang.Enum<ExportingMimeType>
com.googlecode.wickedcharts.highcharts.options.ExportingMimeType
- All Implemented Interfaces:
- JsonValueEnum, Serializable, Comparable<ExportingMimeType>
public enum ExportingMimeType
- extends Enum<ExportingMimeType>
- implements JsonValueEnum
Possible values for mime type of exported images.
- Author:
- Tom Hombergs (tom.hombergs@gmail.com)
- See Also:
- http://api.highcharts.com/highcharts#exporting.type
IMAGE_PNG
public static final ExportingMimeType IMAGE_PNG
IMAGE_JPEG
public static final ExportingMimeType IMAGE_JPEG
APPLICATION_PDF
public static final ExportingMimeType APPLICATION_PDF
IMAGE_SVG
public static final ExportingMimeType IMAGE_SVG
values
public static ExportingMimeType[] 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 (ExportingMimeType c : ExportingMimeType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ExportingMimeType 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
getJsonValue
public String getJsonValue()
- Description copied from interface:
JsonValueEnum
- Returns the string representation of the enum in JSON.
- Specified by:
getJsonValue in interface JsonValueEnum
- Returns:
- the JSON value
Copyright © 2013. All Rights Reserved.