Package org.compiere.print.layout
Class HeaderFooter
java.lang.Object
org.compiere.print.layout.HeaderFooter
Header Footer
- Version:
- $Id: HeaderFooter.java,v 1.2 2006/07/30 00:53:02 jjanke Exp $
- Author:
- Jorg Janke
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addElement
(PrintElement element) Add Print Element to PagegetDrillDown
(Point relativePoint) Get DrillDown valueGet Elementsvoid
paint
(Graphics2D g2D, Rectangle bounds, boolean isView) Paint Page Header/Footer on Graphics in Boundsvoid
setCurrentPage
(Page page)
-
Constructor Details
-
HeaderFooter
Standard Constructor- Parameters:
ctx
- context
-
-
Method Details
-
addElement
Add Print Element to Page- Parameters:
element
- print element
-
getElements
Get Elements- Returns:
- array of elements
-
paint
Paint Page Header/Footer on Graphics in Bounds- Parameters:
g2D
- graphicsbounds
- page boundsisView
- true if online view (IDs are links)
-
getDrillDown
Get DrillDown value- Parameters:
relativePoint
- relative Point- Returns:
- if found NamePait or null
-
setCurrentPage
-