|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<ShapeFactory.Paths>
view.ShapeFactory.Paths
public static enum ShapeFactory.Paths
For generating general path from strings.
| Enum Constant Summary | |
|---|---|
CLOSE
|
|
CURVE
|
|
DIAMOND
|
|
ELLIPSE
|
|
LINE
|
|
MOVE
|
|
PLUS
|
|
QUAD
|
|
RECTANGLE
|
|
STAR
|
|
TRIANGLEDOWN
|
|
TRIANGLEUP
|
|
X
|
|
| Field Summary | |
|---|---|
private String |
abbrev
An abbreviation to the enum name for compatibility. |
| Method Summary | |
|---|---|
static ShapeFactory.Paths |
abbreviationOf(String sc)
Retruns the enum from its abbreviation. |
String |
getShort()
An abbreviation to the enum name for compatibility. |
static ShapeFactory.Paths |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ShapeFactory.Paths[] |
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, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final ShapeFactory.Paths MOVE
public static final ShapeFactory.Paths LINE
public static final ShapeFactory.Paths QUAD
public static final ShapeFactory.Paths CURVE
public static final ShapeFactory.Paths ELLIPSE
public static final ShapeFactory.Paths RECTANGLE
public static final ShapeFactory.Paths TRIANGLEUP
public static final ShapeFactory.Paths TRIANGLEDOWN
public static final ShapeFactory.Paths DIAMOND
public static final ShapeFactory.Paths X
public static final ShapeFactory.Paths PLUS
public static final ShapeFactory.Paths STAR
public static final ShapeFactory.Paths CLOSE
| Field Detail |
|---|
private String abbrev
| Method Detail |
|---|
public static ShapeFactory.Paths[] values()
for (ShapeFactory.Paths c : ShapeFactory.Paths.values()) System.out.println(c);
public static ShapeFactory.Paths valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic static final ShapeFactory.Paths abbreviationOf(String sc)
public String getShort()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||