Enum WTable.PaginationMode
- java.lang.Object
-
- java.lang.Enum<WTable.PaginationMode>
-
- com.github.bordertech.wcomponents.WTable.PaginationMode
-
- All Implemented Interfaces:
Serializable
,Comparable<WTable.PaginationMode>
- Enclosing class:
- WTable
public static enum WTable.PaginationMode extends Enum<WTable.PaginationMode>
This is used to control how pagination should work.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static WTable.PaginationMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static WTable.PaginationMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final WTable.PaginationMode NONE
Indicates that pagination is not supported, all data will be displayed in the one page.
-
CLIENT
public static final WTable.PaginationMode CLIENT
Indicates that pagination occurs on the client. All data will be sent at once.
-
DYNAMIC
public static final WTable.PaginationMode DYNAMIC
Indicates that pagination occurs via AJAX calls to the server.
-
-
Method Detail
-
values
public static WTable.PaginationMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (WTable.PaginationMode c : WTable.PaginationMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WTable.PaginationMode valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
-