org.odftoolkit.simple.style
Enum StyleTypeDefinitions.CellBordersType
java.lang.Object
java.lang.Enum<StyleTypeDefinitions.CellBordersType>
org.odftoolkit.simple.style.StyleTypeDefinitions.CellBordersType
- All Implemented Interfaces:
- Serializable, Comparable<StyleTypeDefinitions.CellBordersType>
- Enclosing class:
- StyleTypeDefinitions
public static enum StyleTypeDefinitions.CellBordersType
- extends Enum<StyleTypeDefinitions.CellBordersType>
Common used border types from users perspective
TOP
public static final StyleTypeDefinitions.CellBordersType TOP
BOTTOM
public static final StyleTypeDefinitions.CellBordersType BOTTOM
LEFT
public static final StyleTypeDefinitions.CellBordersType LEFT
RIGHT
public static final StyleTypeDefinitions.CellBordersType RIGHT
DIAGONALBLTR
public static final StyleTypeDefinitions.CellBordersType DIAGONALBLTR
DIAGONALTLBR
public static final StyleTypeDefinitions.CellBordersType DIAGONALTLBR
NONE
public static final StyleTypeDefinitions.CellBordersType NONE
ALL_FOUR
public static final StyleTypeDefinitions.CellBordersType ALL_FOUR
LEFT_RIGHT
public static final StyleTypeDefinitions.CellBordersType LEFT_RIGHT
TOP_BOTTOM
public static final StyleTypeDefinitions.CellBordersType TOP_BOTTOM
DIAGONAL_LINES
public static final StyleTypeDefinitions.CellBordersType DIAGONAL_LINES
values
public static StyleTypeDefinitions.CellBordersType[] 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 (StyleTypeDefinitions.CellBordersType c : StyleTypeDefinitions.CellBordersType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static StyleTypeDefinitions.CellBordersType valueOf(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:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
enumValueOf
public static StyleTypeDefinitions.CellBordersType enumValueOf(String aValue)
toString
public String toString()
- Overrides:
toString
in class Enum<StyleTypeDefinitions.CellBordersType>
Copyright © 2010-2017 The Apache Software Foundation. All Rights Reserved.