com.esri.core.symbol
Enum SimpleLineSymbol.STYLE

java.lang.Object
  extended by java.lang.Enum<SimpleLineSymbol.STYLE>
      extended by com.esri.core.symbol.SimpleLineSymbol.STYLE
All Implemented Interfaces:
Serializable, Comparable<SimpleLineSymbol.STYLE>
Enclosing class:
SimpleLineSymbol

public static enum SimpleLineSymbol.STYLE
extends Enum<SimpleLineSymbol.STYLE>

The simple line style

 DASH        dash line.
 DASHDOT     dash dot line.    
 DASHDOTDOT  dash dot dot line.
 DOT         dot line.
 NULL        invisible line.
 SOLID       solid line.
 


Enum Constant Summary
DASH
           
DASHDOT
           
DASHDOTDOT
           
DOT
           
NULL
           
SOLID
           
 
Method Summary
static SimpleLineSymbol.STYLE fromString(String style)
          Returns the STYLE constant using specified style text.
 String toString()
           
static SimpleLineSymbol.STYLE valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SimpleLineSymbol.STYLE[] values()
          Returns an array containing the constants of this enum type, in the order they are 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

DASH

public static final SimpleLineSymbol.STYLE DASH

DASHDOT

public static final SimpleLineSymbol.STYLE DASHDOT

DASHDOTDOT

public static final SimpleLineSymbol.STYLE DASHDOTDOT

DOT

public static final SimpleLineSymbol.STYLE DOT

NULL

public static final SimpleLineSymbol.STYLE NULL

SOLID

public static final SimpleLineSymbol.STYLE SOLID
Method Detail

values

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

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

valueOf

public static SimpleLineSymbol.STYLE 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<SimpleLineSymbol.STYLE>

fromString

public static SimpleLineSymbol.STYLE fromString(String style)
Returns the STYLE constant using specified style text.

Parameters:
style - style in text.
Returns:
STYLE constant.


Copyright © 2012. All Rights Reserved.