Package net.sf.jasperreports.engine.base
Class JRBaseBoxPen
- java.lang.Object
-
- net.sf.jasperreports.engine.base.JRBasePen
-
- net.sf.jasperreports.engine.base.JRBaseBoxPen
-
- All Implemented Interfaces:
Serializable
,Cloneable
,JRBoxPen
,Deduplicable
,JRChangeEventsSupport
,JRPen
- Direct Known Subclasses:
JRBaseBoxBottomPen
,JRBaseBoxLeftPen
,JRBaseBoxRightPen
,JRBaseBoxTopPen
public class JRBaseBoxPen extends JRBasePen implements JRBoxPen
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected JRLineBox
lineBox
-
Fields inherited from class net.sf.jasperreports.engine.base.JRBasePen
lineColor, lineStyle, lineWidth, penContainer, PROPERTY_LINE_COLOR, PROPERTY_LINE_STYLE, PROPERTY_LINE_WIDTH
-
Fields inherited from interface net.sf.jasperreports.engine.JRPen
LINE_WIDTH_0, LINE_WIDTH_1
-
-
Constructor Summary
Constructors Constructor Description JRBaseBoxPen(JRLineBox box)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JRBoxPen
clone(JRLineBox lineBox)
JRLineBox
getBox()
Color
getLineColor()
Gets the line color.LineStyleEnum
getLineStyle()
Indicates the line style used for this pen.Float
getLineWidth()
Gets the line width used for this pen.JRPen
getPen(JRLineBox box)
-
Methods inherited from class net.sf.jasperreports.engine.base.JRBasePen
clone, getEventSupport, getHashCode, getOwnLineColor, getOwnLineStyle, getOwnLineWidth, getPenContainer, getStyleNameReference, getStyleResolver, isIdentical, populateStyle, setLineColor, setLineStyle, setLineWidth
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.sf.jasperreports.engine.JRPen
clone, getOwnLineColor, getOwnLineStyle, getOwnLineWidth, getPenContainer, populateStyle, setLineColor, setLineStyle, setLineWidth
-
-
-
-
Field Detail
-
lineBox
protected JRLineBox lineBox
-
-
Constructor Detail
-
JRBaseBoxPen
public JRBaseBoxPen(JRLineBox box)
-
-
Method Detail
-
getLineWidth
public Float getLineWidth()
Description copied from interface:JRPen
Gets the line width used for this pen.- Specified by:
getLineWidth
in interfaceJRPen
- Overrides:
getLineWidth
in classJRBasePen
- Returns:
- line width
-
getLineStyle
public LineStyleEnum getLineStyle()
Description copied from interface:JRPen
Indicates the line style used for this pen.- Specified by:
getLineStyle
in interfaceJRPen
- Overrides:
getLineStyle
in classJRBasePen
- Returns:
- a value representing one of the line style constants in
LineStyleEnum
-
getLineColor
public Color getLineColor()
Description copied from interface:JRPen
Gets the line color.- Specified by:
getLineColor
in interfaceJRPen
- Overrides:
getLineColor
in classJRBasePen
-
-