dori.jasper.engine.base
Class JRBaseElement

java.lang.Object
  extended bydori.jasper.engine.base.JRBaseElement
All Implemented Interfaces:
JRElement, java.io.Serializable
Direct Known Subclasses:
JRBaseGraphicElement, JRBaseSubreport, JRBaseTextElement, JRDesignElement

public abstract class JRBaseElement
extends java.lang.Object
implements JRElement, java.io.Serializable

See Also:
Serialized Form

Field Summary
protected  java.awt.Color backcolor
           
protected  JRElementGroup elementGroup
           
protected  java.awt.Color forecolor
           
protected  int height
           
protected  boolean isPrintInFirstWholeBand
           
protected  boolean isPrintRepeatedValues
           
protected  boolean isPrintWhenDetailOverflows
           
protected  boolean isRemoveLineWhenBlank
           
protected  java.lang.String key
           
protected  byte mode
           
protected  byte positionType
           
protected  JRExpression printWhenExpression
           
protected  JRGroup printWhenGroupChanges
           
protected  byte stretchType
           
protected  int width
           
protected  int x
           
protected  int y
           
 
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
 
Constructor Summary
protected JRBaseElement()
           
protected JRBaseElement(JRElement element, JRBaseObjectFactory factory)
           
 
Method Summary
 java.awt.Color getBackcolor()
           
 JRElementGroup getElementGroup()
           
 java.awt.Color getForecolor()
           
 int getHeight()
           
 java.lang.String getKey()
           
 byte getMode()
           
 byte getPositionType()
           
 JRExpression getPrintWhenExpression()
           
 JRGroup getPrintWhenGroupChanges()
           
 byte getStretchType()
           
 int getWidth()
           
 int getX()
           
 int getY()
           
 boolean isPrintInFirstWholeBand()
           
 boolean isPrintRepeatedValues()
           
 boolean isPrintWhenDetailOverflows()
           
 boolean isRemoveLineWhenBlank()
           
 void setBackcolor(java.awt.Color backcolor)
           
 void setForecolor(java.awt.Color forecolor)
           
 void setMode(byte mode)
           
 void setPositionType(byte positionType)
           
 void setPrintInFirstWholeBand(boolean isPrint)
           
 void setPrintRepeatedValues(boolean isPrintRepeatedValues)
           
 void setPrintWhenDetailOverflows(boolean isPrint)
           
 void setRemoveLineWhenBlank(boolean isRemoveLine)
           
 void setStretchType(byte stretchType)
           
 void setWidth(int width)
           
 void setX(int x)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

key

protected java.lang.String key

positionType

protected byte positionType

stretchType

protected byte stretchType

isPrintRepeatedValues

protected boolean isPrintRepeatedValues

mode

protected byte mode

x

protected int x

y

protected int y

width

protected int width

height

protected int height

isRemoveLineWhenBlank

protected boolean isRemoveLineWhenBlank

isPrintInFirstWholeBand

protected boolean isPrintInFirstWholeBand

isPrintWhenDetailOverflows

protected boolean isPrintWhenDetailOverflows

forecolor

protected java.awt.Color forecolor

backcolor

protected java.awt.Color backcolor

printWhenExpression

protected JRExpression printWhenExpression

printWhenGroupChanges

protected JRGroup printWhenGroupChanges

elementGroup

protected JRElementGroup elementGroup
Constructor Detail

JRBaseElement

protected JRBaseElement()

JRBaseElement

protected JRBaseElement(JRElement element,
                        JRBaseObjectFactory factory)
Method Detail

getKey

public java.lang.String getKey()
Specified by:
getKey in interface JRElement

getPositionType

public byte getPositionType()
Specified by:
getPositionType in interface JRElement

setPositionType

public void setPositionType(byte positionType)
Specified by:
setPositionType in interface JRElement

getStretchType

public byte getStretchType()
Specified by:
getStretchType in interface JRElement

setStretchType

public void setStretchType(byte stretchType)
Specified by:
setStretchType in interface JRElement

isPrintRepeatedValues

public boolean isPrintRepeatedValues()
Specified by:
isPrintRepeatedValues in interface JRElement

setPrintRepeatedValues

public void setPrintRepeatedValues(boolean isPrintRepeatedValues)
Specified by:
setPrintRepeatedValues in interface JRElement

getMode

public byte getMode()
Specified by:
getMode in interface JRElement

setMode

public void setMode(byte mode)
Specified by:
setMode in interface JRElement

getX

public int getX()
Specified by:
getX in interface JRElement

setX

public void setX(int x)
Specified by:
setX in interface JRElement

getY

public int getY()
Specified by:
getY in interface JRElement

getWidth

public int getWidth()
Specified by:
getWidth in interface JRElement

setWidth

public void setWidth(int width)
Specified by:
setWidth in interface JRElement

getHeight

public int getHeight()
Specified by:
getHeight in interface JRElement

isRemoveLineWhenBlank

public boolean isRemoveLineWhenBlank()
Specified by:
isRemoveLineWhenBlank in interface JRElement

setRemoveLineWhenBlank

public void setRemoveLineWhenBlank(boolean isRemoveLine)
Specified by:
setRemoveLineWhenBlank in interface JRElement

isPrintInFirstWholeBand

public boolean isPrintInFirstWholeBand()
Specified by:
isPrintInFirstWholeBand in interface JRElement

setPrintInFirstWholeBand

public void setPrintInFirstWholeBand(boolean isPrint)
Specified by:
setPrintInFirstWholeBand in interface JRElement

isPrintWhenDetailOverflows

public boolean isPrintWhenDetailOverflows()
Specified by:
isPrintWhenDetailOverflows in interface JRElement

setPrintWhenDetailOverflows

public void setPrintWhenDetailOverflows(boolean isPrint)
Specified by:
setPrintWhenDetailOverflows in interface JRElement

getForecolor

public java.awt.Color getForecolor()
Specified by:
getForecolor in interface JRElement

setForecolor

public void setForecolor(java.awt.Color forecolor)
Specified by:
setForecolor in interface JRElement

getBackcolor

public java.awt.Color getBackcolor()
Specified by:
getBackcolor in interface JRElement

setBackcolor

public void setBackcolor(java.awt.Color backcolor)
Specified by:
setBackcolor in interface JRElement

getPrintWhenExpression

public JRExpression getPrintWhenExpression()
Specified by:
getPrintWhenExpression in interface JRElement

getPrintWhenGroupChanges

public JRGroup getPrintWhenGroupChanges()
Specified by:
getPrintWhenGroupChanges in interface JRElement

getElementGroup

public JRElementGroup getElementGroup()
Specified by:
getElementGroup in interface JRElement


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