dori.jasper.engine.fill
Class JRFillTextField

java.lang.Object
  extended bydori.jasper.engine.fill.JRFillElement
      extended bydori.jasper.engine.fill.JRFillTextElement
          extended bydori.jasper.engine.fill.JRFillTextField
All Implemented Interfaces:
JRAlignment, JRAnchor, JRElement, JRHyperlink, JRTextElement, JRTextField

public class JRFillTextField
extends JRFillTextElement
implements JRTextField


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
 
Fields inherited from interface dori.jasper.engine.JRHyperlink
HYPERLINK_TYPE_LOCAL_ANCHOR, HYPERLINK_TYPE_LOCAL_PAGE, HYPERLINK_TYPE_NONE, HYPERLINK_TYPE_REFERENCE, HYPERLINK_TYPE_REMOTE_ANCHOR, HYPERLINK_TYPE_REMOTE_PAGE
 
Constructor Summary
protected JRFillTextField(JRBaseFiller filler, JRTextField textField, JRFillObjectFactory factory)
           
 
Method Summary
protected  void copy(JRPrintText text)
           
protected  void evaluate(byte evaluation)
           
protected  void evaluateText(byte evaluation)
           
protected  JRPrintElement fill()
           
protected  java.lang.String getAnchorName()
           
 JRExpression getAnchorNameExpression()
           
 JRGroup getEvaluationGroup()
           
 byte getEvaluationTime()
           
 JRExpression getExpression()
           
protected  java.lang.String getHyperlinkAnchor()
           
 JRExpression getHyperlinkAnchorExpression()
           
protected  java.lang.Integer getHyperlinkPage()
           
 JRExpression getHyperlinkPageExpression()
           
protected  java.lang.String getHyperlinkReference()
           
 JRExpression getHyperlinkReferenceExpression()
           
 byte getHyperlinkType()
           
protected  JRTemplateText getJRTemplateText()
           
 java.lang.String getPattern()
           
protected  java.lang.String getText()
           
 boolean isBlankWhenNull()
           
 boolean isStretchWithOverflow()
           
protected  boolean prepare(int availableStretchHeight, boolean isOverflow)
           
 void setBlankWhenNull(boolean isBlank)
           
 void setPattern(java.lang.String pattern)
           
 void setStretchWithOverflow(boolean isStretchWithOverflow)
           
 
Methods inherited from class dori.jasper.engine.fill.JRFillTextElement
chopTextElement, getAbsoluteLeading, getAbsoluteLineSpacing, getFloatLineSpacing, getFont, getFontRenderContext, getLineSpacing, getRotation, getTextAlignment, getTextEnd, getTextHeight, getTextStart, 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

JRFillTextField

protected JRFillTextField(JRBaseFiller filler,
                          JRTextField textField,
                          JRFillObjectFactory factory)
Method Detail

isStretchWithOverflow

public boolean isStretchWithOverflow()
Specified by:
isStretchWithOverflow in interface JRTextField

setStretchWithOverflow

public void setStretchWithOverflow(boolean isStretchWithOverflow)
Specified by:
setStretchWithOverflow in interface JRTextField

getEvaluationTime

public byte getEvaluationTime()
Specified by:
getEvaluationTime in interface JRTextField

getPattern

public java.lang.String getPattern()
Specified by:
getPattern in interface JRTextField

setPattern

public void setPattern(java.lang.String pattern)
Specified by:
setPattern in interface JRTextField

isBlankWhenNull

public boolean isBlankWhenNull()
Specified by:
isBlankWhenNull in interface JRTextField

setBlankWhenNull

public void setBlankWhenNull(boolean isBlank)
Specified by:
setBlankWhenNull in interface JRTextField

getHyperlinkType

public byte getHyperlinkType()
Specified by:
getHyperlinkType in interface JRHyperlink

getEvaluationGroup

public JRGroup getEvaluationGroup()
Specified by:
getEvaluationGroup in interface JRTextField

getExpression

public JRExpression getExpression()
Specified by:
getExpression in interface JRTextField

getAnchorNameExpression

public JRExpression getAnchorNameExpression()
Specified by:
getAnchorNameExpression in interface JRAnchor

getHyperlinkReferenceExpression

public JRExpression getHyperlinkReferenceExpression()
Specified by:
getHyperlinkReferenceExpression in interface JRHyperlink

getHyperlinkAnchorExpression

public JRExpression getHyperlinkAnchorExpression()
Specified by:
getHyperlinkAnchorExpression in interface JRHyperlink

getHyperlinkPageExpression

public JRExpression getHyperlinkPageExpression()
Specified by:
getHyperlinkPageExpression in interface JRHyperlink

getText

protected java.lang.String getText()
Overrides:
getText in class JRFillTextElement

getAnchorName

protected java.lang.String getAnchorName()

getHyperlinkReference

protected java.lang.String getHyperlinkReference()

getHyperlinkAnchor

protected java.lang.String getHyperlinkAnchor()

getHyperlinkPage

protected java.lang.Integer getHyperlinkPage()

getJRTemplateText

protected JRTemplateText getJRTemplateText()

evaluate

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

evaluateText

protected void evaluateText(byte evaluation)
                     throws JRException
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

copy

protected void copy(JRPrintText text)
             throws JRException
Throws:
JRException


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