Class ScrollSurface.PageGrid
java.lang.Object
com.codename1.ui.ScrollSurface.PageGrid
- Enclosing class:
ScrollSurface
How a surface's content divides into pages, from
getPageGrid.-
Method Summary
Modifier and TypeMethodDescriptionintThe number of pages across.intThe height of content each page holds, in pixels.intThe width of content each page holds, in pixels.intgetRows()The number of pages down.
-
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.
-