Enum WTable.PaginationLocation
- java.lang.Object
-
- java.lang.Enum<WTable.PaginationLocation>
-
- com.github.bordertech.wcomponents.WTable.PaginationLocation
-
- All Implemented Interfaces:
Serializable
,Comparable<WTable.PaginationLocation>
- Enclosing class:
- WTable
public static enum WTable.PaginationLocation extends Enum<WTable.PaginationLocation>
This is used to control where in the table the pagination controls appear.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTO
Indicates that pagination controls appear in a location determined solely by the theme.BOTH
Indicates that the pagination controls should be placed both at the top and at the bottom of the table.BOTTOM
Indicates the pagination controls appear at the bottom of the table.TOP
Indicates the pagination controls appear at the top of the table.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static WTable.PaginationLocation
valueOf(String name)
Returns the enum constant of this type with the specified name.static WTable.PaginationLocation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AUTO
public static final WTable.PaginationLocation AUTO
Indicates that pagination controls appear in a location determined solely by the theme.
-
TOP
public static final WTable.PaginationLocation TOP
Indicates the pagination controls appear at the top of the table.
-
BOTTOM
public static final WTable.PaginationLocation BOTTOM
Indicates the pagination controls appear at the bottom of the table.
-
BOTH
public static final WTable.PaginationLocation BOTH
Indicates that the pagination controls should be placed both at the top and at the bottom of the table.
-
-
Method Detail
-
values
public static WTable.PaginationLocation[] 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.PaginationLocation c : WTable.PaginationLocation.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.PaginationLocation 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
-
-