org.moxieapps.gwt.highcharts.client
Enum RangeSelector.ButtonType
java.lang.Object
java.lang.Enum<RangeSelector.ButtonType>
org.moxieapps.gwt.highcharts.client.RangeSelector.ButtonType
- All Implemented Interfaces:
- Serializable, Comparable<RangeSelector.ButtonType>
- Enclosing class:
- RangeSelector
public static enum RangeSelector.ButtonType
- extends Enum<RangeSelector.ButtonType>
An enumeration of supported range selector button types, which can be used with the RangeSelector.Button.setType(RangeSelector.ButtonType)
method.
MILLISECOND
public static final RangeSelector.ButtonType MILLISECOND
SECOND
public static final RangeSelector.ButtonType SECOND
MINUTE
public static final RangeSelector.ButtonType MINUTE
DAY
public static final RangeSelector.ButtonType DAY
WEEK
public static final RangeSelector.ButtonType WEEK
MONTH
public static final RangeSelector.ButtonType MONTH
YTD
public static final RangeSelector.ButtonType YTD
YEAR
public static final RangeSelector.ButtonType YEAR
ALL
public static final RangeSelector.ButtonType ALL
values
public static RangeSelector.ButtonType[] 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 (RangeSelector.ButtonType c : RangeSelector.ButtonType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static RangeSelector.ButtonType 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
toString
public String toString()
- Overrides:
toString
in class Enum<RangeSelector.ButtonType>
Copyright © 2015. All Rights Reserved.