|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<HtmlElement.DisplayStyle>
com.gargoylesoftware.htmlunit.html.HtmlElement.DisplayStyle
public static enum HtmlElement.DisplayStyle
Enum for the different display styles.
| Enum Constant Summary | |
|---|---|
BLOCK
block. |
|
INLINE
inline. |
|
INLINE_BLOCK
inline-block. |
|
LIST_ITEM
list-item. |
|
NONE
none. |
|
RUBY
ruby. |
|
RUBY_TEXT
ruby-text. |
|
TABLE
table. |
|
TABLE_CAPTION
table-caption. |
|
TABLE_CELL
table-cell. |
|
TABLE_COLUMN
table-column. |
|
TABLE_COLUMN_GROUP
table-column-group. |
|
TABLE_FOOTER_GROUP
table-footer-group. |
|
TABLE_HEADER_GROUP
table-header-group. |
|
TABLE_ROW
table-row. |
|
TABLE_ROW_GROUP
table-row-group. |
|
| Method Summary | |
|---|---|
String |
value()
The string used from js. |
static HtmlElement.DisplayStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static HtmlElement.DisplayStyle[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final HtmlElement.DisplayStyle NONE
public static final HtmlElement.DisplayStyle BLOCK
public static final HtmlElement.DisplayStyle INLINE
public static final HtmlElement.DisplayStyle INLINE_BLOCK
public static final HtmlElement.DisplayStyle LIST_ITEM
public static final HtmlElement.DisplayStyle TABLE
public static final HtmlElement.DisplayStyle TABLE_CELL
public static final HtmlElement.DisplayStyle TABLE_COLUMN
public static final HtmlElement.DisplayStyle TABLE_COLUMN_GROUP
public static final HtmlElement.DisplayStyle TABLE_ROW
public static final HtmlElement.DisplayStyle TABLE_ROW_GROUP
public static final HtmlElement.DisplayStyle TABLE_HEADER_GROUP
public static final HtmlElement.DisplayStyle TABLE_FOOTER_GROUP
public static final HtmlElement.DisplayStyle TABLE_CAPTION
public static final HtmlElement.DisplayStyle RUBY
public static final HtmlElement.DisplayStyle RUBY_TEXT
| Method Detail |
|---|
public static HtmlElement.DisplayStyle[] values()
for (HtmlElement.DisplayStyle c : HtmlElement.DisplayStyle.values()) System.out.println(c);
public static HtmlElement.DisplayStyle valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic String value()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||