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 1229 2006-04-19 10:27:35Z 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.
 
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
getOwnPen, getPen, setFill, setFill, setPen, setPen
 
Methods inherited from interface net.sf.jasperreports.engine.JRElement
collectExpressions, getElementGroup, getHeight, getKey, getPositionType, getPrintWhenExpression, getPrintWhenGroupChanges, 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
 
Methods inherited from interface net.sf.jasperreports.engine.JRVisitable
visit
 
Methods inherited from interface net.sf.jasperreports.engine.JRCloneable
clone
 
Methods inherited from interface net.sf.jasperreports.engine.JRCommonElement
getBackcolor, getForecolor, getMode, getOwnBackcolor, getOwnForecolor, getOwnMode
 
Methods inherited from interface net.sf.jasperreports.engine.JRStyleContainer
getDefaultStyleProvider, getStyle, getStyleNameReference
 
Methods inherited from interface net.sf.jasperreports.engine.JRPropertiesHolder
getParentProperties, getPropertiesMap, hasProperties
 
Methods inherited from interface net.sf.jasperreports.engine.JRCommonGraphicElement
getFill, getLinePen, getOwnFill
 
Methods inherited from interface net.sf.jasperreports.engine.JRCommonElement
getBackcolor, getForecolor, getMode, getOwnBackcolor, getOwnForecolor, getOwnMode
 
Methods inherited from interface net.sf.jasperreports.engine.JRStyleContainer
getDefaultStyleProvider, getStyle, getStyleNameReference
 
Methods inherited from interface net.sf.jasperreports.engine.JRPenContainer
getDefaultLineColor, getDefaultLineWidth
 
Methods inherited from interface net.sf.jasperreports.engine.JRStyleContainer
getDefaultStyleProvider, getStyle, getStyleNameReference
 

Field Detail

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

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-2006 JasperSoft Corporation www.jaspersoft.com