Package org.faceless.publisher.type
Enum Class DisplayInside
- All Implemented Interfaces:
Serializable
,Comparable<DisplayInside>
,Constable
An inner display layout model.
This specifies the element’s inner display type, which defines the type of formatting context that lays out
its contents, if it is a non-replaced element.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe element generates a principal flex container box and establishes a flex formatting context.The element lays out its contents using flow layout (block-and-inline layout).The element generates a block container box, and lays out its contents using flow layout.The element generates a principal grid container box, and establishes a grid formatting context.The element generates a MathML container box and establishes a math formatting context.The element generates a ruby container box and establishes a ruby formatting context in addition to integrating its base-level contents into its parent formatting context (if it is inline) or generating a wrapper box of the appropriate outer display type (if it is not).The element generates an SVG container box and establishes an SVG formatting context.The element generates a principal table wrapper box that establishes a block formatting context, and which contains an additionally-generated table grid box that establishes a table formatting context. -
Method Summary
Modifier and TypeMethodDescriptionstatic DisplayInside
Returns the enum constant of this class with the specified name.static DisplayInside[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
FLOW
The element lays out its contents using flow layout (block-and-inline layout). If its outer display type is inline or run-in, and it is participating in a block or inline formatting context, then it generates an inline box. Otherwise it generates a block container box. -
FLOW_ROOT
The element generates a block container box, and lays out its contents using flow layout. It always establishes a new block formatting context for its contents. -
TABLE
The element generates a principal table wrapper box that establishes a block formatting context, and which contains an additionally-generated table grid box that establishes a table formatting context. -
FLEX
The element generates a principal flex container box and establishes a flex formatting context. -
GRID
The element generates a principal grid container box, and establishes a grid formatting context. -
RUBY
The element generates a ruby container box and establishes a ruby formatting context in addition to integrating its base-level contents into its parent formatting context (if it is inline) or generating a wrapper box of the appropriate outer display type (if it is not). -
MATH
The element generates a MathML container box and establishes a math formatting context. -
SVG
The element generates an SVG container box and establishes an SVG formatting context.
-
-
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
-