|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.jasperreports.engine.fill.JRTemplateElement net.sf.jasperreports.engine.fill.JRTemplateFrame
public class JRTemplateFrame
Frame information shared by multiple print frame objects.
JRTemplatePrintFrame
,
Serialized FormField Summary | |
---|---|
protected JRLineBox |
lineBox
|
Fields inherited from class net.sf.jasperreports.engine.fill.JRTemplateElement |
---|
defaultStyleProvider, origin, parentStyle |
Constructor Summary | |
---|---|
JRTemplateFrame(JROrigin origin,
JRDefaultStyleProvider defaultStyleProvider)
Creates a template frame. |
|
JRTemplateFrame(JROrigin origin,
JRDefaultStyleProvider defaultStyleProvider,
JRFillCellContents cell)
Creates a template frame for a crosstab cell. |
|
JRTemplateFrame(JROrigin origin,
JRDefaultStyleProvider defaultStyleProvider,
JRFillFrame frame)
Creates a template frame for a frame. |
Method Summary | |
---|---|
void |
copyBox(JRLineBox lineBox)
|
java.awt.Color |
getDefaultLineColor()
|
int |
getHashCode()
Returns a hash code to be used for the deduplicate map. |
JRLineBox |
getLineBox()
|
ModeEnum |
getModeValue()
Returns the element transparency mode. |
boolean |
isIdentical(java.lang.Object object)
Determines if this instance is identical to another object. |
Methods inherited from class net.sf.jasperreports.engine.fill.JRTemplateElement |
---|
addTemplateHash, getBackcolor, getBaseStyle, getDefaultStyleProvider, getForecolor, getHeight, getId, getKey, getOrigin, getOwnBackcolor, getOwnForecolor, getOwnModeValue, getParentProperties, getPropertiesMap, getStyle, getStyleNameReference, getUUID, getWidth, hasProperties, setBackcolor, setElement, setForecolor, setKey, setMode, setStyle, templateIdentical |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface net.sf.jasperreports.engine.JRStyleContainer |
---|
getDefaultStyleProvider, getStyle, getStyleNameReference |
Field Detail |
---|
protected JRLineBox lineBox
Constructor Detail |
---|
public JRTemplateFrame(JROrigin origin, JRDefaultStyleProvider defaultStyleProvider, JRFillCellContents cell)
cell
- the cellpublic JRTemplateFrame(JROrigin origin, JRDefaultStyleProvider defaultStyleProvider, JRFillFrame frame)
frame
- the framepublic JRTemplateFrame(JROrigin origin, JRDefaultStyleProvider defaultStyleProvider)
origin
- the origin of the elements that will use this templatedefaultStyleProvider
- the default style provider to use for
this templateMethod Detail |
---|
public JRLineBox getLineBox()
getLineBox
in interface JRBoxContainer
public void copyBox(JRLineBox lineBox)
public ModeEnum getModeValue()
JRCommonElement
getModeValue
in interface JRCommonElement
getModeValue
in class JRTemplateElement
public java.awt.Color getDefaultLineColor()
getDefaultLineColor
in interface JRBoxContainer
public int getHashCode()
Deduplicable
Deduplicable.isIdentical(Object)
,
i.e. if two objects are identical they should have the same hash code.
getHashCode
in interface Deduplicable
public boolean isIdentical(java.lang.Object object)
Deduplicable
isIdentical
in interface Deduplicable
object
- the object to compare with this instance
true
if the two objects are identical and can be deduplicated
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |