org.moxieapps.gwt.highcharts.client
Enum RangeSelector.ButtonType

java.lang.Object
  extended by java.lang.Enum<RangeSelector.ButtonType>
      extended by 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.


Enum Constant Summary
ALL
           
DAY
           
MILLISECOND
           
MINUTE
           
MONTH
           
SECOND
           
WEEK
           
YEAR
           
YTD
           
 
Method Summary
 String toString()
           
static RangeSelector.ButtonType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static RangeSelector.ButtonType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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.