Enum Options.PagingType
- java.lang.Object
-
- java.lang.Enum<Options.PagingType>
-
- org.wicketstuff.datatables.options.Options.PagingType
-
- All Implemented Interfaces:
Serializable,Comparable<Options.PagingType>
- Enclosing class:
- Options
public static enum Options.PagingType extends Enum<Options.PagingType>
https://datatables.net/examples/basic_init/alt_pagination.html
-
-
Enum Constant Summary
Enum Constants Enum Constant Description full'First', 'Previous', 'Next' and 'Last' buttonsfull_numbers'First', 'Previous', 'Next' and 'Last' buttons, plus page numbersnumberssimple'Previous' and 'Next' buttons onlysimple_numbers'Previous' and 'Next' buttons, plus page numbers
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Options.PagingTypevalueOf(String name)Returns the enum constant of this type with the specified name.static Options.PagingType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
numbers
public static final Options.PagingType numbers
-
simple
public static final Options.PagingType simple
'Previous' and 'Next' buttons only
-
simple_numbers
public static final Options.PagingType simple_numbers
'Previous' and 'Next' buttons, plus page numbers
-
full
public static final Options.PagingType full
'First', 'Previous', 'Next' and 'Last' buttons
-
full_numbers
public static final Options.PagingType full_numbers
'First', 'Previous', 'Next' and 'Last' buttons, plus page numbers
-
-
Method Detail
-
values
public static Options.PagingType[] 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 (Options.PagingType c : Options.PagingType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Options.PagingType 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
-
-