org.deegree.style.styling.components
Enum Mark.SimpleMark

java.lang.Object
  extended by java.lang.Enum<Mark.SimpleMark>
      extended by org.deegree.style.styling.components.Mark.SimpleMark
All Implemented Interfaces:
Serializable, Comparable<Mark.SimpleMark>
Enclosing class:
Mark

public static enum Mark.SimpleMark
extends Enum<Mark.SimpleMark>

SimpleMark

Version:
$Revision: 21314 $, $Date: 2009-12-08 13:48:34 +0100 (Tue, 08 Dec 2009) $
Author:
Andreas Schmitz, last edited by: $Author: aschmitz $

Enum Constant Summary
CIRCLE
           
CROSS
           
SQUARE
           
STAR
           
TRIANGLE
           
X
           
 
Method Summary
static Mark.SimpleMark valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Mark.SimpleMark[] 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, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

SQUARE

public static final Mark.SimpleMark SQUARE

CIRCLE

public static final Mark.SimpleMark CIRCLE

TRIANGLE

public static final Mark.SimpleMark TRIANGLE

STAR

public static final Mark.SimpleMark STAR

CROSS

public static final Mark.SimpleMark CROSS

X

public static final Mark.SimpleMark X
Method Detail

values

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

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

valueOf

public static Mark.SimpleMark 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 © 2011. All Rights Reserved.