Client API. The Codename One framework your app is built on: this runs on the device, not in a backend.

public static final class ScrollSurface.PageGrid

  1. Object
  2. ScrollSurface.PageGrid
How a surface’s content divides into pages, from getPageGrid.

Methods

public int getColumns()The number of pages across.
public int getRows()The number of pages down.
public int getPageContentWidth()The width of content each page holds, in pixels.
public int getPageContentHeight()The height of content each page holds, in pixels.

Inherited methods

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.