com.github.dandelion.datatables.core.extension.feature
Enum PaginationType

java.lang.Object
  extended by java.lang.Enum<PaginationType>
      extended by com.github.dandelion.datatables.core.extension.feature.PaginationType
All Implemented Interfaces:
Serializable, Comparable<PaginationType>

public enum PaginationType
extends Enum<PaginationType>

Enum containing all alternative pagination style.

Author:
Thibault Duchateau

Enum Constant Summary
BOOTSTRAP
           
BOOTSTRAP_FOUR_BUTTON
           
BOOTSTRAP_FULL_NUMBERS
           
EXTSTYLE
           
FOUR_BUTTON
           
FULL_NUMBERS
           
INPUT
           
LISTBOX
           
SCROLLING
           
TWO_BUTTON
           
 
Method Summary
 String toString()
           
static PaginationType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static PaginationType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

FOUR_BUTTON

public static final PaginationType FOUR_BUTTON

FULL_NUMBERS

public static final PaginationType FULL_NUMBERS

INPUT

public static final PaginationType INPUT

LISTBOX

public static final PaginationType LISTBOX

SCROLLING

public static final PaginationType SCROLLING

TWO_BUTTON

public static final PaginationType TWO_BUTTON

EXTSTYLE

public static final PaginationType EXTSTYLE

BOOTSTRAP

public static final PaginationType BOOTSTRAP

BOOTSTRAP_FOUR_BUTTON

public static final PaginationType BOOTSTRAP_FOUR_BUTTON

BOOTSTRAP_FULL_NUMBERS

public static final PaginationType BOOTSTRAP_FULL_NUMBERS
Method Detail

values

public static PaginationType[] 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 (PaginationType c : PaginationType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static PaginationType 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 name
NullPointerException - if the argument is null

toString

public String toString()
Overrides:
toString in class Enum<PaginationType>


Copyright © 2013–2014 Dandelion Project. All rights reserved.