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 JRLineBoxlineBox-
Fields inherited from class net.sf.jasperreports.engine.base.JRBasePen
lineColor, lineStyleValue, 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 JRBoxPenclone(JRLineBox lineBox)JRLineBoxgetBox()ColorgetLineColor()Gets the line color.LineStyleEnumgetLineStyleValue()Indicates the line style used for this pen.FloatgetLineWidth()Gets the line width used for this pen.JRPengetPen(JRLineBox box)-
Methods inherited from class net.sf.jasperreports.engine.base.JRBasePen
clone, getEventSupport, getHashCode, getOwnLineColor, getOwnLineStyleValue, 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, getOwnLineStyleValue, 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:JRPenGets the line width used for this pen.- Specified by:
getLineWidthin interfaceJRPen- Overrides:
getLineWidthin classJRBasePen- Returns:
- line width
-
getLineStyleValue
public LineStyleEnum getLineStyleValue()
Description copied from interface:JRPenIndicates the line style used for this pen.- Specified by:
getLineStyleValuein interfaceJRPen- Overrides:
getLineStyleValuein classJRBasePen- Returns:
- a value representing one of the line style constants in
LineStyleEnum
-
getLineColor
public Color getLineColor()
Description copied from interface:JRPenGets the line color.- Specified by:
getLineColorin interfaceJRPen- Overrides:
getLineColorin classJRBasePen
-
-