Package ooaofooa.datatypes
Enum Style
- java.lang.Object
-
- java.lang.Enum<Style>
-
- ooaofooa.datatypes.Style
-
- All Implemented Interfaces:
io.ciera.runtime.summit.types.IXtumlType,Serializable,Comparable<Style>
public enum Style extends Enum<Style> implements io.ciera.runtime.summit.types.IXtumlType
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Styledeserialize(Object o)booleanequality(io.ciera.runtime.summit.types.IXtumlType value)intgetValue()Stringserialize()static StylevalueOf(int value)Returns the enum constant of this type with the specified name.static StylevalueOf(String name)Returns the enum constant of this type with the specified name.static Style[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNINITIALIZED_ENUM
public static final Style UNINITIALIZED_ENUM
-
BOX
public static final Style BOX
-
BOXARROWIN
public static final Style BOXARROWIN
-
BOXARROWINOUT
public static final Style BOXARROWINOUT
-
BOXARROWOUT
public static final Style BOXARROWOUT
-
BROKEN
public static final Style BROKEN
-
BULLSEYE
public static final Style BULLSEYE
-
CIRCLE
public static final Style CIRCLE
-
CIRCLECROSS
public static final Style CIRCLECROSS
-
COMPONENT
public static final Style COMPONENT
-
COMPONENTCONTAINER
public static final Style COMPONENTCONTAINER
-
CONCAVEPENTAGON
public static final Style CONCAVEPENTAGON
-
CONVEXPENTAGON
public static final Style CONVEXPENTAGON
-
CROSS
public static final Style CROSS
-
DASH
public static final Style DASH
-
DASHDOUBLE
public static final Style DASHDOUBLE
-
DIAMOND
public static final Style DIAMOND
-
ELLIPSE
public static final Style ELLIPSE
-
FILLEDARROW
public static final Style FILLEDARROW
-
FILLEDCIRCLE
public static final Style FILLEDCIRCLE
-
FILLEDSQUARE
public static final Style FILLEDSQUARE
-
FOLDER
public static final Style FOLDER
-
HOURGLASS
public static final Style HOURGLASS
-
NONE
public static final Style NONE
-
OPENARROW
public static final Style OPENARROW
-
ROUNDBOX
public static final Style ROUNDBOX
-
SEMICIRCLE
public static final Style SEMICIRCLE
-
SOLID
public static final Style SOLID
-
STICKFIGURE
public static final Style STICKFIGURE
-
TRIANGLE
public static final Style TRIANGLE
-
UNDERLINED
public static final Style UNDERLINED
-
-
Method Detail
-
values
public static Style[] 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 (Style c : Style.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Style 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 nameNullPointerException- if the argument is null
-
getValue
public int getValue()
-
equality
public boolean equality(io.ciera.runtime.summit.types.IXtumlType value) throws io.ciera.runtime.summit.exceptions.XtumlException- Specified by:
equalityin interfaceio.ciera.runtime.summit.types.IXtumlType- Throws:
io.ciera.runtime.summit.exceptions.XtumlException
-
serialize
public String serialize()
- Specified by:
serializein interfaceio.ciera.runtime.summit.types.IXtumlType
-
deserialize
public static Style deserialize(Object o) throws io.ciera.runtime.summit.exceptions.XtumlException
- Throws:
io.ciera.runtime.summit.exceptions.XtumlException
-
valueOf
public static Style valueOf(int value)
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:
value- 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 nameNullPointerException- if the argument is null
-
-