dori.jasper.engine.fill
Class JRFillStaticText

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

public class JRFillStaticText
extends JRFillTextElement
implements JRStaticText


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 JRFillStaticText(JRBaseFiller filler, JRStaticText staticText, JRFillObjectFactory factory)
           
 
Method Summary
protected  void evaluate(byte evaluation)
           
protected  JRPrintElement fill()
           
protected  JRTemplateText getJRTemplateText()
           
 java.lang.String getText()
           
protected  int getTextEnd()
           
protected  int getTextStart()
           
protected  boolean prepare(int availableStretchHeight, boolean isOverflow)
           
 void setText(java.lang.String text)
           
 
Methods inherited from class dori.jasper.engine.fill.JRFillTextElement
chopTextElement, getAbsoluteLeading, getAbsoluteLineSpacing, getFloatLineSpacing, getFont, getFontRenderContext, getLineSpacing, getRotation, getTextAlignment, getTextHeight, getVerticalAlignment, reset, rewind, setAbsoluteLeading, setAbsoluteLineSpacing, setLineSpacing, setRotation, setTextAlignment, setTextEnd, setTextHeight, setTextStart, setVerticalAlignment
 
Methods inherited from class dori.jasper.engine.fill.JRFillElement
addDependantElement, evaluatePrintWhenExpression, 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, 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.JRTextElement
getFont, getLineSpacing, getRotation, getTextAlignment, getVerticalAlignment, setLineSpacing, setRotation, setTextAlignment, setVerticalAlignment
 
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

JRFillStaticText

protected JRFillStaticText(JRBaseFiller filler,
                           JRStaticText staticText,
                           JRFillObjectFactory factory)
Method Detail

getText

public java.lang.String getText()
Specified by:
getText in interface JRStaticText
Overrides:
getText in class JRFillTextElement

setText

public void setText(java.lang.String text)
Specified by:
setText in interface JRStaticText

getTextStart

protected int getTextStart()
Overrides:
getTextStart in class JRFillTextElement

getTextEnd

protected int getTextEnd()
Overrides:
getTextEnd in class JRFillTextElement

getJRTemplateText

protected JRTemplateText getJRTemplateText()

evaluate

protected void evaluate(byte evaluation)
                 throws JRException
Specified by:
evaluate in class JRFillElement
Throws:
JRException

prepare

protected boolean prepare(int availableStretchHeight,
                          boolean isOverflow)
                   throws JRException
Overrides:
prepare in class JRFillElement
Throws:
JRException

fill

protected JRPrintElement fill()
                       throws JRException
Specified by:
fill in class JRFillElement
Throws:
JRException


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