public enum CBorderCollapseType extends java.lang.Enum<CBorderCollapseType>
| Enum Constant and Description |
|---|
COLLAPSE
Collapse border model (adjacent borders are merged/collapsed).
|
SEPARATE
Separate border model (borders are not merged; spacing may apply).
|
| Modifier and Type | Method and Description |
|---|---|
int |
getValue()
Get the integer value of this enum.
|
static CBorderCollapseType |
toEnum(int id)
Convert an integer id to
CBorderCollapseType. |
static CBorderCollapseType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CBorderCollapseType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CBorderCollapseType SEPARATE
public static final CBorderCollapseType COLLAPSE
public static CBorderCollapseType[] values()
for (CBorderCollapseType c : CBorderCollapseType.values()) System.out.println(c);
public static CBorderCollapseType 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 static CBorderCollapseType toEnum(int id)
CBorderCollapseType.
If the id is not recognized, SEPARATE is returned by default.id - Integer id.SEPARATE if unknown.public int getValue()