org.compiere.print.layout
Class BoxElement
java.lang.Object
org.compiere.print.layout.PrintElement
org.compiere.print.layout.BoxElement
- All Implemented Interfaces:
- ImageObserver
public class BoxElement
- extends PrintElement
Line / Box Element
- Version:
- $Id: BoxElement.java,v 1.3 2006/07/30 00:53:02 jjanke Exp $
- Author:
- Jorg Janke
| Methods inherited from class org.compiere.print.layout.PrintElement |
getAbsoluteLocation, getBounds, getDetailInfo, getDrillAcross, getDrillDown, getHeight, getHeight, getLocation, getPageCount, getWidth, imageUpdate, isTranslated, layout, setLocation, setMaxHeight, setMaxWidth, toString, translate, waitForLoad |
BoxElement
public BoxElement(MPrintFormatItem item,
Color color)
- BoxElement
- Parameters:
item - itemcolor - color
calculateSize
protected boolean calculateSize()
- Calculate Size
- Specified by:
calculateSize in class PrintElement
- Returns:
- true if calculated
paint
public void paint(Graphics2D g2D,
int pageNo,
Point2D pageStart,
Properties ctx,
boolean isView)
- Paint
- Specified by:
paint in class PrintElement
- Parameters:
g2D - graphicspageNo - pagepageStart - page startctx - contextisView - true if Java
Adempiere® is a registered trademark of ADempiere Business Inc. ©2004-2008 HumanFlash.com All rights reserved.