thinwire.ui.style
Enum Border.Type
java.lang.Object
java.lang.Enum<Border.Type>
thinwire.ui.style.Border.Type
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<Border.Type>
- Enclosing class:
- Border
public static enum Border.Type
- extends java.lang.Enum<Border.Type>
Method Summary |
java.lang.String |
toString()
|
static Border.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Border.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they're declared. |
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
NONE
public static final Border.Type NONE
SOLID
public static final Border.Type SOLID
DOUBLE
public static final Border.Type DOUBLE
INSET
public static final Border.Type INSET
OUTSET
public static final Border.Type OUTSET
RIDGE
public static final Border.Type RIDGE
GROOVE
public static final Border.Type GROOVE
DASHED
public static final Border.Type DASHED
DOTTED
public static final Border.Type DOTTED
IMAGE
public static final Border.Type IMAGE
values
public static final Border.Type[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(Border.Type c : Border.Type.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static Border.Type valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Enum<Border.Type>