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.
 
Fields inherited from interface net.sf.jasperreports.engine.JRGraphicElement
FILL_SOLID, PEN_1_POINT, PEN_2_POINT, PEN_4_POINT, PEN_DOTTED, PEN_NONE, PEN_THIN
 
Fields inherited from interface net.sf.jasperreports.engine.JRElement
MODE_OPAQUE, MODE_TRANSPARENT, POSITION_TYPE_FIX_RELATIVE_TO_BOTTOM, POSITION_TYPE_FIX_RELATIVE_TO_TOP, POSITION_TYPE_FLOAT, STRETCH_TYPE_NO_STRETCH, STRETCH_TYPE_RELATIVE_TO_BAND_HEIGHT, STRETCH_TYPE_RELATIVE_TO_TALLEST_OBJECT
 
Method Summary
 byte getDirection()
          Gets the line direction.
 void setDirection(byte direction)
          Sets the line direction.
 
Methods inherited from interface net.sf.jasperreports.engine.JRGraphicElement
getFill, getPen, setFill, setPen
 
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
 
Methods inherited from interface net.sf.jasperreports.engine.JRChild
getCopy, writeXml
 

Field Detail

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
Method Detail

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