dori.jasper.engine.base
Class JRBaseTextElement

java.lang.Object
  extended bydori.jasper.engine.base.JRBaseElement
      extended bydori.jasper.engine.base.JRBaseTextElement
All Implemented Interfaces:
JRAlignment, JRElement, JRTextElement, java.io.Serializable
Direct Known Subclasses:
JRBaseStaticText, JRBaseTextField

public abstract class JRBaseTextElement
extends JRBaseElement
implements JRTextElement

See Also:
Serialized Form

Field Summary
protected  JRFont font
           
protected  byte horizontalAlignment
           
protected  byte lineSpacing
           
protected  byte rotation
           
protected  byte verticalAlignment
           
 
Fields inherited from class dori.jasper.engine.base.JRBaseElement
backcolor, elementGroup, forecolor, height, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isRemoveLineWhenBlank, key, mode, positionType, printWhenExpression, printWhenGroupChanges, stretchType, width, x, y
 
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 JRBaseTextElement()
           
protected JRBaseTextElement(JRTextElement textElement, JRBaseObjectFactory factory)
           
 
Method Summary
 JRFont getFont()
           
 byte getLineSpacing()
           
 byte getRotation()
           
 byte getTextAlignment()
           
 byte getVerticalAlignment()
           
 void setLineSpacing(byte lineSpacing)
           
 void setRotation(byte rotation)
           
 void setTextAlignment(byte horizontalAlignment)
           
 void setVerticalAlignment(byte verticalAlignment)
           
 
Methods inherited from class dori.jasper.engine.base.JRBaseElement
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
 
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
 

Field Detail

horizontalAlignment

protected byte horizontalAlignment

verticalAlignment

protected byte verticalAlignment

rotation

protected byte rotation

lineSpacing

protected byte lineSpacing

font

protected JRFont font
Constructor Detail

JRBaseTextElement

protected JRBaseTextElement()

JRBaseTextElement

protected JRBaseTextElement(JRTextElement textElement,
                            JRBaseObjectFactory 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


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