public class JRTemplateFrame extends JRTemplateElement implements JRBoxContainer
JRTemplatePrintFrame,
Serialized Form| Modifier 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, templateIdenticalclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDefaultStyleProvider, getStyle, getStyleNameReferenceprotected 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 JRBoxContainerpublic void copyBox(JRLineBox lineBox)
public ModeEnum getModeValue()
JRCommonElementgetModeValue in interface JRCommonElementgetModeValue in class JRTemplateElementpublic Color getDefaultLineColor()
getDefaultLineColor in interface JRBoxContainerpublic int getHashCode()
DeduplicableDeduplicable.isIdentical(Object),
i.e. if two objects are identical they should have the same hash code.getHashCode in interface Deduplicablepublic boolean isIdentical(Object object)
DeduplicableisIdentical in interface Deduplicableobject - the object to compare with this instancetrue if the two objects are identical and can be deduplicatedCopyright © 2017. All rights reserved.