## Uses of Interface
net.sf.jasperreports.engine.JRPen

- Packages that use JRPen
  Package | Description
  --- | ---
  net.sf.jasperreports.engine | Provides access to the library's main functionality through facade classes for compiling, filling and exporting reports and also publishes the library's main interfaces and classes.
  net.sf.jasperreports.engine.base | Contains base implementations for the library's main interfaces.
  net.sf.jasperreports.engine.design | Contains design time implementations for the library's main interfaces as well as report compiling tools.
  net.sf.jasperreports.engine.export | Provides utility classes for exporting reports to various popular formats such as PDF, HTML, RTF, CSV, Excel, DOCX, PPTX, ODT, ODS, XML, Text, etc.
  net.sf.jasperreports.engine.export.draw | Contains classes for drawing elements at export time.
  net.sf.jasperreports.engine.export.oasis | Provides utility classes for exporting reports to Open Document Format, such as ODT and ODS.
  net.sf.jasperreports.engine.export.ooxml | Provides utility classes for exporting reports to Office Open XML Format, such as DOCX, XLSX and PPTX.
  net.sf.jasperreports.engine.fill | Contains fill time implementations for the library's main interfaces and the entire engine used in the filling process (the actual core of JasperReports).
  net.sf.jasperreports.engine.util | Contains utility classes for the core library.
  net.sf.jasperreports.engine.xml | Contains classes for loading report templates from XML files.

- - ### Uses of JRPen in net.sf.jasperreports.engine

    Methods in net.sf.jasperreports.engine that return JRPen
    Modifier and Type | Method and Description
    --- | ---
    `JRPen` | JRPen.`clone(JRPenContainer penContainer)`
    `JRPen` | JRCommonGraphicElement.`getLinePen()`
    `JRPen` | JRStyle.`getLinePen()`
    `JRPen` | JRBoxPenProvider.`getPen(JRLineBox box)` Gets the pen object.

  - ### Uses of JRPen in net.sf.jasperreports.engine.base

    Subinterfaces of JRPen in net.sf.jasperreports.engine.base
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `JRBoxPen`

    Classes in net.sf.jasperreports.engine.base that implement JRPen
    Modifier and Type | Class and Description
    --- | ---
    `class` | `JRBaseBoxBottomPen`
    `class` | `JRBaseBoxLeftPen`
    `class` | `JRBaseBoxPen`
    `class` | `JRBaseBoxRightPen`
    `class` | `JRBaseBoxTopPen`
    `class` | `JRBasePen` This is useful for drawing borders around text elements and images.

    Fields in net.sf.jasperreports.engine.base declared as JRPen
    Modifier and Type | Field and Description
    --- | ---
    `protected JRPen` | JRBaseGraphicElement.`linePen`
    `protected JRPen` | JRBasePrintGraphicElement.`linePen`
    `protected JRPen` | JRBaseStyle.`linePen`

    Methods in net.sf.jasperreports.engine.base that return JRPen
    Modifier and Type | Method and Description
    --- | ---
    `JRPen` | JRBasePen.`clone(JRPenContainer penContainer)`
    `JRPen` | JRBaseGraphicElement.`getLinePen()`
    `JRPen` | JRBasePrintGraphicElement.`getLinePen()`
    `JRPen` | JRBaseStyle.`getLinePen()`
    `JRPen` | JRBaseBoxPen.`getPen(JRLineBox box)`
    `JRPen` | JRBaseBoxBottomPen.`getPen(JRLineBox box)`
    `JRPen` | JRBaseBoxLeftPen.`getPen(JRLineBox box)`
    `JRPen` | JRBaseBoxRightPen.`getPen(JRLineBox box)`
    `JRPen` | JRBaseBoxTopPen.`getPen(JRLineBox box)`
    `JRPen` | JRBoxPen.`getPen(JRLineBox box)`

    Methods in net.sf.jasperreports.engine.base with parameters of type JRPen
    Modifier and Type | Method and Description
    --- | ---
    `void` | JRBasePrintGraphicElement.`copyPen(JRPen linePen)`

  - ### Uses of JRPen in net.sf.jasperreports.engine.design

    Fields in net.sf.jasperreports.engine.design declared as JRPen
    Modifier and Type | Field and Description
    --- | ---
    `protected JRPen` | JRDesignGraphicElement.`linePen`

    Methods in net.sf.jasperreports.engine.design that return JRPen
    Modifier and Type | Method and Description
    --- | ---
    `JRPen` | JRDesignGraphicElement.`getLinePen()`

  - ### Uses of JRPen in net.sf.jasperreports.engine.export

    Methods in net.sf.jasperreports.engine.export with parameters of type JRPen
    Modifier and Type | Method and Description
    --- | ---
    `protected boolean` | HtmlExporter.`appendPen(java.lang.StringBuilder sb, JRPen pen, java.lang.String side)`
    `protected void` | JRXhtmlExporter.`appendPositionStyle(JRPrintElement element, JRPen pen, java.lang.StringBuffer styleBuffer)` Deprecated.
    `protected void` | JRXhtmlExporter.`appendSizeStyle(JRPrintElement element, JRPen pen, java.lang.StringBuffer styleBuffer)` Deprecated.
    `protected void` | JRPdfExporter.`exportBottomPen(JRPen leftPen, JRPen bottomPen, JRPen rightPen, JRPrintElement element)`
    `protected void` | JRPdfExporter.`exportLeftPen(JRPen topPen, JRPen leftPen, JRPen bottomPen, JRPrintElement element)`
    `protected void` | JRXmlExporter.`exportPen(JRPen pen)`
    `protected void` | JRPdfExporter.`exportPen(JRPen pen, JRPrintElement element)`
    `protected void` | JRXmlExporter.`exportPen(java.lang.String element, JRPen pen)`
    `protected void` | JRPdfExporter.`exportRightPen(JRPen topPen, JRPen bottomPen, JRPen rightPen, JRPrintElement element)`
    `protected void` | JRPdfExporter.`exportTopPen(JRPen topPen, JRPen leftPen, JRPen rightPen, JRPrintElement element)`
    `protected static jxl.format.BorderLineStyle` | JExcelApiMetadataExporter.`getBorderLineStyle(JRPen pen)` Deprecated.
    `protected static jxl.format.BorderLineStyle` | JExcelApiExporter.`getBorderLineStyle(JRPen pen)` Deprecated.
    `protected static short` | JRXlsMetadataExporter.`getBorderStyle(JRPen pen)`
    `protected static short` | JRXlsExporter.`getBorderStyle(JRPen pen)`
    `protected int` | JRXlsAbstractMetadataExporter.`getImageBorderCorrection(JRPen pen)`
    `protected int` | JRXlsAbstractExporter.`getImageBorderCorrection(JRPen pen)`
    `void` | JRXlsMetadataExporter.BoxStyle.`setPen(JRPen pen)`
    `void` | JExcelApiMetadataExporter.BoxStyle.`setPen(JRPen pen)`
    `void` | JExcelApiExporter.BoxStyle.`setPen(JRPen pen)`

    Constructors in net.sf.jasperreports.engine.export with parameters of type JRPen
    Constructor and Description
    `JExcelApiExporter.BoxStyle(int side, JRPen pen)`
    `JExcelApiMetadataExporter.BoxStyle(int side, JRPen pen)`
    `JRXlsMetadataExporter.BoxStyle(int side, JRPen pen)`

  - ### Uses of JRPen in net.sf.jasperreports.engine.export.draw

    Methods in net.sf.jasperreports.engine.export.draw with parameters of type JRPen
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | ElementDrawer.`drawBottomPen(java.awt.Graphics2D grx, JRPen leftPen, JRPen bottomPen, JRPen rightPen, JRPrintElement element, int offsetX, int offsetY)`
    `protected void` | ElementDrawer.`drawLeftPen(java.awt.Graphics2D grx, JRPen topPen, JRPen leftPen, JRPen bottomPen, JRPrintElement element, int offsetX, int offsetY)`
    `protected void` | ElementDrawer.`drawPen(java.awt.Graphics2D grx, JRPen pen, JRPrintElement element, int offsetX, int offsetY)`
    `protected void` | ElementDrawer.`drawRightPen(java.awt.Graphics2D grx, JRPen topPen, JRPen bottomPen, JRPen rightPen, JRPrintElement element, int offsetX, int offsetY)`
    `protected void` | ElementDrawer.`drawTopPen(java.awt.Graphics2D grx, JRPen topPen, JRPen leftPen, JRPen rightPen, JRPrintElement element, int offsetX, int offsetY)`

  - ### Uses of JRPen in net.sf.jasperreports.engine.export.oasis

    Methods in net.sf.jasperreports.engine.export.oasis with parameters of type JRPen
    Modifier and Type | Method and Description
    --- | ---
    `void` | BorderStyle.`setPen(JRPen pen)`

  - ### Uses of JRPen in net.sf.jasperreports.engine.export.ooxml

    Methods in net.sf.jasperreports.engine.export.ooxml with parameters of type JRPen
    Modifier and Type | Method and Description
    --- | ---
    `void` | DocxBorderHelper.`export(JRPen pen)`
    `void` | XlsxBorderHelper.`export(JRPen pen)`

    Constructors in net.sf.jasperreports.engine.export.ooxml with parameters of type JRPen
    Constructor and Description
    `DocxBorderInfo(JRPen pen)`
    `XlsxBorderInfo(JRPen pen)`

  - ### Uses of JRPen in net.sf.jasperreports.engine.fill

    Fields in net.sf.jasperreports.engine.fill declared as JRPen
    Modifier and Type | Field and Description
    --- | ---
    `protected JRPen` | JRFillGraphicElement.`initPen`
    `protected JRPen` | JRTemplateGraphicElement.`linePen`
    `protected JRPen` | JRFillGraphicElement.`pen`

    Methods in net.sf.jasperreports.engine.fill that return JRPen
    Modifier and Type | Method and Description
    --- | ---
    `JRPen` | JRTemplateGraphicElement.`getLinePen()`
    `JRPen` | JRFillGraphicElement.`getLinePen()`
    `JRPen` | JRTemplatePrintGraphicElement.`getLinePen()`

    Methods in net.sf.jasperreports.engine.fill with parameters of type JRPen
    Modifier and Type | Method and Description
    --- | ---
    `void` | JRTemplateGraphicElement.`copyLinePen(JRPen pen)` Copies `pen` attributes.

  - ### Uses of JRPen in net.sf.jasperreports.engine.util

    Methods in net.sf.jasperreports.engine.util with parameters of type JRPen
    Modifier and Type | Method and Description
    --- | ---
    `static void` | JRStyleResolver.`appendPen(JRPen destPen, JRPen srcPen)` Merges two pens, by appending the properties of the source pen to the ones of the destination pen.
    `static java.awt.Color` | JRStyleResolver.`getLineColor(JRPen pen, java.awt.Color defaultColor)`
    `static LineStyleEnum` | JRStyleResolver.`getLineStyleValue(JRPen pen)`
    `static java.lang.Float` | JRStyleResolver.`getLineWidth(JRPen pen, java.lang.Float defaultLineWidth)`
    `static java.lang.Byte` | JRPenUtil.`getOwnPenFromLinePen(JRPen linePen)`
    `static byte` | JRPenUtil.`getPenFromLinePen(JRPen linePen)`
    `static java.awt.Stroke` | JRPenUtil.`getStroke(JRPen pen, int lineCap)`
    `static void` | JRPenUtil.`setLinePenFromPen(java.lang.Byte pen, JRPen linePen)`
    `static void` | JRPenUtil.`setLinePenFromPen(PenEnum pen, JRPen linePen)`

  - ### Uses of JRPen in net.sf.jasperreports.engine.xml

    Methods in net.sf.jasperreports.engine.xml with parameters of type JRPen
    Modifier and Type | Method and Description
    --- | ---
    `protected static void` | JRPenFactory.`setPenAttributes(org.xml.sax.Attributes atts, JRPen pen)`
    `protected void` | JRXmlBaseWriter.`writePen(JRPen pen)`

© 2001-2010 Jaspersoft Corporation www.jaspersoft.com