public enum BorderType extends java.lang.Enum<BorderType>
BorderTypes
represent the built-in border type names that
correspond with Excel's border type scheme. These are used in
conjunction with the border-related properties in the style tag. Legal
values are the names of the enumeration objects, without underscores, case
insensitive, e.g. "thin" == "Thin" == "THIN".
StyleTag
,
StyleParser.PROPERTY_BORDER
,
StyleParser.PROPERTY_BORDER_BOTTOM
,
StyleParser.PROPERTY_BORDER_LEFT
,
StyleParser.PROPERTY_BORDER_RIGHT
,
StyleParser.PROPERTY_BORDER_TOP
Enum Constant | Description |
---|---|
DASHDOT |
|
DASHDOTDOT |
|
DASHED |
|
DOTTED |
|
DOUBLE |
|
HAIR |
|
MEDIUM |
|
MEDIUMDASHDOT |
|
MEDIUMDASHDOTDOT |
|
MEDIUMDASHED |
|
NONE |
|
SLANTEDDASHDOT |
|
THICK |
|
THIN |
Modifier and Type | Method | Description |
---|---|---|
short |
getIndex() |
Returns the index.
|
java.lang.String |
toString() |
Returns the name, in all lowercase, no underscores or spaces.
|
static BorderType |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static BorderType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BorderType NONE
public static final BorderType THIN
public static final BorderType MEDIUM
public static final BorderType DASHED
public static final BorderType HAIR
public static final BorderType THICK
public static final BorderType DOUBLE
public static final BorderType DOTTED
public static final BorderType MEDIUMDASHED
public static final BorderType DASHDOT
public static final BorderType MEDIUMDASHDOT
public static final BorderType DASHDOTDOT
public static final BorderType MEDIUMDASHDOTDOT
public static final BorderType SLANTEDDASHDOT
public static BorderType[] values()
for (BorderType c : BorderType.values()) System.out.println(c);
public static BorderType 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 short getIndex()
public java.lang.String toString()
toString
in class java.lang.Enum<BorderType>
Copyright © 2012–2018 Jett Team. All rights reserved.