Class DRPage
java.lang.Object
ch.unibas.medizin.dynamicreports.report.base.DRPage
- All Implemented Interfaces:
DRIPage, Serializable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetColumnSpace.getColumnsPerPage.getHeight.getIgnorePageWidth.getMargin.getOrientation.getWidth()getWidth.voidsetColumnSpace(Integer columnSpace) Setter for the fieldcolumnSpace.voidsetColumnsPerPage(Integer columnsPerPage) Setter for the fieldcolumnsPerPage.voidSets the page height.voidsetIgnorePageWidth(Boolean ignorePageWidth) Setter for the fieldignorePageWidth.voidSetter for the fieldmargin.voidsetOrientation(PageOrientation orientation) Setter for the fieldorientation.voidsetPageFormat(PageType pageType, PageOrientation orientation) setPageFormat.voidsetPageFormat(Integer width, Integer height, PageOrientation orientation) setPageFormat.voidSets the page width.
-
Constructor Details
-
DRPage
public DRPage()
-
-
Method Details
-
setPageFormat
setPageFormat.
- Parameters:
pageType- aPageTypeobject.orientation- aPageOrientationobject.
-
setPageFormat
setPageFormat.
- Parameters:
width- aIntegerobject.height- aIntegerobject.orientation- aPageOrientationobject.
-
getWidth
-
setWidth
Sets the page width.- Parameters:
width- the page width >= 0- Throws:
IllegalArgumentException- ifwidthis < 0- See Also:
-
getHeight
-
setHeight
Sets the page height.- Parameters:
height- the page height >= 0- Throws:
IllegalArgumentException- ifheightis < 0- See Also:
-
getOrientation
getOrientation.
- Specified by:
getOrientationin interfaceDRIPage- Returns:
- a
PageOrientationobject.
-
setOrientation
Setter for the field
orientation.- Parameters:
orientation- aPageOrientationobject.
-
getMargin
-
setMargin
-
getColumnsPerPage
getColumnsPerPage.
- Specified by:
getColumnsPerPagein interfaceDRIPage- Returns:
- a
Integerobject.
-
setColumnsPerPage
-
getColumnSpace
getColumnSpace.
- Specified by:
getColumnSpacein interfaceDRIPage- Returns:
- a
Integerobject.
-
setColumnSpace
-
getIgnorePageWidth
getIgnorePageWidth.
- Specified by:
getIgnorePageWidthin interfaceDRIPage- Returns:
- a
Booleanobject.
-
setIgnorePageWidth
-