public class JRBasePrintFrame extends JRBasePrintElement implements JRPrintFrame, JRPrintElementContainer
JRPrintFrame
.backcolor, defaultStyleProvider, forecolor, height, key, modeValue, origin, style, uuid, width, x, y
UNSET_PRINT_ELEMENT_ID, UNSET_SOURCE_ELEMENT_ID
Constructor and Description |
---|
JRBasePrintFrame(JRDefaultStyleProvider defaultStyleProvider) |
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 |
copyBox(JRLineBox lineBox) |
Color |
getDefaultLineColor() |
List<JRPrintElement> |
getElements()
Returns the list of print elements contained in the frame.
|
JRLineBox |
getLineBox() |
ModeEnum |
getModeValue()
Returns the element transparency mode.
|
getBackcolor, getDefaultStyleProvider, getForecolor, getHeight, getKey, getOrigin, getOwnBackcolor, getOwnForecolor, getOwnModeValue, getParentProperties, getPrintElementId, getPropertiesMap, getSourceElementId, getStyle, getStyleNameReference, getStyleResolver, getUUID, getWidth, getX, getY, hasProperties, setBackcolor, setForecolor, setHeight, setKey, setMode, setOrigin, setPrintElementId, setSourceElementId, setStyle, setUUID, setWidth, setX, setY
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getHeight, getKey, getOrigin, getPrintElementId, getSourceElementId, getWidth, getX, getY, setHeight, setStyle, setUUID, setWidth, setX, setY
getBackcolor, getForecolor, getOwnBackcolor, getOwnForecolor, getOwnModeValue, setBackcolor, setForecolor, setMode
getDefaultStyleProvider, getStyle, getStyleNameReference
getParentProperties, getPropertiesMap, hasProperties
getUUID
getHeight, setContentsWidth, setHeight
public JRBasePrintFrame(JRDefaultStyleProvider defaultStyleProvider)
public ModeEnum getModeValue()
JRCommonElement
getModeValue
in interface JRCommonElement
getModeValue
in class JRBasePrintElement
public void copyBox(JRLineBox lineBox)
public JRLineBox getLineBox()
getLineBox
in interface JRBoxContainer
public void addElement(JRPrintElement element)
JRPrintElementListContainer
addElement
in interface JRPrintElementListContainer
element
- the element to addpublic List<JRPrintElement> getElements()
JRPrintFrame
getElements
in interface JRPrintElementListContainer
getElements
in interface JRPrintFrame
public Color getDefaultLineColor()
getDefaultLineColor
in interface JRBoxContainer
public <T> void accept(PrintElementVisitor<T> visitor, T arg)
JRPrintElement
The element calls the method that corresponds to the element type on the visitor.
accept
in interface JRPrintElement
accept
in class JRBasePrintElement
T
- the type of the argument passed to the visit operationvisitor
- the visitor objectsarg
- the argument passed to the visit operationCopyright © 2023 Cloud Software Group, Inc.. All rights reserved.