| Enum Constant and Description |
|---|
background
Shape provide for background painting.
|
border
Shape provided for border painting.
|
innerShade
Shape provided for inner shade painting.
|
outerShade
Shape provided for outer shade painting.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isBackground()
Returns whether or not provided shape has background type.
|
boolean |
isBorder()
Returns whether or not provided shape has border type.
|
boolean |
isInnerShade()
Returns whether or not provided shape has inner shade type.
|
boolean |
isOuterShade()
Returns whether or not provided shape has outer shade type.
|
boolean |
isShade()
Returns whether or not provided shape has shade type.
|
static ShapeType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ShapeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ShapeType outerShade
public static final ShapeType border
public static final ShapeType innerShade
public static final ShapeType background
public static ShapeType[] values()
for (ShapeType c : ShapeType.values()) System.out.println(c);
public static ShapeType 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 boolean isShade()
public boolean isOuterShade()
public boolean isBorder()
public boolean isInnerShade()
public boolean isBackground()