Class ScrollSurface.PageGrid

java.lang.Object
com.codename1.ui.ScrollSurface.PageGrid
Enclosing class:
ScrollSurface

public static final class ScrollSurface.PageGrid extends Object
How a surface's content divides into pages, from getPageGrid.
  • Method Details

    • getColumns

      public int getColumns()
      The number of pages across.
    • getRows

      public int getRows()
      The number of pages down.
    • getPageContentWidth

      public int getPageContentWidth()
      The width of content each page holds, in pixels.
    • getPageContentHeight

      public int getPageContentHeight()
      The height of content each page holds, in pixels.