public static enum Display.Type extends java.lang.Enum<Display.Type>
Enum Constant and Description |
---|
block
The element will be displayed as a block-level element, with a line
break before and after the element
|
compact
The element will be displayed as block-level or inline element
depending on context
|
inline_
The element will be displayed as an inline element, with no line
break before or after the element
|
inline_table
The element will be displayed as an inline table (like <table>
), with no line break before or after the table
|
list_item
The element will be displayed as a list
|
marker |
none
The element will not be displayed
|
run_in
The element will be displayed as block-level or inline element
depending on context
|
table_
The element will be displayed as a block table (like <table> ),
with a line break before and after the table
|
table_caption
The element will be displayed as a table caption (like <caption>)
|
table_cell
The element will be displayed as a table cell (like <td> and
<th>)
|
table_column
The element will be displayed as a column of cells (like <col>)
|
table_column_group
The element will be displayed as a group of one or more columns (like
<colgroup>)
|
table_footer_group
The element will be displayed as a group of one or more rows (like
<tfoot>)
|
table_header_group
The element will be displayed as a group of one or more rows (like
<thead>)
|
table_row
The element will be displayed as a table row (like <tr> )
|
table_row_group
The element will be displayed as a group of one or more rows (like
<tbody>)
|
Modifier and Type | Field and Description |
---|---|
java.lang.String |
value |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
static Display.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Display.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Display.Type none
public static final Display.Type inline_
public static final Display.Type block
public static final Display.Type list_item
public static final Display.Type run_in
public static final Display.Type compact
public static final Display.Type marker
public static final Display.Type table_
public static final Display.Type inline_table
public static final Display.Type table_row_group
public static final Display.Type table_header_group
public static final Display.Type table_footer_group
public static final Display.Type table_row
public static final Display.Type table_column_group
public static final Display.Type table_column
public static final Display.Type table_cell
public static final Display.Type table_caption
public static Display.Type[] values()
for (Display.Type c : Display.Type.values()) System.out.println(c);
public static Display.Type 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 toString()
toString
in class java.lang.Enum<Display.Type>