org.sbml.jsbml.ext.layout
public static enum CurveSegment.Type extends java.lang.Enum<CurveSegment.Type>
Enum Constant and Description |
---|
CUBIC_BEZIER |
LINE_SEGMENT |
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
xmlString |
Modifier and Type | Method and Description |
---|---|
static CurveSegment.Type |
fromString(java.lang.String value) |
java.lang.String |
getXmlString()
Returns the xmlString
|
java.lang.String |
toString() |
static CurveSegment.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CurveSegment.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CurveSegment.Type CUBIC_BEZIER
public static final CurveSegment.Type LINE_SEGMENT
public static CurveSegment.Type[] values()
for (CurveSegment.Type c : CurveSegment.Type.values()) System.out.println(c);
public static CurveSegment.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 nullpublic static CurveSegment.Type fromString(java.lang.String value)
public java.lang.String getXmlString()
public java.lang.String toString()
toString
in class java.lang.Enum<CurveSegment.Type>