Package limn.scene.layout
Enum Class Transform.Flip
- All Implemented Interfaces:
Serializable,Comparable<Transform.Flip>,Constable
- Enclosing class:
Transform
Which way
flipTo turns the child over: two about the vertical axis that
follow the reading direction, and two about the horizontal axis that do not.
A 1.x minor release may add constants to this enum: a switch over it needs a
default branch.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAs a page turns back: the start edge comes up toward the reader and over to the end.The top edge comes down toward the reader and under the bottom, whatever the direction.As a page turns forward: the end edge comes up toward the reader and over to the start, so in a right-to-left subtree the left edge comes over to the right.The bottom edge comes up toward the reader and over the top, whatever the direction. -
Method Summary
Modifier and TypeMethodDescriptionstatic Transform.FlipReturns the enum constant of this class with the specified name.static Transform.Flip[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FORWARD
As a page turns forward: the end edge comes up toward the reader and over to the start, so in a right-to-left subtree the left edge comes over to the right. -
BACKWARD
As a page turns back: the start edge comes up toward the reader and over to the end. -
UP
The bottom edge comes up toward the reader and over the top, whatever the direction. -
DOWN
The top edge comes down toward the reader and under the bottom, whatever the direction.
-
-
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
-