public class JRTemplateFrame extends JRTemplateElement implements JRBoxContainer
JRTemplatePrintFrame
,
Serialized FormModifier and Type | Field and Description |
---|---|
protected JRLineBox |
lineBox |
defaultStyleProvider, origin, parentStyle
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
void |
copyBox(JRLineBox lineBox) |
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(Object object)
Determines if this instance is identical to another object.
|
addTemplateHash, getBackcolor, getBaseStyle, getDefaultStyleProvider, getForecolor, getHeight, getId, getKey, getOrigin, getOwnBackcolor, getOwnForecolor, getOwnModeValue, getParentProperties, getPropertiesMap, getStyle, getStyleNameReference, getStyleResolver, getWidth, hasProperties, setBackcolor, setElement, setForecolor, setKey, setMode, setStyle, templateIdentical
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDefaultStyleProvider, getStyle, getStyleNameReference
protected JRLineBox lineBox
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 templatepublic JRLineBox getLineBox()
getLineBox
in interface JRBoxContainer
public void copyBox(JRLineBox lineBox)
public ModeEnum getModeValue()
JRCommonElement
getModeValue
in interface JRCommonElement
getModeValue
in class JRTemplateElement
public 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(Object object)
Deduplicable
isIdentical
in interface Deduplicable
object
- the object to compare with this instancetrue
if the two objects are identical and can be deduplicatedCopyright © 2016. All rights reserved.