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.base
Class JRBasePrintLine

    java.lang.Object
      net.sf.jasperreports.engine.base.JRBasePrintElement
          net.sf.jasperreports.engine.base.JRBasePrintGraphicElement
              net.sf.jasperreports.engine.base.JRBasePrintLine

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

    public class JRBasePrintLine

extends JRBasePrintGraphicElement
implements JRPrintLine

Version:
  $Id: JRBasePrintLine.java 3991 2010-10-12 20:10:55Z lucianc $
Author:
  Teodor Danciu (teodord@users.sourceforge.net)
See Also:
  Serialized Form

Field Summary
`protected LineDirectionEnum` | `directionValue`

Fields inherited from class net.sf.jasperreports.engine.base.JRBasePrintGraphicElement
`fillValue, linePen`

Fields inherited from class net.sf.jasperreports.engine.base.JRBasePrintElement
`backcolor, defaultStyleProvider, forecolor, height, key, modeValue, origin, style, width, x, y`

Constructor Summary
`JRBasePrintLine(JRDefaultStyleProvider defaultStyleProvider)`

Method Summary
`
`<T> void`
` | `accept(PrintElementVisitor<T> visitor, T arg)` Accepts a print element visitor.
`byte` | `getDirection()` Deprecated. Replaced by `getDirectionValue()`.
`LineDirectionEnum` | `getDirectionValue()` Gets the line direction.
`void` | `setDirection(byte direction)` Deprecated. Replaced by `setDirection(LineDirectionEnum)`.
`void` | `setDirection(LineDirectionEnum directionValue)` Sets the line direction.
`void` | `setHeight(int height)`
`void` | `setWidth(int width)`

Methods inherited from class net.sf.jasperreports.engine.base.JRBasePrintGraphicElement
`copyPen, getDefaultLineColor, getDefaultLineWidth, getFill, getFillValue, getLinePen, getOwnFill, getOwnFillValue, getOwnPen, getPen, setFill, setFill, setFill, setPen, setPen`

Methods inherited from class net.sf.jasperreports.engine.base.JRBasePrintElement
`getBackcolor, getDefaultStyleProvider, getForecolor, getHeight, getKey, getMode, getModeValue, getOrigin, getOwnBackcolor, getOwnForecolor, getOwnMode, getOwnModeValue, getParentProperties, getPropertiesMap, getStyle, getStyleNameReference, getWidth, getX, getY, hasProperties, setBackcolor, setForecolor, setKey, setMode, setMode, setMode, setOrigin, setStyle, setX, setY`

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.JRPrintGraphicElement
`getOwnPen, getPen, setFill, setFill, setFill, setPen, setPen`

Methods inherited from interface net.sf.jasperreports.engine.JRPrintElement
`getHeight, getKey, getOrigin, getWidth, getX, getY, setStyle, setX, setY`

Methods inherited from interface net.sf.jasperreports.engine.JRPropertiesHolder
`getParentProperties, getPropertiesMap, hasProperties`

Methods inherited from interface net.sf.jasperreports.engine.JRCommonGraphicElement
`getFill, getFillValue, getLinePen, getOwnFill, getOwnFillValue`

Methods inherited from interface net.sf.jasperreports.engine.JRCommonElement
`getBackcolor, getForecolor, getMode, getModeValue, getOwnBackcolor, getOwnForecolor, getOwnMode, getOwnModeValue, setBackcolor, setForecolor, setMode, setMode, setMode`

Methods inherited from interface net.sf.jasperreports.engine.JRPenContainer
`getDefaultLineColor, getDefaultLineWidth`

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

Field Detail

### directionValue

    protected LineDirectionEnum directionValue

Constructor Detail

### JRBasePrintLine

    public JRBasePrintLine(JRDefaultStyleProvider defaultStyleProvider)

Method Detail

### setWidth

    public void setWidth(int width)

  Specified by:
    `setWidth` in interface `JRPrintElement`
  Overrides:
    `setWidth` in class `JRBasePrintElement`

### setHeight

    public void setHeight(int height)

  Specified by:
    `setHeight` in interface `JRPrintElement`
  Overrides:
    `setHeight` in class `JRBasePrintElement`

### getDirection

    public byte getDirection()

  Deprecated. Replaced by `getDirectionValue()`.

  Specified by:
    `getDirection` in interface `JRPrintLine`

### setDirection

    public void setDirection(byte direction)

  Deprecated. Replaced by `setDirection(LineDirectionEnum)`.

  Specified by:
    `setDirection` in interface `JRPrintLine`

### getDirectionValue

    public LineDirectionEnum getDirectionValue()

  Description copied from interface: `JRPrintLine`
  Gets the line direction.

  Specified by:
    `getDirectionValue` in interface `JRPrintLine`
  Returns:
    a value representing one of the line direction constants in `LineDirectionEnum`

### setDirection

    public void setDirection(LineDirectionEnum directionValue)

  Description copied from interface: `JRPrintLine`
  Sets the line direction.

  Specified by:
    `setDirection` in interface `JRPrintLine`
  Parameters:
    `directionValue` - a value representing one of the line direction constants in `LineDirectionEnum`

### accept

    public <T> void accept(PrintElementVisitor<T> visitor,
                           T arg)

  Description copied from interface: `JRPrintElement`
  Accepts a print element visitor.

  The element calls the method that corresponds to the element type on the visitor.

  Specified by:
    `accept` in interface `JRPrintElement`
  Overrides:
    `accept` in class `JRBasePrintElement`
  Type Parameters:
    `T` - the type of the argument passed to the visit operation
  Parameters:
    `visitor` - the visitor objects
    `arg` - the argument passed to the visit operation

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