net.sf.jcgm.core
Enum GraphicalPrimitiveElements
java.lang.Object
java.lang.Enum<GraphicalPrimitiveElements>
net.sf.jcgm.core.GraphicalPrimitiveElements
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<GraphicalPrimitiveElements>
public enum GraphicalPrimitiveElements
- extends java.lang.Enum<GraphicalPrimitiveElements>
Element class 4: Graphical Primitive Elements
- Since:
- Dec 15, 2009
- Version:
- $Id: GraphicalPrimitiveElements.java 46 2011-12-14 08:26:44Z phica $
- Author:
- Philippe Cadé
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 |
UNUSED_0
public static final GraphicalPrimitiveElements UNUSED_0
POLYLINE
public static final GraphicalPrimitiveElements POLYLINE
DISJOINT_POLYLINE
public static final GraphicalPrimitiveElements DISJOINT_POLYLINE
POLYMARKER
public static final GraphicalPrimitiveElements POLYMARKER
TEXT
public static final GraphicalPrimitiveElements TEXT
RESTRICTED_TEXT
public static final GraphicalPrimitiveElements RESTRICTED_TEXT
APPEND_TEXT
public static final GraphicalPrimitiveElements APPEND_TEXT
POLYGON
public static final GraphicalPrimitiveElements POLYGON
POLYGON_SET
public static final GraphicalPrimitiveElements POLYGON_SET
CELL_ARRAY
public static final GraphicalPrimitiveElements CELL_ARRAY
GENERALIZED_DRAWING_PRIMITIVE
public static final GraphicalPrimitiveElements GENERALIZED_DRAWING_PRIMITIVE
RECTANGLE
public static final GraphicalPrimitiveElements RECTANGLE
CIRCLE
public static final GraphicalPrimitiveElements CIRCLE
CIRCULAR_ARC_3_POINT
public static final GraphicalPrimitiveElements CIRCULAR_ARC_3_POINT
CIRCULAR_ARC_3_POINT_CLOSE
public static final GraphicalPrimitiveElements CIRCULAR_ARC_3_POINT_CLOSE
CIRCULAR_ARC_CENTRE
public static final GraphicalPrimitiveElements CIRCULAR_ARC_CENTRE
CIRCULAR_ARC_CENTRE_CLOSE
public static final GraphicalPrimitiveElements CIRCULAR_ARC_CENTRE_CLOSE
ELLIPSE
public static final GraphicalPrimitiveElements ELLIPSE
ELLIPTICAL_ARC
public static final GraphicalPrimitiveElements ELLIPTICAL_ARC
ELLIPTICAL_ARC_CLOSE
public static final GraphicalPrimitiveElements ELLIPTICAL_ARC_CLOSE
CIRCULAR_ARC_CENTRE_REVERSED
public static final GraphicalPrimitiveElements CIRCULAR_ARC_CENTRE_REVERSED
CONNECTING_EDGE
public static final GraphicalPrimitiveElements CONNECTING_EDGE
HYPERBOLIC_ARC
public static final GraphicalPrimitiveElements HYPERBOLIC_ARC
PARABOLIC_ARC
public static final GraphicalPrimitiveElements PARABOLIC_ARC
NON_UNIFORM_B_SPLINE
public static final GraphicalPrimitiveElements NON_UNIFORM_B_SPLINE
NON_UNIFORM_RATIONAL_B_SPLINE
public static final GraphicalPrimitiveElements NON_UNIFORM_RATIONAL_B_SPLINE
POLYBEZIER
public static final GraphicalPrimitiveElements POLYBEZIER
POLYSYMBOL
public static final GraphicalPrimitiveElements POLYSYMBOL
BITONAL_TILE
public static final GraphicalPrimitiveElements BITONAL_TILE
TILE
public static final GraphicalPrimitiveElements TILE
values
public static GraphicalPrimitiveElements[] 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 (GraphicalPrimitiveElements c : GraphicalPrimitiveElements.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static GraphicalPrimitiveElements 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 GraphicalPrimitiveElements getElement(int ec)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Enum<GraphicalPrimitiveElements>
Part of the jcgm library http://jcgm.sourceforge.net/