Enum Class Card.Orientation

java.lang.Object
java.lang.Enum<Card.Orientation>
limn.components.Card.Orientation
All Implemented Interfaces:
Serializable, Comparable<Card.Orientation>, Constable
Enclosing class:
Card

public static enum Card.Orientation extends Enum<Card.Orientation>
Where the media goes.

A 1.x minor release may add constants to this enum: a switch over it needs a default branch.

  • Enum Constant Details

    • VERTICAL

      public static final Card.Orientation VERTICAL
      Media, header, content and footer from the top: the default.
    • HORIZONTAL

      public static final Card.Orientation HORIZONTAL
      The media in a column at the leading side, the header and the content beside it.
  • Method Details

    • values

      public static Card.Orientation[] 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 Card.Orientation 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