net.sf.jasperreports.engine
Interface JRPen

All Known Subinterfaces:
JRBoxPen
All Known Implementing Classes:
JRBaseBoxBottomPen, JRBaseBoxLeftPen, JRBaseBoxPen, JRBaseBoxRightPen, JRBaseBoxTopPen, JRBasePen

public interface JRPen

Version:
$Id: JRPen.java 4595 2011-09-08 15:55:10Z teodord $
Author:
Teodor Danciu ([email protected])

Field Summary
static Float LINE_WIDTH_0
           
static Float LINE_WIDTH_1
           
 
Method Summary
 JRPen clone(JRPenContainer penContainer)
           
 Color getLineColor()
          Gets the line color.
 LineStyleEnum getLineStyleValue()
          Indicates the line style used for this pen.
 Float getLineWidth()
          Gets the line width used for this pen.
 Color getOwnLineColor()
           
 LineStyleEnum getOwnLineStyleValue()
          Indicates the line style used for this pen.
 Float getOwnLineWidth()
           
 JRStyleContainer getStyleContainer()
           
 void setLineColor(Color color)
          Sets the line color.
 void setLineStyle(LineStyleEnum lineStyleEnum)
          Specifies the line style.
 void setLineWidth(float lineWidth)
          Sets the line width.
 void setLineWidth(Float lineWidth)
           
 

Field Detail

LINE_WIDTH_0

static final Float LINE_WIDTH_0

LINE_WIDTH_1

static final Float LINE_WIDTH_1
Method Detail

getStyleContainer

JRStyleContainer getStyleContainer()

clone

JRPen clone(JRPenContainer penContainer)

getLineWidth

Float getLineWidth()
Gets the line width used for this pen.

Returns:
line width

getOwnLineWidth

Float getOwnLineWidth()

setLineWidth

void setLineWidth(float lineWidth)
Sets the line width.

Parameters:
lineWidth - the line width

setLineWidth

void setLineWidth(Float lineWidth)

getLineStyleValue

LineStyleEnum getLineStyleValue()
Indicates the line style used for this pen.

Returns:
a value representing one of the line style constants in LineStyleEnum

getOwnLineStyleValue

LineStyleEnum getOwnLineStyleValue()
Indicates the line style used for this pen.

Returns:
a value representing one of the line style constants in LineStyleEnum

setLineStyle

void setLineStyle(LineStyleEnum lineStyleEnum)
Specifies the line style.

Parameters:
lineStyleEnum - a value representing one of the line style constants in LineStyleEnum

getLineColor

Color getLineColor()
Gets the line color.


getOwnLineColor

Color getOwnLineColor()

setLineColor

void setLineColor(Color color)
Sets the line color.



Copyright © 2012. All Rights Reserved.