Enum Class DisplayInside

java.lang.Object
java.lang.Enum<DisplayInside>
org.faceless.publisher.type.DisplayInside
All Implemented Interfaces:
Serializable, Comparable<DisplayInside>, Constable

public enum DisplayInside extends Enum<DisplayInside>
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 Constants
    Enum Constant
    Description
    The 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 Type
    Method
    Description
    Returns the enum constant of this class with the specified name.
    static DisplayInside[]
    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

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • FLOW

      public static final DisplayInside 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

      public static final DisplayInside 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

      public static final DisplayInside 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

      public static final DisplayInside FLEX
      The element generates a principal flex container box and establishes a flex formatting context.
    • GRID

      public static final DisplayInside GRID
      The element generates a principal grid container box, and establishes a grid formatting context.
    • RUBY

      public static final DisplayInside 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

      public static final DisplayInside MATH
      The element generates a MathML container box and establishes a math formatting context.
    • SVG

      public static final DisplayInside SVG
      The element generates an SVG container box and establishes an SVG formatting context.
  • Method Details

    • values

      public static DisplayInside[] 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

      public static DisplayInside valueOf(String name)
      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 name
      NullPointerException - if the argument is null