public static enum StyledView.Display extends Enum<StyledView.Display>
Enum Constant and Description |
---|
BLOCK
Corresponds to display:block.
|
INLINE
Corresponds to display:inline.
|
INLINE_BLOCK
Corresponds to display:inline-block.
|
INLINE_TABLE
Corresponds to display:inline-table.
|
INLINE_TREE
Corresponds to display:inline-tree (a non-standard value
used to style an element as an inline tree).
|
LIST_ITEM
Corresponds to display:list-item.
|
MARKER
Corresponds to display:marker.
|
SUBTABLE
Corresponds to display:subtable (a non-standard value used
to style elements such as DocBook's entrytbl).
|
TABLE
Corresponds to display:table.
|
TABLE_CAPTION
Corresponds to display:table-caption.
|
TABLE_CELL
Corresponds to display:table-cell.
|
TABLE_COLUMN
Corresponds to display:table-column.
|
TABLE_COLUMN_GROUP
Corresponds to display:table-column-group.
|
TABLE_FOOTER_GROUP
Corresponds to display:table-footer-group.
|
TABLE_HEADER_GROUP
Corresponds to display:table-header-group.
|
TABLE_ROW
Corresponds to display:table-row.
|
TABLE_ROW_GROUP
Corresponds to display:table-row-group.
|
TREE
Corresponds to display:tree (a non-standard value used to
style an element as a tree).
|
Modifier and Type | Method and Description |
---|---|
static StyledView.Display |
fromKeyword(StyleValue.Keyword keyword)
Returns the CSS display corresponding to specified keyword.
|
static StyledView.Display |
fromString(String value)
Returns the CSS display corresponding to specified
CSS property value.
|
StyleValue.Keyword |
toKeyword()
Returns the keyword corresponding to this CSS display.
|
static StyledView.Display |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StyledView.Display[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StyledView.Display INLINE
public static final StyledView.Display BLOCK
public static final StyledView.Display MARKER
public static final StyledView.Display TABLE
public static final StyledView.Display INLINE_TABLE
public static final StyledView.Display TABLE_COLUMN_GROUP
public static final StyledView.Display TABLE_COLUMN
public static final StyledView.Display TABLE_ROW_GROUP
public static final StyledView.Display TABLE_HEADER_GROUP
public static final StyledView.Display TABLE_FOOTER_GROUP
public static final StyledView.Display TABLE_ROW
public static final StyledView.Display TABLE_CELL
public static final StyledView.Display TABLE_CAPTION
public static final StyledView.Display INLINE_BLOCK
public static final StyledView.Display TREE
public static final StyledView.Display INLINE_TREE
public static final StyledView.Display SUBTABLE
public static final StyledView.Display LIST_ITEM
public static StyledView.Display[] values()
for (StyledView.Display c : StyledView.Display.values()) System.out.println(c);
public static StyledView.Display valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static StyledView.Display fromString(String value)
null
if not a display.public static StyledView.Display fromKeyword(StyleValue.Keyword keyword)
null
if not a display.public StyleValue.Keyword toKeyword()