org.moxieapps.gwt.highcharts.client
Enum ContextButton.Symbol

java.lang.Object
  extended by java.lang.Enum<ContextButton.Symbol>
      extended by org.moxieapps.gwt.highcharts.client.ContextButton.Symbol
All Implemented Interfaces:
Serializable, Comparable<ContextButton.Symbol>
Enclosing class:
ContextButton

public static enum ContextButton.Symbol
extends Enum<ContextButton.Symbol>

An enumeration of supported marker symbol types, which can be passed to methods like ContextButton.setSymbol(ContextButton.Symbol) method.

Note that custom marker images are also supported by simply setting the "symbol" option to a URL reference. E.g.


    marker.setOption("symbol", "url(/serverpath/image.png)");
 


Enum Constant Summary
CIRCLE
          Represent the marker with a circular shape
DIAMOND
          Represent the marker with a diamond shape
SQUARE
          Represent the marker with a square shape
TRIANGLE
          Represent the marker with a triangular shape
TRIANGLE_DOWN
          Represent the marker with an upside down triangular shape
 
Method Summary
 String toString()
           
static ContextButton.Symbol valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ContextButton.Symbol[] 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

CIRCLE

public static final ContextButton.Symbol CIRCLE
Represent the marker with a circular shape


SQUARE

public static final ContextButton.Symbol SQUARE
Represent the marker with a square shape


DIAMOND

public static final ContextButton.Symbol DIAMOND
Represent the marker with a diamond shape


TRIANGLE

public static final ContextButton.Symbol TRIANGLE
Represent the marker with a triangular shape


TRIANGLE_DOWN

public static final ContextButton.Symbol TRIANGLE_DOWN
Represent the marker with an upside down triangular shape

Method Detail

values

public static ContextButton.Symbol[] 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 (ContextButton.Symbol c : ContextButton.Symbol.values())
    System.out.println(c);

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

valueOf

public static ContextButton.Symbol 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<ContextButton.Symbol>


Copyright © 2015. All Rights Reserved.