net.sf.jasperreports.engine
Interface JRLine
- All Superinterfaces:
- java.lang.Cloneable, JRChild, JRCloneable, JRCommonElement, JRCommonGraphicElement, JRElement, JRGraphicElement, JRPenContainer, JRPropertiesHolder, JRStyleContainer, JRVisitable
- All Known Implementing Classes:
- JRBaseLine, JRDesignLine, JRFillLine
public interface JRLine
- extends JRGraphicElement
An abstract representation of a graphic element representing a straight line.
- Version:
- $Id: JRLine.java 3033 2009-08-27 11:46:22Z teodord $
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
Field Summary |
static byte |
DIRECTION_BOTTOM_UP
Constant used for specifying that the line starts from the top and goes towards the bottom. |
static byte |
DIRECTION_TOP_DOWN
Constant used for specifying that the line starts from the top and goes towards the bottom. |
Methods inherited from interface net.sf.jasperreports.engine.JRElement |
collectExpressions, getElementGroup, getHeight, getKey, getPositionType, getPrintWhenExpression, getPrintWhenGroupChanges, getPropertyExpressions, getStretchType, getWidth, getX, getY, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isRemoveLineWhenBlank, setBackcolor, setForecolor, setMode, setMode, setPositionType, setPrintInFirstWholeBand, setPrintRepeatedValues, setPrintWhenDetailOverflows, setRemoveLineWhenBlank, setStretchType, setWidth, setX |
Methods inherited from interface net.sf.jasperreports.engine.JRChild |
clone |
DIRECTION_TOP_DOWN
static final byte DIRECTION_TOP_DOWN
- Constant used for specifying that the line starts from the top and goes towards the bottom.
- See Also:
- Constant Field Values
DIRECTION_BOTTOM_UP
static final byte DIRECTION_BOTTOM_UP
- Constant used for specifying that the line starts from the top and goes towards the bottom.
- See Also:
- Constant Field Values
getDirection
byte getDirection()
- Gets the line direction.
- Returns:
- one of the direction constants
setDirection
void setDirection(byte direction)
- Sets the line direction.
- Parameters:
direction
- one of the direction constants
© 2001-2009 Jaspersoft Corporation www.jaspersoft.com