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 3583 2010-03-12 11:35:40Z shertage $
Author:
Teodor Danciu ([email protected])

Field Summary
static byte DIRECTION_BOTTOM_UP
          Deprecated. Replaced by LineDirectionEnum.BOTTOM_UP.
static byte DIRECTION_TOP_DOWN
          Deprecated. Replaced by LineDirectionEnum.TOP_DOWN.
 
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()
          Deprecated. Replaced by getDirectionValue().
 LineDirectionEnum getDirectionValue()
          Gets the line direction.
 void setDirection(byte direction)
          Deprecated. Replaced by setDirection(LineDirectionEnum).
 void setDirection(LineDirectionEnum lineDirectionEnum)
          Sets the line direction.
 
Methods inherited from interface net.sf.jasperreports.engine.JRGraphicElement
getOwnPen, getPen, setPen, setPen
 
Methods inherited from interface net.sf.jasperreports.engine.JRElement
collectExpressions, getElementGroup, getKey, getPositionType, getPositionTypeValue, getPrintWhenExpression, getPrintWhenGroupChanges, getPropertyExpressions, getStretchType, getStretchTypeValue, getX, getY, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isRemoveLineWhenBlank, setPositionType, setPositionType, setPrintInFirstWholeBand, setPrintRepeatedValues, setPrintWhenDetailOverflows, setRemoveLineWhenBlank, setStretchType, 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.JRPropertiesHolder
getParentProperties, getPropertiesMap, hasProperties
 
Methods inherited from interface net.sf.jasperreports.engine.JRCommonGraphicElement
getFill, getFillValue, getLinePen, getOwnFill, getOwnFillValue, setFill, setFill, setFill
 
Methods inherited from interface net.sf.jasperreports.engine.JRCommonElement
getBackcolor, getForecolor, getHeight, getMode, getModeValue, getOwnBackcolor, getOwnForecolor, getOwnMode, getOwnModeValue, getWidth, setBackcolor, setForecolor, setMode, setMode, setMode
 
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
Deprecated. Replaced by LineDirectionEnum.TOP_DOWN.
See Also:
Constant Field Values

DIRECTION_BOTTOM_UP

static final byte DIRECTION_BOTTOM_UP
Deprecated. Replaced by LineDirectionEnum.BOTTOM_UP.
See Also:
Constant Field Values
Method Detail

getDirection

byte getDirection()
Deprecated. Replaced by getDirectionValue().


setDirection

void setDirection(byte direction)
Deprecated. Replaced by setDirection(LineDirectionEnum).


getDirectionValue

LineDirectionEnum getDirectionValue()
Gets the line direction.

Returns:
a value representing one of the line direction constants in LineDirectionEnum

setDirection

void setDirection(LineDirectionEnum lineDirectionEnum)
Sets the line direction.

Parameters:
lineDirectionEnum - a value representing one of the line direction constants in LineDirectionEnum


Copyright © 2011. All Rights Reserved.