PageDirection

  • PageDirection defines constants for indicating the direction of pagination over data sets.

  • The available direction constants are NEXT (advancing toward the end), NONE (no pagination), and PREV (advancing toward the beginning).

public final classPageDirection extendsObject

Direction constants for pagination over data sets.

Nested Class Summary

@interfacePageDirection.DirectionDirection constants for pagination over data sets. 

Constant Summary

intNEXTDirection advancing toward the end of the data set.
intNONEConstant indicating that no pagination is occurring.
intPREVDirection advancing toward the beginning of the data set.

Inherited Method Summary

From class java.lang.Object
Object
clone()
boolean
equals(Object arg0)
void
finalize()
finalClass<?>
getClass()
int
hashCode()
final void
notify()
final void
notifyAll()
String
toString()
final void
wait(long arg0, int arg1)
final void
wait(long arg0)
final void
wait()

Constants

public static final intNEXT

Direction advancing toward the end of the data set.

Constant Value:0

public static final intNONE

Constant indicating that no pagination is occurring.

Constant Value:-1

public static final intPREV

Direction advancing toward the beginning of the data set.

Constant Value:1

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2024-10-31 UTC.