dori.jasper.engine.fill
Class JRFillTextElement

java.lang.Object
  extended bydori.jasper.engine.fill.JRFillElement
      extended bydori.jasper.engine.fill.JRFillTextElement
All Implemented Interfaces:
JRAlignment, JRElement, JRTextElement
Direct Known Subclasses:
JRFillStaticText, JRFillTextField

public abstract class JRFillTextElement
extends JRFillElement
implements JRTextElement


Field Summary
 
Fields inherited from class dori.jasper.engine.fill.JRFillElement
band, elementGroup, filler, parent, printWhenGroupChanges, template
 
Fields inherited from interface dori.jasper.engine.JRTextElement
LINE_SPACING_1_1_2, LINE_SPACING_DOUBLE, LINE_SPACING_SINGLE, ROTATION_LEFT, ROTATION_NONE, ROTATION_RIGHT, TEXT_ALIGN_CENTER, TEXT_ALIGN_JUSTIFIED, TEXT_ALIGN_LEFT, TEXT_ALIGN_RIGHT
 
Fields inherited from interface dori.jasper.engine.JRElement
MODE_OPAQUE, MODE_TRANSPARENT, POSITION_TYPE_FIX_RELATIVE_TO_BOTTOM, POSITION_TYPE_FIX_RELATIVE_TO_TOP, POSITION_TYPE_FLOAT, STRETCH_TYPE_NO_STRETCH, STRETCH_TYPE_RELATIVE_TO_BAND_HEIGHT, STRETCH_TYPE_RELATIVE_TO_TALLEST_OBJECT
 
Fields inherited from interface dori.jasper.engine.JRAlignment
HORIZONTAL_ALIGN_CENTER, HORIZONTAL_ALIGN_JUSTIFIED, HORIZONTAL_ALIGN_LEFT, HORIZONTAL_ALIGN_RIGHT, VERTICAL_ALIGN_BOTTOM, VERTICAL_ALIGN_MIDDLE, VERTICAL_ALIGN_TOP
 
Constructor Summary
protected JRFillTextElement(JRBaseFiller filler, JRTextElement textElement, JRFillObjectFactory factory)
           
 
Method Summary
protected  void chopTextElement(int availableStretchHeight)
           
protected  float getAbsoluteLeading()
           
protected  float getAbsoluteLineSpacing()
           
protected  float getFloatLineSpacing()
           
 JRFont getFont()
           
protected static java.awt.font.FontRenderContext getFontRenderContext()
           
 byte getLineSpacing()
           
 byte getRotation()
           
protected  java.lang.String getText()
           
 byte getTextAlignment()
           
protected  int getTextEnd()
           
protected  float getTextHeight()
           
protected  int getTextStart()
           
 byte getVerticalAlignment()
           
protected  void reset()
           
protected  void rewind()
           
protected  void setAbsoluteLeading(float absoluteLeading)
           
protected  void setAbsoluteLineSpacing(float absoluteLineSpacing)
           
 void setLineSpacing(byte lineSpacing)
           
 void setRotation(byte rotation)
           
 void setTextAlignment(byte horizontalAlignment)
           
protected  void setTextEnd(int textEnd)
           
protected  void setTextHeight(float textHeight)
           
protected  void setTextStart(int textStart)
           
 void setVerticalAlignment(byte verticalAlignment)
           
 
Methods inherited from class dori.jasper.engine.fill.JRFillElement
addDependantElement, evaluate, evaluatePrintWhenExpression, fill, getBackcolor, getBand, getBandBottomY, getDependantElements, getElementGroup, getForecolor, getGroupElements, getHeight, getKey, getMode, getPositionType, getPrintWhenExpression, getPrintWhenGroupChanges, getRelativeY, getStretchHeight, getStretchType, getWidth, getX, getY, isAlreadyPrinted, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isPrintWhenExpressionNull, isPrintWhenTrue, isRemoveLineWhenBlank, isReprinted, isToPrint, moveDependantElements, prepare, setAlreadyPrinted, setBackcolor, setBand, setBandBottomY, setForecolor, setMode, setPositionType, setPrintInFirstWholeBand, setPrintRepeatedValues, setPrintWhenDetailOverflows, setPrintWhenExpressionNull, setPrintWhenTrue, setRelativeY, setRemoveLineWhenBlank, setReprinted, setStretchHeight, setStretchType, setToPrint, setWidth, setX, stretchElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface dori.jasper.engine.JRElement
getBackcolor, getElementGroup, getForecolor, getHeight, getKey, getMode, getPositionType, getPrintWhenExpression, getPrintWhenGroupChanges, getStretchType, getWidth, getX, getY, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isRemoveLineWhenBlank, setBackcolor, setForecolor, setMode, setPositionType, setPrintInFirstWholeBand, setPrintRepeatedValues, setPrintWhenDetailOverflows, setRemoveLineWhenBlank, setStretchType, setWidth, setX
 

Constructor Detail

JRFillTextElement

protected JRFillTextElement(JRBaseFiller filler,
                            JRTextElement textElement,
                            JRFillObjectFactory factory)
Method Detail

getTextAlignment

public byte getTextAlignment()
Specified by:
getTextAlignment in interface JRTextElement

setTextAlignment

public void setTextAlignment(byte horizontalAlignment)
Specified by:
setTextAlignment in interface JRTextElement

getVerticalAlignment

public byte getVerticalAlignment()
Specified by:
getVerticalAlignment in interface JRTextElement

setVerticalAlignment

public void setVerticalAlignment(byte verticalAlignment)
Specified by:
setVerticalAlignment in interface JRTextElement

getRotation

public byte getRotation()
Specified by:
getRotation in interface JRTextElement

setRotation

public void setRotation(byte rotation)
Specified by:
setRotation in interface JRTextElement

getLineSpacing

public byte getLineSpacing()
Specified by:
getLineSpacing in interface JRTextElement

setLineSpacing

public void setLineSpacing(byte lineSpacing)
Specified by:
setLineSpacing in interface JRTextElement

getFont

public JRFont getFont()
Specified by:
getFont in interface JRTextElement

getFloatLineSpacing

protected float getFloatLineSpacing()

getFontRenderContext

protected static java.awt.font.FontRenderContext getFontRenderContext()

getAbsoluteLineSpacing

protected float getAbsoluteLineSpacing()

setAbsoluteLineSpacing

protected void setAbsoluteLineSpacing(float absoluteLineSpacing)

getAbsoluteLeading

protected float getAbsoluteLeading()

setAbsoluteLeading

protected void setAbsoluteLeading(float absoluteLeading)

getTextHeight

protected float getTextHeight()

setTextHeight

protected void setTextHeight(float textHeight)

getTextStart

protected int getTextStart()

setTextStart

protected void setTextStart(int textStart)

getTextEnd

protected int getTextEnd()

setTextEnd

protected void setTextEnd(int textEnd)

getText

protected java.lang.String getText()

reset

protected void reset()
Overrides:
reset in class JRFillElement

rewind

protected void rewind()
               throws JRException
Specified by:
rewind in class JRFillElement
Throws:
JRException

chopTextElement

protected void chopTextElement(int availableStretchHeight)


Copyright © 2001-2004 Teodor Danciu. All Rights Reserved.