Enum Constant and Description |
---|
BLOCK
This value causes an element to generate a principal block box.
|
COMPACT
run-in and compact: These values create either block or inline boxes, depending on
context.
|
INHERIT |
INLINE
This value causes an element to generate one or more inline boxes.
|
INLINE_TABLE
table, inline-table, table-row-group, table-column, table-column-group,
table-header-group, table-footer-group, table-row, table-cell, and table-caption: These
values cause an element to behave like a table element
|
LIST_ITEM
This value causes an element (e.g., LI in HTML) to generate a principal block box and a
list-item inline box.
|
MARKER
This value declares generated content before or after a box to be a marker.
|
NONE
This value causes an element to generate no boxes in the formatting structure (i.e.,
the element has no effect on layout).
|
RUN_IN
run-in and compact: These values create either block or inline boxes, depending on
context.
|
TABLE
table, inline-table, table-row-group, table-column, table-column-group,
table-header-group, table-footer-group, table-row, table-cell, and table-caption:
These values cause an element to behave like a table element
|
TABLE_CAPTION
table, inline-table, table-row-group, table-column, table-column-group,
table-header-group, table-footer-group, table-row, table-cell, and
table-caption: These values cause an element to behave like a table element
|
TABLE_CELL
table, inline-table, table-row-group, table-column, table-column-group,
table-header-group, table-footer-group, table-row, table-cell, and table-caption:
These values cause an element to behave like a table element
|
TABLE_COLUMN
table, inline-table, table-row-group, table-column, table-column-group,
table-header-group, table-footer-group, table-row, table-cell, and table-caption:
These values cause an element to behave like a table element
|
TABLE_COLUMN_GROUP
table, inline-table, table-row-group, table-column, table-column-group,
table-header-group, table-footer-group, table-row, table-cell, and
table-caption: These values cause an element to behave like a table element
|
TABLE_FOOTER_GROUP
table, inline-table, table-row-group, table-column, table-column-group,
table-header-group, table-footer-group, table-row, table-cell, and table-caption:
These values cause an element to behave like a table element
|
TABLE_HEADER_GROUP
table, inline-table, table-row-group, table-column, table-column-group,
table-header-group, table-footer-group, table-row, table-cell, and table-caption:
These values cause an element to behave like a table element
|
TABLE_ROW
table, inline-table, table-row-group, table-column, table-column-group,
table-header-group, table-footer-group, table-row, table-cell, and table-caption:
These values cause an element to behave like a table element
|
TABLE_ROW_GROUP
table, inline-table, table-row-group, table-column, table-column-group,
table-header-group, table-footer-group, table-row, table-cell, and table-caption:
These values cause an element to behave like a table element
|
Modifier and Type | Method and Description |
---|---|
static Display |
fromString(java.lang.String value)
Converts the given string into a Display representation
|
java.lang.String |
getDisplay()
Returns the String representation for the display property
|
static Display |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Display[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Display INLINE
public static final Display BLOCK
public static final Display LIST_ITEM
public static final Display RUN_IN
public static final Display COMPACT
public static final Display MARKER
public static final Display TABLE
public static final Display INLINE_TABLE
public static final Display TABLE_ROW_GROUP
public static final Display TABLE_HEADER_GROUP
public static final Display TABLE_FOOTER_GROUP
public static final Display TABLE_ROW
public static final Display TABLE_COLUMN_GROUP
public static final Display TABLE_COLUMN
public static final Display TABLE_CELL
public static final Display TABLE_CAPTION
public static final Display NONE
public static final Display INHERIT
public static Display[] values()
for (Display c : Display.values()) System.out.println(c);
public static Display 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 java.lang.String getDisplay()
public static Display fromString(java.lang.String value)
value
- The value to turn into a Display representation