Enum Class PageView.Layout

java.lang.Object
java.lang.Enum<PageView.Layout>
com.levigo.jadice.web.client.PageView.Layout
All Implemented Interfaces:
Serializable, Comparable<PageView.Layout>, Constable
Enclosing interface:
PageView

public static enum PageView.Layout extends Enum<PageView.Layout>
These layout style constants define a set of well-known page layout styles. Caveat: The various layout styles are actually implemented by instances of PageLayout, however, the latter is not public API.
  • Enum Constant Details

    • PAGE

      public static final PageView.Layout PAGE
      A layout where only a single page is visible at a time.
    • CONTINUOUS_PAGE

      public static final PageView.Layout CONTINUOUS_PAGE
      A layout where all pages are laid out as a vertical, one page wide sequence of pages.
    • GRID

      public static final PageView.Layout GRID
      A layout where all pages are laid out as a grid. The grid's width (i.e. number of pages in a row) will be determined by the available space.
  • Method Details

    • values

      public static PageView.Layout[] 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 PageView.Layout 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