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