org.apache.poi.sl.usermodel
Enum TableCell.BorderEdge
java.lang.Object
java.lang.Enum<TableCell.BorderEdge>
org.apache.poi.sl.usermodel.TableCell.BorderEdge
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<TableCell.BorderEdge>
- Enclosing interface:
- TableCell<S extends Shape<S,P>,P extends TextParagraph<S,P,?>>
public static enum TableCell.BorderEdge
- extends java.lang.Enum<TableCell.BorderEdge>
Method Summary |
static TableCell.BorderEdge |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static TableCell.BorderEdge[] |
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 |
bottom
public static final TableCell.BorderEdge bottom
left
public static final TableCell.BorderEdge left
top
public static final TableCell.BorderEdge top
right
public static final TableCell.BorderEdge right
values
public static TableCell.BorderEdge[] 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 (TableCell.BorderEdge c : TableCell.BorderEdge.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static TableCell.BorderEdge 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
java.lang.NullPointerException
- if the argument is null