Package net.sf.jasperreports.engine.fill
Class JRTemplatePrintGraphicElement
java.lang.Object
net.sf.jasperreports.engine.fill.JRTemplatePrintElement
net.sf.jasperreports.engine.fill.JRTemplatePrintGraphicElement
- All Implemented Interfaces:
Serializable,JRCommonElement,JRCommonGraphicElement,JRIdentifiable,JRPenContainer,JRPrintElement,JRPrintGraphicElement,JRPropertiesHolder,JRStyleContainer,VirtualizationSerializable
- Direct Known Subclasses:
JRTemplatePrintEllipse,JRTemplatePrintImage,JRTemplatePrintLine,JRTemplatePrintRectangle
public class JRTemplatePrintGraphicElement
extends JRTemplatePrintElement
implements JRPrintGraphicElement
Base implementation of
JRPrintGraphicElement that uses
a JRTemplateGraphicElement instance to
store common attributes.- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
- See Also:
-
Field Summary
Fields inherited from class net.sf.jasperreports.engine.fill.JRTemplatePrintElement
EXCEPTION_MESSAGE_KEY_TEMPLATE_NOT_FOUND, templateFields inherited from interface net.sf.jasperreports.engine.JRPrintElement
UNSET_PRINT_ELEMENT_ID, UNSET_SOURCE_ELEMENT_ID -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJRTemplatePrintGraphicElement(JRTemplateGraphicElement graphicElement, PrintElementOriginator originator) -
Method Summary
Modifier and TypeMethodDescriptiongetFill()Indicates the fill type used for this element.Indicates the own fill type used for this element.voidSets the fill type used for this element.Methods inherited from class net.sf.jasperreports.engine.fill.JRTemplatePrintElement
accept, getBackcolor, getDefaultStyleProvider, getForecolor, getHeight, getKey, getMode, getOrigin, getOwnBackcolor, getOwnForecolor, getOwnMode, getParentProperties, getPrintElementId, getPropertiesMap, getSourceElementId, getStyle, getStyleNameReference, getTemplate, getUUID, getWidth, getX, getY, hasProperties, readVirtualized, setBackcolor, setForecolor, setHeight, setMode, setSourceElementId, setStyle, setTemplate, setUUID, setWidth, setX, setY, updateElementTemplate, writeVirtualizedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.sf.jasperreports.engine.JRCommonElement
getBackcolor, getForecolor, getMode, getOwnBackcolor, getOwnForecolor, getOwnMode, setBackcolor, setForecolor, setModeMethods inherited from interface net.sf.jasperreports.engine.JRIdentifiable
getUUIDMethods inherited from interface net.sf.jasperreports.engine.JRPrintElement
accept, getHeight, getKey, getOrigin, getPrintElementId, getSourceElementId, getWidth, getX, getY, setHeight, setStyle, setUUID, setWidth, setX, setYMethods inherited from interface net.sf.jasperreports.engine.JRPropertiesHolder
getParentProperties, getPropertiesMap, hasPropertiesMethods inherited from interface net.sf.jasperreports.engine.JRStyleContainer
getDefaultStyleProvider, getStyle, getStyleName, getStyleNameReference
-
Constructor Details
-
JRTemplatePrintGraphicElement
public JRTemplatePrintGraphicElement() -
JRTemplatePrintGraphicElement
protected JRTemplatePrintGraphicElement(JRTemplateGraphicElement graphicElement, PrintElementOriginator originator) - Parameters:
originator-
-
-
Method Details
-
getLinePen
- Specified by:
getLinePenin interfaceJRCommonGraphicElement
-
getFill
Description copied from interface:JRCommonGraphicElementIndicates the fill type used for this element.- Specified by:
getFillin interfaceJRCommonGraphicElement- Returns:
- a value representing one of the fill type constants in
FillEnum
-
getOwnFill
Description copied from interface:JRCommonGraphicElementIndicates the own fill type used for this element.- Specified by:
getOwnFillin interfaceJRCommonGraphicElement- Returns:
- a value representing one of the fill type constants in
FillEnum
-
setFill
Description copied from interface:JRPrintGraphicElementSets the fill type used for this element.- Specified by:
setFillin interfaceJRCommonGraphicElement- Specified by:
setFillin interfaceJRPrintGraphicElement- Parameters:
fill- one of the pen constants inFillEnum.
-
getDefaultLineWidth
- Specified by:
getDefaultLineWidthin interfaceJRPenContainer
-
getDefaultLineColor
- Specified by:
getDefaultLineColorin interfaceJRPenContainer- Overrides:
getDefaultLineColorin classJRTemplatePrintElement
-