Enum Class ElementLayout.Overflow

java.lang.Object
java.lang.Enum<ElementLayout.Overflow>
net.ixdarklord.folios.internal.client.page.ElementLayout.Overflow
All Implemented Interfaces:
Serializable, Comparable<ElementLayout.Overflow>, Constable
Enclosing class:
ElementLayout

public static enum ElementLayout.Overflow extends Enum<ElementLayout.Overflow>
What an element does when it doesn't fit in what is left of its page.
  • Enum Constant Details

    • FLOW

      public static final ElementLayout.Overflow FLOW
      Runs on: its text onto the next pages, its other parts whole onto the next.
    • KEEP

      public static final ElementLayout.Overflow KEEP
      Moves whole to the next page rather than split.
    • FLIP

      public static final ElementLayout.Overflow FLIP
      Stays in a box, its text paged in place.
    • SCROLL

      public static final ElementLayout.Overflow SCROLL
      Stays in a box, its text scrolled in place a line at a time, with a scrollbar beside it.
    • AUTO

      public static final ElementLayout.Overflow AUTO
      Keeps whole when it fits on a page of its own, flips when not even that is enough.
  • Method Details

    • values

      public static ElementLayout.Overflow[] 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 ElementLayout.Overflow 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