org.moxieapps.gwt.highcharts.client
Enum PlotLine.DashStyle

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

public static enum PlotLine.DashStyle
extends Enum<PlotLine.DashStyle>

An enumeration of supported dash style types, which can be passed to the PlotLine.setDashStyle(DashStyle) method. See this demonstration for a visible reference of the available dash styles.


Enum Constant Summary
DASH
          Medium size dashes, "-- -- -- --"
DASH_DOT
          Medium size dashes and a dot, "-- .
DOT
          Large (widely spaced) dots, ".
LONG_DASH
          Long dashes, "--- --- --- ---"
LONG_DASH_DOT
          Long dashes and a dot, "--- .
LONG_DASH_DOT_DOT
          Long dashes and two dots, "--- ..
SHORT_DASH
          Short dashes, "- - - -"
SHORT_DASH_DOT
          Short (tightly spaced) dash and dots, "- .
SHORT_DASH_DOT_DOT
          Short (tightly spaced) dash and two dots, "- .
SHORT_DOT
          Short (tightly spaced) dots, ".
SOLID
          Solid line, no dashes
 
Method Summary
 String toString()
           
static PlotLine.DashStyle valueOf(String name)
          Returns the enum constant of this type with the specified name.
static PlotLine.DashStyle[] 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

SOLID

public static final PlotLine.DashStyle SOLID
Solid line, no dashes


SHORT_DASH

public static final PlotLine.DashStyle SHORT_DASH
Short dashes, "- - - -"


SHORT_DOT

public static final PlotLine.DashStyle SHORT_DOT
Short (tightly spaced) dots, ". . . ."


SHORT_DASH_DOT

public static final PlotLine.DashStyle SHORT_DASH_DOT
Short (tightly spaced) dash and dots, "- . - . - ."


SHORT_DASH_DOT_DOT

public static final PlotLine.DashStyle SHORT_DASH_DOT_DOT
Short (tightly spaced) dash and two dots, "- . . - . . - . ."


DOT

public static final PlotLine.DashStyle DOT
Large (widely spaced) dots, ". . . . ."


DASH

public static final PlotLine.DashStyle DASH
Medium size dashes, "-- -- -- --"


LONG_DASH

public static final PlotLine.DashStyle LONG_DASH
Long dashes, "--- --- --- ---"


DASH_DOT

public static final PlotLine.DashStyle DASH_DOT
Medium size dashes and a dot, "-- . -- . -- . --"


LONG_DASH_DOT

public static final PlotLine.DashStyle LONG_DASH_DOT
Long dashes and a dot, "--- . --- . --- . ---"


LONG_DASH_DOT_DOT

public static final PlotLine.DashStyle LONG_DASH_DOT_DOT
Long dashes and two dots, "--- .. --- .. --- .. ---"

Method Detail

values

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

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

valueOf

public static PlotLine.DashStyle 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<PlotLine.DashStyle>


Copyright © 2015. All Rights Reserved.