Package com.levigo.jadice.web.client
Enum Class PageView.Layout
- All Implemented Interfaces:
Serializable
,Comparable<PageView.Layout>
,Constable
- Enclosing interface:
PageView
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.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA layout where all pages are laid out as a vertical, one page wide sequence of pages.A layout where all pages are laid out as a grid.A layout where only a single page is visible at a time. -
Method Summary
Modifier and TypeMethodDescriptionstatic PageView.Layout
Returns the enum constant of this class with the specified name.static PageView.Layout[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PAGE
A layout where only a single page is visible at a time. -
CONTINUOUS_PAGE
A layout where all pages are laid out as a vertical, one page wide sequence of pages. -
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
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
-