Class Paging


  • public final class Paging
    extends java.lang.Object
    Paging is used to set the range of pages that should be rendered.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Paging.Range
      A paging where the beginning of the range of pages was already set.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static Paging.Range from​(java.lang.Integer from)
      Starts the creation of a new Paging starting from the specified page.
      java.util.Set<java.lang.Integer> getAllPages()
      Gets a set containing all pages that should be rendered.
      java.lang.String toString()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Method Detail

      • from

        public static Paging.Range from​(java.lang.Integer from)
        Starts the creation of a new Paging starting from the specified page.
        Parameters:
        from - from page
        Returns:
        the range
      • getAllPages

        public java.util.Set<java.lang.Integer> getAllPages()
        Gets a set containing all pages that should be rendered.
        Returns:
        the set containing all pages
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
        See Also:
        Object.toString()