public static enum Style.Type extends java.lang.Enum<Style.Type>
LocalStyle
and GlobalStyle
elements, in order to apply a particular style to a
GraphicalObject
.
This is done via the typeList attribute that uses the StyleType as its data type. A valid typeList attribute value is a combination of one or more of the enumeration values separated by white spaces.
The ANY
value specifies that this styles applies to any type of glyph and would be equivalent to listing all the
other keywords.
Enum Constant | Description |
---|---|
ANY |
|
COMPARTMENTGLYPH |
|
GENERALGLYPH |
|
GRAPHICALOBJECT |
|
REACTIONGLYPH |
|
SPECIESGLYPH |
|
SPECIESREFERENCEGLYPH |
|
TEXTGLYPH |
Modifier and Type | Method | Description |
---|---|---|
static Style.Type |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static Style.Type[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Style.Type COMPARTMENTGLYPH
public static final Style.Type SPECIESGLYPH
public static final Style.Type REACTIONGLYPH
public static final Style.Type SPECIESREFERENCEGLYPH
public static final Style.Type TEXTGLYPH
public static final Style.Type GENERALGLYPH
public static final Style.Type GRAPHICALOBJECT
public static final Style.Type ANY
public static Style.Type[] values()
for (Style.Type c : Style.Type.values()) System.out.println(c);
public static Style.Type 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 namejava.lang.NullPointerException
- if the argument is null