public final class BorderStyle extends TraitEnum
| Modifier and Type | Field and Description |
|---|---|
static BorderStyle |
DASHED
border-style: dashed
|
static BorderStyle |
DOTTED
border-style: dotted
|
static BorderStyle |
DOUBLE
border-style: double
|
static BorderStyle |
GROOVE
border-style: groove
|
static BorderStyle |
HIDDEN
border-style: hidden
|
static BorderStyle |
INSET
border-style: inset
|
static BorderStyle |
NONE
border-style: none
|
static BorderStyle |
NOT_SET
border-style: not-set
|
static BorderStyle |
OUTSET
border-style: outset
|
static BorderStyle |
RIDGE
border-style: ridge
|
static BorderStyle |
SOLID
border-style: solid
|
static BorderStyle |
SQUARE
border-style: square
|
| Modifier and Type | Method and Description |
|---|---|
int |
getSpaceWidth() |
String |
toString() |
static BorderStyle |
valueOf(int enumValue)
Returns the enumeration/singleton object based on its enumValue.
|
static BorderStyle |
valueOf(int enumValue,
int spaceWidth)
Returns the enumeration/singleton object based on its enumValue.
|
static BorderStyle |
valueOf(String name)
Returns the enumeration/singleton object based on its name.
|
static BorderStyle |
valueOf(String name,
int spaceWidth)
Returns the enumeration/singleton object based on its name.
|
BorderStyle |
withSpaceWidth(int spaceWidth) |
getEnumValue, getNamepublic static final BorderStyle NONE
public static final BorderStyle HIDDEN
public static final BorderStyle DOTTED
public static final BorderStyle DASHED
public static final BorderStyle SOLID
public static final BorderStyle DOUBLE
public static final BorderStyle GROOVE
public static final BorderStyle RIDGE
public static final BorderStyle INSET
public static final BorderStyle OUTSET
public static final BorderStyle NOT_SET
public static final BorderStyle SQUARE
public static BorderStyle valueOf(String name)
name - the name of the enumeration valuepublic static BorderStyle valueOf(String name, int spaceWidth)
name - the name of the enumeration valuespaceWidth - space width when using ruled leaderspublic static BorderStyle valueOf(int enumValue)
enumValue - the enumeration valuepublic static BorderStyle valueOf(int enumValue, int spaceWidth)
enumValue - the enumeration valuespaceWidth - space width when using ruled leaderspublic int getSpaceWidth()
public BorderStyle withSpaceWidth(int spaceWidth)
Copyright © 2026 Apache Software Foundation. All rights reserved.