Package org.htmlunit.html
Enum Class HtmlElement.DisplayStyle
- All Implemented Interfaces:
Serializable
,Comparable<HtmlElement.DisplayStyle>
,Constable
- Enclosing class:
HtmlElement
Enum for the different display styles.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionblock.contents.Empty string.inline.inline-block.list-item.none.ruby.ruby-base.ruby-text-container.ruby-text-container.table.table-caption.table-cell.table-column.table-column-group.table-footer-group.table-header-group.table-row.table-row-group. -
Method Summary
Modifier and TypeMethodDescriptionvalue()
The string used from js.static HtmlElement.DisplayStyle
Returns the enum constant of this class with the specified name.static HtmlElement.DisplayStyle[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
EMPTY
Empty string. -
NONE
none. -
BLOCK
block. -
CONTENTS
contents. -
INLINE
inline. -
INLINE_BLOCK
inline-block. -
LIST_ITEM
list-item. -
TABLE
table. -
TABLE_CELL
table-cell. -
TABLE_COLUMN
table-column. -
TABLE_COLUMN_GROUP
table-column-group. -
TABLE_ROW
table-row. -
TABLE_ROW_GROUP
table-row-group. -
TABLE_HEADER_GROUP
table-header-group. -
TABLE_FOOTER_GROUP
table-footer-group. -
TABLE_CAPTION
table-caption. -
RUBY
ruby. -
RUBY_BASE
ruby-base. -
RUBY_TEXT
ruby-text-container. -
RUBY_TEXT_CONTAINER
ruby-text-container.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
value
The string used from js.- Returns:
- the value as string
-