org.pentaho.reporting.engine.classic.core.layout.model
Class DefaultPageGrid
java.lang.Object
org.pentaho.reporting.engine.classic.core.layout.model.DefaultPageGrid
- All Implemented Interfaces:
- Cloneable, PageGrid
public class DefaultPageGrid
- extends Object
- implements PageGrid
Creation-Date: 05.04.2007, 16:15:32
- Author:
- Thomas Morgner
DefaultPageGrid
public DefaultPageGrid(PageDefinition pageDefinition)
getPage
public PhysicalPageBox getPage(int row,
int col)
- In case of overlapping pageboxes, this method may return null.
- Specified by:
getPage
in interface PageGrid
- Parameters:
row
- col
-
- Returns:
getHorizontalBreaks
public long[] getHorizontalBreaks()
- Specified by:
getHorizontalBreaks
in interface PageGrid
getVerticalBreaks
public long[] getVerticalBreaks()
getRowCount
public int getRowCount()
- Specified by:
getRowCount
in interface PageGrid
getColumnCount
public int getColumnCount()
- Specified by:
getColumnCount
in interface PageGrid
clone
public Object clone()
throws CloneNotSupportedException
- Specified by:
clone
in interface PageGrid
- Overrides:
clone
in class Object
- Throws:
CloneNotSupportedException
getMaximumPageWidth
public long getMaximumPageWidth()
getMaximumPageHeight
public long getMaximumPageHeight()