public class PrintingLabel extends RectangleElement
| Modifier and Type | Field and Description |
|---|---|
protected JLabel |
label |
protected String |
text |
high, width, xi, yialigment, bgcolor, bold, color, contain, DEBUG, defaultFont, fontSize, id, italics, MM_PER_INCH, PPICENTER, LEFT, RIGHT| Constructor and Description |
|---|
PrintingLabel(Hashtable parameters) |
| Modifier and Type | Method and Description |
|---|---|
JLabel |
getLabel() |
void |
paint(Graphics g,
double scale) |
void |
setContent(Object c) |
getHeight, getWidth, getX, getY, setHeight, setWidth, setX, setYgetId, getInteger, millimeterToPagePixels, millimeterToPagePixels, pagePixelsToMillimeters, paintInPage, setBasicParameters, toStringpublic PrintingLabel(Hashtable parameters)
public JLabel getLabel()
public void setContent(Object c)
setContent in interface PrintingElementsetContent in class AbstractPrintingElementpublic void paint(Graphics g, double scale)
paint in interface PrintingElementpaint in class RectangleElementCopyright © 2016 Imatia Innovation S.L.. All rights reserved.