|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<DataEncoding>
com.googlecode.charts4j.DataEncoding
public enum DataEncoding
Specify the data encoding to supply to the Google Chart API. The only advantage to the simple encoding scheme is it will ultimately result in shorter URLs, but at the cost of lower resolution. charts4j defaults to extended encoding, but if you have lots of data and if you are willing to sacrifice resolution, the simple encoding may be right for you. Text encoding was included for the sake of completeness. Text encoding has limited usefulness other than perhaps debugging. It should probably be avoided unless you want to see the actual data in the URL at the cost of a much longer URL.
GChart.setDataEncoding(DataEncoding dataEncoding)
Enum Constant Summary | |
---|---|
EXTENDED
Extended Data Encoding. |
|
SIMPLE
Simple Data Encoding. |
|
TEXT
Text Data Encoding. |
Method Summary | |
---|---|
String |
toString()
|
static DataEncoding |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static DataEncoding[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final DataEncoding SIMPLE
public static final DataEncoding EXTENDED
public static final DataEncoding TEXT
Method Detail |
---|
public static final DataEncoding[] values()
for(DataEncoding c : DataEncoding.values()) System.out.println(c);
public static DataEncoding valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified namepublic String toString()
toString
in class Enum<DataEncoding>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |