| |
|
| net.sf.jasperreports.engine.JRGraphicElement
All known Subclasses: net.sf.jasperreports.engine.base.JRBaseGraphicElement, net.sf.jasperreports.engine.design.JRDesignGraphicElement, net.sf.jasperreports.engine.fill.JRFillGraphicElement,
JRGraphicElement | public interface JRGraphicElement extends JRElement(Code) | | An abstract representation of a report graphic element. It provides basic functionality for images, lines, rectangles
and ellipses.
author: Teodor Danciu (teodord@users.sourceforge.net) version: $Id: JRGraphicElement.java 1229 2006-04-19 10:27:35Z teodord $ |
Field Summary | |
final public static byte | FILL_SOLID Constant useful for specifying that the inside of an element should be drawn using the background color. | final public static byte | PEN_1_POINT Contant useful for specifying that an element border of 1 pixel. | final public static byte | PEN_2_POINT Contant useful for specifying that an element border of 2 pixels. | final public static byte | PEN_4_POINT Contant useful for specifying that an element border of 4 pixels. | final public static byte | PEN_DOTTED Contant useful for specifying that an element has a dashed border. | final public static byte | PEN_NONE Contant useful for specifying that the element border will not be drawn. | final public static byte | PEN_THIN |
Method Summary | |
public byte | getFill() Indicates the fill type used for this element. | public Byte | getOwnFill() | public Byte | getOwnPen() | public byte | getPen() Indicates the pen type used for this element. | public void | setFill(byte fill) Sets the fill type used for this element. | public void | setFill(Byte fill) | public void | setPen(byte pen) Sets the pen type that will used for this element. | public void | setPen(Byte pen) |
FILL_SOLID | final public static byte FILL_SOLID(Code) | | Constant useful for specifying that the inside of an element should be drawn using the background color. It
is ignored if the element draw mode is transparent.
|
PEN_1_POINT | final public static byte PEN_1_POINT(Code) | | Contant useful for specifying that an element border of 1 pixel.
|
PEN_2_POINT | final public static byte PEN_2_POINT(Code) | | Contant useful for specifying that an element border of 2 pixels.
|
PEN_4_POINT | final public static byte PEN_4_POINT(Code) | | Contant useful for specifying that an element border of 4 pixels.
|
PEN_DOTTED | final public static byte PEN_DOTTED(Code) | | Contant useful for specifying that an element has a dashed border.
|
PEN_NONE | final public static byte PEN_NONE(Code) | | Contant useful for specifying that the element border will not be drawn.
|
PEN_THIN | final public static byte PEN_THIN(Code) | | Contant useful for specifying that an element has a thin border (0.5 pixels)
|
getFill | public byte getFill()(Code) | | Indicates the fill type used for this element.
one of the pen constants in this class |
getPen | public byte getPen()(Code) | | Indicates the pen type used for this element.
one of the pen constants in this class |
setFill | public void setFill(byte fill)(Code) | | Sets the fill type used for this element.
Parameters: fill - one of the pen constants in this class |
setPen | public void setPen(byte pen)(Code) | | Sets the pen type that will used for this element.
Parameters: pen - one of the pen constants in this class |
|
|
|