public enum BorderModel extends java.lang.Enum<BorderModel>
An enumeration of the possible table border models. Since each cell in a table can define its own borders, a table border model is needed to determine whether (for example) the bottom border of one cell is the same border as the top border of the cell below it, or whether there are actually two separate borders.
Enum Constant and Description |
---|
COLLAPSE
Indicates use of the collapsing borders model.
|
COLLAPSE_WITH_PRECEDENCE
Indicates use of the collapsing borders model and the use of border
precedence properties for conflict resolution.
|
SEPARATE
Indicates use of the separated borders border model.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isCollapse()
Indicates whether this model is the collapse model.
|
static BorderModel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BorderModel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BorderModel COLLAPSE
public static final BorderModel COLLAPSE_WITH_PRECEDENCE
public static final BorderModel SEPARATE
public static BorderModel[] values()
for (BorderModel c : BorderModel.values()) System.out.println(c);
public static BorderModel 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 boolean isCollapse()
This documentation was created 2017-01-24 at 21:26 GMT by The aXSL Group and may be freely copied. See license for details.