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
What an element does when it doesn't fit in what is left of its page.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionKeeps whole when it fits on a page of its own, flips when not even that is enough.Stays in a box, its text paged in place.Runs on: its text onto the next pages, its other parts whole onto the next.Moves whole to the next page rather than split.Stays in a box, its text scrolled in place a line at a time, with a scrollbar beside it. -
Method Summary
Modifier and TypeMethodDescriptionstatic ElementLayout.OverflowReturns the enum constant of this class with the specified name.static ElementLayout.Overflow[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FLOW
Runs on: its text onto the next pages, its other parts whole onto the next. -
KEEP
Moves whole to the next page rather than split. -
FLIP
Stays in a box, its text paged in place. -
SCROLL
Stays in a box, its text scrolled in place a line at a time, with a scrollbar beside it. -
AUTO
Keeps whole when it fits on a page of its own, flips when not even that is enough.
-
-
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
-