net.sf.jcgm.core
Enum ControlElement

java.lang.Object
  extended by java.lang.Enum<ControlElement>
      extended by net.sf.jcgm.core.ControlElement
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ControlElement>

public enum ControlElement
extends java.lang.Enum<ControlElement>

Element class 3: Control Elements

Since:
Dec 15, 2009
Version:
$Id: ControlElement.java 46 2011-12-14 08:26:44Z phica $
Author:
Philippe Cadé

Enum Constant Summary
AUXILIARY_COLOUR
           
CLIP_INDICATOR
           
CLIP_RECTANGLE
           
EDGE_CLIPPING_MODE
           
GENERALIZED_TEXT_PATH_MODE
           
LINE_CLIPPING_MODE
           
MARKER_CLIPPING_MODE
           
MITRE_LIMIT
           
NEW_REGION
           
PROTECTION_REGION_INDICATOR
           
RESTORE_PRIMITIVE_CONTEXT
           
SAVE_PRIMITIVE_CONTEXT
           
TRANSPARENCY
           
TRANSPARENT_CELL_COLOUR
           
UNUSED_0
           
UNUSED_13
           
UNUSED_14
           
UNUSED_15
           
UNUSED_16
           
VDC_INTEGER_PRECISION
           
VDC_REAL_PRECISION
           
 
Method Summary
static ControlElement getElement(int ec)
           
 java.lang.String toString()
           
static ControlElement valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ControlElement[] 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

UNUSED_0

public static final ControlElement UNUSED_0

VDC_INTEGER_PRECISION

public static final ControlElement VDC_INTEGER_PRECISION

VDC_REAL_PRECISION

public static final ControlElement VDC_REAL_PRECISION

AUXILIARY_COLOUR

public static final ControlElement AUXILIARY_COLOUR

TRANSPARENCY

public static final ControlElement TRANSPARENCY

CLIP_RECTANGLE

public static final ControlElement CLIP_RECTANGLE

CLIP_INDICATOR

public static final ControlElement CLIP_INDICATOR

LINE_CLIPPING_MODE

public static final ControlElement LINE_CLIPPING_MODE

MARKER_CLIPPING_MODE

public static final ControlElement MARKER_CLIPPING_MODE

EDGE_CLIPPING_MODE

public static final ControlElement EDGE_CLIPPING_MODE

NEW_REGION

public static final ControlElement NEW_REGION

SAVE_PRIMITIVE_CONTEXT

public static final ControlElement SAVE_PRIMITIVE_CONTEXT

RESTORE_PRIMITIVE_CONTEXT

public static final ControlElement RESTORE_PRIMITIVE_CONTEXT

UNUSED_13

public static final ControlElement UNUSED_13

UNUSED_14

public static final ControlElement UNUSED_14

UNUSED_15

public static final ControlElement UNUSED_15

UNUSED_16

public static final ControlElement UNUSED_16

PROTECTION_REGION_INDICATOR

public static final ControlElement PROTECTION_REGION_INDICATOR

GENERALIZED_TEXT_PATH_MODE

public static final ControlElement GENERALIZED_TEXT_PATH_MODE

MITRE_LIMIT

public static final ControlElement MITRE_LIMIT

TRANSPARENT_CELL_COLOUR

public static final ControlElement TRANSPARENT_CELL_COLOUR
Method Detail

values

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

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

valueOf

public static ControlElement valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getElement

public static ControlElement getElement(int ec)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<ControlElement>


Part of the jcgm library http://jcgm.sourceforge.net/