Enum Class PaginatorMode
- All Implemented Interfaces:
Serializable
,Comparable<PaginatorMode>
,Constable
Describes the mode of automatically displayed paginator.
- Since:
- 5.15.0, 6.7.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA paginator is selected and displayed automatically.If a paginator is desired, it must be specified on the page, e.g. with a<tc:paginatorList>
inside of a<tc:paginatorPanel>
tag.The paginator is displayed as a list.The page can be selected directly.The row can be selected directly.Deprecated, for removal: This API element is subject to removal in a future version. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic PaginatorMode
static PaginatorMode
Returns the enum constant of this class with the specified name.static PaginatorMode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
auto
A paginator is selected and displayed automatically. Will be the default in future versions. -
custom
If a paginator is desired, it must be specified on the page, e.g. with a<tc:paginatorList>
inside of a<tc:paginatorPanel>
tag. -
list
The paginator is displayed as a list. -
page
The page can be selected directly. -
row
The row can be selected directly. -
useShowAttributes
@Deprecated(since="5.15.0, 6.7.0", forRemoval=true) public static final PaginatorMode useShowAttributesDeprecated, for removal: This API element is subject to removal in a future version.Please useauto
if possible, or write a custom paginator.The show attributes of the sheet (e.g. showDirectLinks, showPageRange, showPageLinks, showRowCount) are used to display the paginator. This is the default, and emulates the old behavior.
-
-
Field Details
-
AUTO
- See Also:
-
CUSTOM
- See Also:
-
LIST
- See Also:
-
PAGE
- See Also:
-
ROW
- See Also:
-
USE_SHOW_ATTRIBUTES
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
-
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
-
parse
- Parameters:
name
- Name of the PaginatorMode.- Throws:
IllegalArgumentException
- When the name doesn't match anyPaginatorMode
.
-
auto
if possible, or write a custom paginator.