org.geotoolkit.io.wkt
Enum Colors.Element

Object
  extended by Enum<Colors.Element>
      extended by Colors.Element
All Implemented Interfaces:
Serializable, Comparable<Colors.Element>
Enclosing class:
Colors

public static enum Colors.Element
extends Enum<Colors.Element>

Keys for syntatic elements to be colorized.

Since:
3.00
Version:
3.00
Author:
Martin Desruisseaux (Geomatys)
Module:
referencing/geotk-referencing (download)    View source code for this class

Enum Constant Summary
AXIS
          Axes.
CODE_LIST
          Code list values.
DATUM
          Datum.
ERROR
          Unformattable elements.
INTEGER
          Integer numbers.
METHOD
          Operation methods.
NUMBER
          Floating point numbers (excluding integer types).
PARAMETER
          Parameter values.
UNIT
          Units of measurement.
 
Method Summary
static Colors.Element valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Colors.Element[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NUMBER

public static final Colors.Element NUMBER
Floating point numbers (excluding integer types).


INTEGER

public static final Colors.Element INTEGER
Integer numbers.


UNIT

public static final Colors.Element UNIT
Units of measurement. In referencing WKT, this is the text inside UNIT elements.


AXIS

public static final Colors.Element AXIS
Axes. In referencing WKT, this is the text inside AXIS elements.


CODE_LIST

public static final Colors.Element CODE_LIST
Code list values.


PARAMETER

public static final Colors.Element PARAMETER
Parameter values. In referencing WKT, this is the text inside PARAMETER elements.


METHOD

public static final Colors.Element METHOD
Operation methods. In referencing WKT, this is the text inside PROJECTION elements.


DATUM

public static final Colors.Element DATUM
Datum. In referencing WKT, this is the text inside DATUM elements.


ERROR

public static final Colors.Element ERROR
Unformattable elements.

Method Detail

values

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

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

valueOf

public static Colors.Element 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


Copyright © 2009-2011 Geotoolkit.org. All Rights Reserved.