net.sf.dynamicreports.report.base
Class DRPage

java.lang.Object
  extended by net.sf.dynamicreports.report.base.DRPage
All Implemented Interfaces:
Serializable, DRIPage

public class DRPage
extends Object
implements DRIPage

Author:
Ricardo Mariaca (r.mariaca@dynamicreports.org)
See Also:
Serialized Form

Constructor Summary
DRPage()
           
 
Method Summary
 Integer getColumnSpace()
           
 Integer getColumnsPerPage()
           
 Integer getHeight()
          Returns the page height.
 Boolean getIgnorePageWidth()
           
 DRMargin getMargin()
           
 PageOrientation getOrientation()
           
 Integer getWidth()
          Returns the page width.
 void setColumnSpace(Integer columnSpace)
           
 void setColumnsPerPage(Integer columnsPerPage)
           
 void setHeight(Integer height)
          Sets the page height.
 void setIgnorePageWidth(Boolean ignorePageWidth)
           
 void setMargin(DRMargin margin)
           
 void setOrientation(PageOrientation orientation)
           
 void setPageFormat(Integer width, Integer height, PageOrientation orientation)
           
 void setPageFormat(PageType pageType, PageOrientation orientation)
           
 void setWidth(Integer width)
          Sets the page width.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DRPage

public DRPage()
Method Detail

setPageFormat

public void setPageFormat(PageType pageType,
                          PageOrientation orientation)

setPageFormat

public void setPageFormat(Integer width,
                          Integer height,
                          PageOrientation orientation)

getWidth

public Integer getWidth()
Returns the page width.

Specified by:
getWidth in interface DRIPage
Returns:
the page width >= 0

setWidth

public void setWidth(Integer width)
Sets the page width.

Parameters:
width - the page width >= 0
Throws:
IllegalArgumentException - if width is < 0
See Also:
Units

getHeight

public Integer getHeight()
Returns the page height.

Specified by:
getHeight in interface DRIPage
Returns:
the page height >= 0

setHeight

public void setHeight(Integer height)
Sets the page height.

Parameters:
height - the page height >= 0
Throws:
IllegalArgumentException - if height is < 0
See Also:
Units

getOrientation

public PageOrientation getOrientation()
Specified by:
getOrientation in interface DRIPage

setOrientation

public void setOrientation(PageOrientation orientation)

getMargin

public DRMargin getMargin()
Specified by:
getMargin in interface DRIPage

setMargin

public void setMargin(DRMargin margin)

getColumnsPerPage

public Integer getColumnsPerPage()
Specified by:
getColumnsPerPage in interface DRIPage

setColumnsPerPage

public void setColumnsPerPage(Integer columnsPerPage)

getColumnSpace

public Integer getColumnSpace()
Specified by:
getColumnSpace in interface DRIPage

setColumnSpace

public void setColumnSpace(Integer columnSpace)

getIgnorePageWidth

public Boolean getIgnorePageWidth()
Specified by:
getIgnorePageWidth in interface DRIPage

setIgnorePageWidth

public void setIgnorePageWidth(Boolean ignorePageWidth)


Copyright © 2010-2014. All Rights Reserved.