|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<ElementClass>
net.sf.jcgm.core.ElementClass
public enum ElementClass
Element classes of CGM commands.
| Method Summary | |
|---|---|
static java.lang.Object |
getElement(int elementClass,
int elementCode)
Returns the element for the given element class and element code |
static ElementClass |
getElementClass(int ec)
Returns the element class for the given class number |
java.lang.String |
toString()
|
static ElementClass |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ElementClass[] |
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 |
|---|
public static final ElementClass DELIMITER_ELEMENTS
public static final ElementClass METAFILE_DESCRIPTOR_ELEMENTS
public static final ElementClass PICTURE_DESCRIPTOR_ELEMENTS
public static final ElementClass CONTROL_ELEMENTS
public static final ElementClass GRAPHICAL_PRIMITIVE_ELEMENTS
public static final ElementClass ATTRIBUTE_ELEMENTS
public static final ElementClass ESCAPE_ELEMENTS
public static final ElementClass EXTERNAL_ELEMENTS
public static final ElementClass SEGMENT_ELEMENTS
public static final ElementClass APPLICATION_STRUCTURE_ELEMENTS
| Method Detail |
|---|
public static ElementClass[] values()
for (ElementClass c : ElementClass.values()) System.out.println(c);
public static ElementClass valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is nullpublic static ElementClass getElementClass(int ec)
ec - The class number to get
public static java.lang.Object getElement(int elementClass,
int elementCode)
elementClass - The class number to getelementCode - The class code to get (depends on the class number)
public java.lang.String toString()
toString in class java.lang.Enum<ElementClass>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||