Class GraphElement

java.lang.Object
org.compiere.print.layout.PrintElement
org.compiere.print.layout.GraphElement
All Implemented Interfaces:
ImageObserver, Serializable

@Deprecated public class GraphElement extends PrintElement
Deprecated.
not fully implemented
Graphic Element
Version:
$Id: GraphElement.java,v 1.2 2006/07/30 00:53:02 jjanke Exp $
Author:
Jorg Janke
See Also:
  • Constructor Details

    • GraphElement

      public GraphElement(MPrintGraph pg)
      Deprecated.
      Constructor
      Parameters:
      pg - graph model
  • Method Details

    • calculateSize

      protected boolean calculateSize()
      Deprecated.
      Layout and Calculate Size Set p_width and p_height
      Specified by:
      calculateSize in class PrintElement
      Returns:
      true if calculated
    • paint

      public void paint(Graphics2D g2D, int pageNo, Point2D pageStart, Properties ctx, boolean isView)
      Deprecated.
      Paint/Print.
      Specified by:
      paint in class PrintElement
      Parameters:
      g2D - Graphics
      pageNo - page number for multi page support (0 = header/footer)
      pageStart - top left Location of page
      ctx - context
      isView - true if online view (IDs are links)