net.sf.jasperreports.engine.base
Class JRBaseBoxPen

java.lang.Object
  extended by net.sf.jasperreports.engine.base.JRBasePen
      extended by net.sf.jasperreports.engine.base.JRBaseBoxPen
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, JRBoxPen, JRChangeEventsSupport, JRPen
Direct Known Subclasses:
JRBaseBoxBottomPen, JRBaseBoxLeftPen, JRBaseBoxRightPen, JRBaseBoxTopPen

public class JRBaseBoxPen
extends JRBasePen
implements JRBoxPen

Version:
$Id: JRBaseBoxPen.java 3033 2009-08-27 11:46:22Z teodord $
Author:
Teodor Danciu (teodord@users.sourceforge.net)
See Also:
Serialized Form

Field Summary
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_STYLE_DASHED, LINE_STYLE_DOTTED, LINE_STYLE_DOUBLE, LINE_STYLE_SOLID, LINE_WIDTH_0, LINE_WIDTH_1
 
Constructor Summary
JRBaseBoxPen(JRLineBox box)
           
 
Method Summary
 JRBoxPen clone(JRLineBox lineBox)
           
 JRLineBox getBox()
           
 java.awt.Color getLineColor()
          Gets the line color.
 java.lang.Byte getLineStyle()
          Gets the line style used for this pen.
 java.lang.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, getOwnLineColor, getOwnLineStyle, getOwnLineWidth, getStyleContainer, getStyleNameReference, setLineColor, setLineStyle, setLineStyle, setLineWidth, 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, getStyleContainer, setLineColor, setLineStyle, setLineStyle, setLineWidth, setLineWidth
 

Field Detail

lineBox

protected JRLineBox lineBox
Constructor Detail

JRBaseBoxPen

public JRBaseBoxPen(JRLineBox box)
Method Detail

getBox

public JRLineBox getBox()
Specified by:
getBox in interface JRBoxPen

getLineWidth

public java.lang.Float getLineWidth()
Description copied from interface: JRPen
Gets the line width used for this pen.

Specified by:
getLineWidth in interface JRPen
Overrides:
getLineWidth in class JRBasePen
Returns:
line width

getLineStyle

public java.lang.Byte getLineStyle()
Description copied from interface: JRPen
Gets the line style used for this pen.

Specified by:
getLineStyle in interface JRPen
Overrides:
getLineStyle in class JRBasePen
Returns:
one of the line style constants in this class

getLineColor

public java.awt.Color getLineColor()
Description copied from interface: JRPen
Gets the line color.

Specified by:
getLineColor in interface JRPen
Overrides:
getLineColor in class JRBasePen

getPen

public JRPen getPen(JRLineBox box)
Specified by:
getPen in interface JRBoxPen

clone

public JRBoxPen clone(JRLineBox lineBox)
Specified by:
clone in interface JRBoxPen


© 2001-2009 Jaspersoft Corporation www.jaspersoft.com