Enum Class Transform.Flip

java.lang.Object
java.lang.Enum<Transform.Flip>
limn.scene.layout.Transform.Flip
All Implemented Interfaces:
Serializable, Comparable<Transform.Flip>, Constable
Enclosing class:
Transform

public static enum Transform.Flip extends Enum<Transform.Flip>
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 Constants
    Enum Constant
    Description
    As 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 Type
    Method
    Description
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

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

    • FORWARD

      public static final Transform.Flip 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

      public static final Transform.Flip BACKWARD
      As a page turns back: the start edge comes up toward the reader and over to the end.
    • UP

      public static final Transform.Flip UP
      The bottom edge comes up toward the reader and over the top, whatever the direction.
    • DOWN

      public static final Transform.Flip DOWN
      The top edge comes down toward the reader and under the bottom, whatever the direction.
  • Method Details

    • values

      public static Transform.Flip[] 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 Transform.Flip 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