public class JRTemplatePrintFrame extends JRTemplatePrintElement implements JRPrintFrame, JRPrintElementContainer
JRPrintFrame that uses
template frames to store common
attributes.templateUNSET_SOURCE_ELEMENT_ID| Constructor and Description |
|---|
JRTemplatePrintFrame(JRTemplateFrame templateFrame)
Deprecated.
provide a source Id via
JRTemplatePrintFrame(JRTemplateFrame, int) |
JRTemplatePrintFrame(JRTemplateFrame templateFrame,
int sourceElementId)
Creates a print frame element.
|
| Modifier and Type | Method and Description |
|---|---|
<T> void |
accept(PrintElementVisitor<T> visitor,
T arg)
Accepts a print element visitor.
|
void |
addElement(JRPrintElement element)
Adds an element to the container.
|
void |
addElements(Collection<? extends JRPrintElement> elements) |
Color |
getDefaultLineColor() |
List<JRPrintElement> |
getElements()
Returns the list of print elements contained in the frame.
|
JRLineBox |
getLineBox() |
getBackcolor, getDefaultStyleProvider, getForecolor, getHeight, getKey, getModeValue, getOrigin, getOwnBackcolor, getOwnForecolor, getOwnModeValue, getParentProperties, getPropertiesMap, getSourceElementId, getStyle, getStyleNameReference, getTemplate, getUUID, getWidth, getX, getY, hasProperties, setBackcolor, setForecolor, setHeight, setMode, setSourceElementId, setStyle, setTemplate, setUUID, setWidth, setX, setY, updateElementTemplateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetHeight, getKey, getOrigin, getSourceElementId, getWidth, getX, getY, setHeight, setStyle, setUUID, setWidth, setX, setYgetBackcolor, getForecolor, getModeValue, getOwnBackcolor, getOwnForecolor, getOwnModeValue, setBackcolor, setForecolor, setModegetDefaultStyleProvider, getStyle, getStyleNameReferencegetParentProperties, getPropertiesMap, hasPropertiesgetUUIDgetHeight, setHeightpublic JRTemplatePrintFrame(JRTemplateFrame templateFrame)
JRTemplatePrintFrame(JRTemplateFrame, int)templateFrame - the template frame that the element will usepublic JRTemplatePrintFrame(JRTemplateFrame templateFrame, int sourceElementId)
templateFrame - the template frame that the element will usesourceElementId - the Id of the source elementpublic List<JRPrintElement> getElements()
JRPrintFramegetElements in interface JRPrintElementContainergetElements in interface JRPrintFramepublic void addElement(JRPrintElement element)
JRPrintElementContaineraddElement in interface JRPrintElementContainerelement - the element to addpublic void addElements(Collection<? extends JRPrintElement> elements)
public JRLineBox getLineBox()
getLineBox in interface JRBoxContainerpublic Color getDefaultLineColor()
getDefaultLineColor in interface JRBoxContainergetDefaultLineColor in class JRTemplatePrintElementpublic <T> void accept(PrintElementVisitor<T> visitor, T arg)
JRPrintElementThe element calls the method that corresponds to the element type on the visitor.
accept in interface JRPrintElementaccept in class JRTemplatePrintElementT - the type of the argument passed to the visit operationvisitor - the visitor objectsarg - the argument passed to the visit operationCopyright © 2012. All Rights Reserved.