net.sf.jasperreports.engine
Interface JRLine
- All Superinterfaces:
- JRChild, JRElement, JRGraphicElement
- 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,v 1.9 2005/06/27 07:16:27 teodord Exp $
- 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, getBackcolor, getElementGroup, getForecolor, getHeight, getKey, getMode, getPositionType, getPrintWhenExpression, getPrintWhenGroupChanges, getStretchType, getWidth, getX, getY, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isRemoveLineWhenBlank, setBackcolor, setForecolor, setMode, setPositionType, setPrintInFirstWholeBand, setPrintRepeatedValues, setPrintWhenDetailOverflows, setRemoveLineWhenBlank, setStretchType, setWidth, setX |
DIRECTION_TOP_DOWN
public 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
public 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
public byte getDirection()
- Gets the line direction.
- Returns:
- one of the direction constants
setDirection
public void setDirection(byte direction)
- Sets the line direction.
- Parameters:
direction
- one of the direction constants
© 2001-2005 JasperSoft Corporation www.jaspersoft.com