net.sf.jasperreports.engine.base
Class JRBasePrintLine
java.lang.Object
net.sf.jasperreports.engine.base.JRBasePrintElement
net.sf.jasperreports.engine.base.JRBasePrintGraphicElement
net.sf.jasperreports.engine.base.JRBasePrintLine
- All Implemented Interfaces:
- Serializable, JRCommonElement, JRCommonGraphicElement, JRIdentifiable, JRPenContainer, JRPrintElement, JRPrintGraphicElement, JRPrintLine, JRPropertiesHolder, JRStyleContainer
public class JRBasePrintLine
- extends JRBasePrintGraphicElement
- implements JRPrintLine
- Version:
- $Id: JRBasePrintLine.java 5180 2012-03-29 13:23:12Z teodord $
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
- See Also:
- Serialized Form
| Fields inherited from class net.sf.jasperreports.engine.base.JRBasePrintElement |
backcolor, defaultStyleProvider, forecolor, height, key, modeValue, origin, style, uuid, width, x, y |
| Methods inherited from class net.sf.jasperreports.engine.base.JRBasePrintElement |
getBackcolor, getDefaultStyleProvider, getForecolor, getHeight, getKey, getModeValue, getOrigin, getOwnBackcolor, getOwnForecolor, getOwnModeValue, getParentProperties, getPropertiesMap, getSourceElementId, getStyle, getStyleNameReference, getUUID, getWidth, getX, getY, hasProperties, setBackcolor, setForecolor, setKey, setMode, setOrigin, setSourceElementId, setStyle, setX, setY |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
directionValue
protected LineDirectionEnum directionValue
JRBasePrintLine
public JRBasePrintLine(JRDefaultStyleProvider defaultStyleProvider)
setWidth
public void setWidth(int width)
- Specified by:
setWidth in interface JRPrintElement- Overrides:
setWidth in class JRBasePrintElement
setHeight
public void setHeight(int height)
- Specified by:
setHeight in interface JRPrintElement- Overrides:
setHeight in class JRBasePrintElement
getDirectionValue
public LineDirectionEnum getDirectionValue()
- Description copied from interface:
JRPrintLine
- Gets the line direction.
- Specified by:
getDirectionValue in interface JRPrintLine
- Returns:
- a value representing one of the line direction constants in
LineDirectionEnum
setDirection
public void setDirection(LineDirectionEnum directionValue)
- Description copied from interface:
JRPrintLine
- Sets the line direction.
- Specified by:
setDirection in interface JRPrintLine
- Parameters:
directionValue - a value representing one of the line direction constants in LineDirectionEnum
accept
public <T> void accept(PrintElementVisitor<T> visitor,
T arg)
- Description copied from interface:
JRPrintElement
- Accepts a print element visitor.
The element calls the method that corresponds to the element type on the visitor.
- Specified by:
accept in interface JRPrintElement- Overrides:
accept in class JRBasePrintElement
- Type Parameters:
T - the type of the argument passed to the visit operation- Parameters:
visitor - the visitor objectsarg - the argument passed to the visit operation
Copyright © 2012. All Rights Reserved.