Class DRPage
java.lang.Object
net.sf.dynamicreports.report.base.DRPage
- All Implemented Interfaces:
Serializable
,DRIPage
DRPage class.
- Author:
- Ricardo Mariaca
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetColumnSpace.getColumnsPerPage.getHeight.getIgnorePageWidth.getMargin.getOrientation.getWidth()
getWidth.void
setColumnSpace
(Integer columnSpace) Setter for the fieldcolumnSpace
.void
setColumnsPerPage
(Integer columnsPerPage) Setter for the fieldcolumnsPerPage
.void
Sets the page height.void
setIgnorePageWidth
(Boolean ignorePageWidth) Setter for the fieldignorePageWidth
.void
Setter for the fieldmargin
.void
setOrientation
(PageOrientation orientation) Setter for the fieldorientation
.void
setPageFormat
(Integer width, Integer height, PageOrientation orientation) setPageFormat.void
setPageFormat
(PageType pageType, PageOrientation orientation) setPageFormat.void
Sets the page width.
-
Constructor Details
-
DRPage
public DRPage()
-
-
Method Details
-
setPageFormat
setPageFormat.
- Parameters:
pageType
- aPageType
object.orientation
- aPageOrientation
object.
-
setPageFormat
setPageFormat.
- Parameters:
width
- aInteger
object.height
- aInteger
object.orientation
- aPageOrientation
object.
-
getWidth
getWidth.
Returns the page width.
-
setWidth
Sets the page width.- Parameters:
width
- the page width >= 0- Throws:
IllegalArgumentException
- ifwidth
is < 0- See Also:
-
getHeight
getHeight.
Returns the page height.
-
setHeight
Sets the page height.- Parameters:
height
- the page height >= 0- Throws:
IllegalArgumentException
- ifheight
is < 0- See Also:
-
getOrientation
getOrientation.
- Specified by:
getOrientation
in interfaceDRIPage
- Returns:
- a
PageOrientation
object.
-
setOrientation
Setter for the field
orientation
.- Parameters:
orientation
- aPageOrientation
object.
-
getMargin
getMargin.
-
setMargin
Setter for the field
margin
.- Parameters:
margin
- aDRMargin
object.
-
getColumnsPerPage
getColumnsPerPage.
- Specified by:
getColumnsPerPage
in interfaceDRIPage
- Returns:
- a
Integer
object.
-
setColumnsPerPage
Setter for the field
columnsPerPage
.- Parameters:
columnsPerPage
- aInteger
object.
-
getColumnSpace
getColumnSpace.
- Specified by:
getColumnSpace
in interfaceDRIPage
- Returns:
- a
Integer
object.
-
setColumnSpace
Setter for the field
columnSpace
.- Parameters:
columnSpace
- aInteger
object.
-
getIgnorePageWidth
getIgnorePageWidth.
- Specified by:
getIgnorePageWidth
in interfaceDRIPage
- Returns:
- a
Boolean
object.
-
setIgnorePageWidth
Setter for the field
ignorePageWidth
.- Parameters:
ignorePageWidth
- aBoolean
object.
-