Ontimize 5.2072EN

com.ontimize.printing
Class RectangleElement

java.lang.Object
  extended bycom.ontimize.printing.AbstractPrintingElement
      extended bycom.ontimize.printing.RectangleElement
All Implemented Interfaces:
PrintingElement
Direct Known Subclasses:
PrintingImage, PrintingLabel, TableElement, TextArea

public class RectangleElement
extends AbstractPrintingElement


Field Summary
protected  int high
           
protected  int width
           
protected  int xi
           
protected  int yi
           
 
Fields inherited from class com.ontimize.printing.AbstractPrintingElement
aligment, bgcolor, bold, color, contain, DEBUG, defaultFont, fontSize, id, italics, MM_PER_INCH, PPI
 
Fields inherited from interface com.ontimize.printing.PrintingElement
CENTER, LEFT, RIGHT
 
Constructor Summary
RectangleElement(java.util.Hashtable parameters)
           
 
Method Summary
 int getHeight()
           
 int getWidth()
           
 int getX()
           
 int getY()
           
 void paint(java.awt.Graphics g, double scale)
           
 void setHeight(int h)
           
 void setWidth(int w)
           
 void setX(int x)
           
 void setY(int y)
           
 
Methods inherited from class com.ontimize.printing.AbstractPrintingElement
getId, getInteger, millimeterToPagePixels, millimeterToPagePixels, pagePixelsToMillimeters, paintInPage, setBasicParameters, setContent, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

xi

protected int xi

yi

protected int yi

width

protected int width

high

protected int high
Constructor Detail

RectangleElement

public RectangleElement(java.util.Hashtable parameters)
Method Detail

getX

public int getX()
Specified by:
getX in interface PrintingElement
Specified by:
getX in class AbstractPrintingElement

getY

public int getY()
Specified by:
getY in interface PrintingElement
Specified by:
getY in class AbstractPrintingElement

getWidth

public int getWidth()
Specified by:
getWidth in interface PrintingElement
Specified by:
getWidth in class AbstractPrintingElement

getHeight

public int getHeight()
Specified by:
getHeight in interface PrintingElement
Specified by:
getHeight in class AbstractPrintingElement

setX

public void setX(int x)
Specified by:
setX in interface PrintingElement
Specified by:
setX in class AbstractPrintingElement

setY

public void setY(int y)
Specified by:
setY in interface PrintingElement
Specified by:
setY in class AbstractPrintingElement

setWidth

public void setWidth(int w)
Specified by:
setWidth in interface PrintingElement
Specified by:
setWidth in class AbstractPrintingElement

setHeight

public void setHeight(int h)
Specified by:
setHeight in interface PrintingElement
Specified by:
setHeight in class AbstractPrintingElement

paint

public void paint(java.awt.Graphics g,
                  double scale)

Ontimize