Class 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 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 - graphics
        bounds - page bounds
        isView - 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)