Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## net.sf.jasperreports.engine.fill
Class JRTemplateLine

    java.lang.Object
      net.sf.jasperreports.engine.fill.JRTemplateElement
          net.sf.jasperreports.engine.fill.JRTemplateGraphicElement
              net.sf.jasperreports.engine.fill.JRTemplateLine

All Implemented Interfaces:
  java.io.Serializable, JRCommonElement, JRCommonGraphicElement, JRPenContainer, JRPropertiesHolder, JRStyleContainer

    public class JRTemplateLine

extends JRTemplateGraphicElement

Line element information shared by multiple print line objects.

Version:
  $Id: JRTemplateLine.java 3715 2010-04-08 18:08:49Z teodord $
Author:
  Teodor Danciu (teodord@users.sourceforge.net)
See Also:
  `JRTemplatePrintLine`, Serialized Form

Field Summary
`protected LineDirectionEnum` | `directionValue`

Fields inherited from class net.sf.jasperreports.engine.fill.JRTemplateGraphicElement
`linePen`

Fields inherited from class net.sf.jasperreports.engine.fill.JRTemplateElement
`defaultStyleProvider, origin, parentStyle`

Constructor Summary
`` | `JRTemplateLine(JROrigin origin, JRDefaultStyleProvider defaultStyleProvider)` Creates a template line.
`protected` | `JRTemplateLine(JROrigin origin, JRDefaultStyleProvider defaultStyleProvider, JRLine line)`

Method Summary
`byte` | `getDirection()` Deprecated. Replaced by `getDirectionValue()`.
`LineDirectionEnum` | `getDirectionValue()`
`void` | `setDirection(byte direction)` Deprecated. Replaced by `setDirection(LineDirectionEnum)`.
`void` | `setDirection(LineDirectionEnum directionValue)`
`protected void` | `setLine(JRLine line)`

Methods inherited from class net.sf.jasperreports.engine.fill.JRTemplateGraphicElement
`copyLinePen, getDefaultLineColor, getDefaultLineWidth, getFill, getFillValue, getLinePen, getOwnFill, getOwnFillValue, getOwnPen, getPen, setFill, setFill, setFill, setGraphicElement, setPen, setPen`

Methods inherited from class net.sf.jasperreports.engine.fill.JRTemplateElement
`getBackcolor, getBaseStyle, getDefaultStyleProvider, getForecolor, getHeight, getId, getKey, getMode, getModeValue, getOrigin, getOwnBackcolor, getOwnForecolor, getOwnMode, getOwnModeValue, getParentProperties, getPropertiesMap, getStyle, getStyleNameReference, getWidth, hasProperties, setBackcolor, setElement, setForecolor, setKey, setMode, setMode, setMode, setStyle`

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.JRCommonElement
`getBackcolor, getForecolor, getHeight, getKey, getMode, getModeValue, getOwnBackcolor, getOwnForecolor, getOwnMode, getOwnModeValue, getWidth, setBackcolor, setForecolor, setMode, setMode, setMode`

Methods inherited from interface net.sf.jasperreports.engine.JRStyleContainer
`getDefaultStyleProvider, getStyle, getStyleNameReference`

Field Detail

### directionValue

    protected LineDirectionEnum directionValue

Constructor Detail

### JRTemplateLine

    protected JRTemplateLine(JROrigin origin,
                             JRDefaultStyleProvider defaultStyleProvider,
                             JRLine line)

### JRTemplateLine

    public JRTemplateLine(JROrigin origin,
                          JRDefaultStyleProvider defaultStyleProvider)

  Creates a template line.

  Parameters:
    `origin` - the origin of the elements that will use this template
    `defaultStyleProvider` - the default style provider to use for this template

Method Detail

### setLine

    protected void setLine(JRLine line)

### getDirection

    public byte getDirection()

  Deprecated. Replaced by `getDirectionValue()`.

### setDirection

    public void setDirection(byte direction)

  Deprecated. Replaced by `setDirection(LineDirectionEnum)`.

### getDirectionValue

    public LineDirectionEnum getDirectionValue()

### setDirection

    public void setDirection(LineDirectionEnum directionValue)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

© 2001-2010 Jaspersoft Corporation www.jaspersoft.com