public class JRBasePart extends Object implements JRPart, Serializable, JRChangeEventsSupport
JRPart implementation which is included
in compiled reports.| Modifier and Type | Field and Description |
|---|---|
protected PartComponent |
component |
protected ComponentKey |
componentKey |
protected PartEvaluationTime |
evaluationTime |
protected JRExpression |
partNameExpression |
protected JRExpression |
printWhenExpression |
protected UUID |
uuid |
| Modifier | Constructor and Description |
|---|---|
protected |
JRBasePart() |
|
JRBasePart(JRPart part,
JRBaseObjectFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
PartComponent |
getComponent()
Returns the component instance wrapped by this part.
|
ComponentKey |
getComponentKey()
Returns the component type key for this part.
|
PartEvaluationTime |
getEvaluationTime()
Determines the moment at which this part is to be evaluated.
|
JRPropertyChangeSupport |
getEventSupport()
Returns the property change support object for this instance.
|
JRPropertiesHolder |
getParentProperties()
Returns the parent properties holder, whose properties are used as defaults
for this object.
|
JRExpression |
getPartNameExpression() |
JRExpression |
getPrintWhenExpression()
Returns the boolean expression that specifies if the part will be displayed.
|
JRPropertiesMap |
getPropertiesMap()
Returns this object's properties map.
|
UUID |
getUUID() |
boolean |
hasProperties()
Checks whether the object has any properties.
|
protected UUID uuid
protected JRExpression printWhenExpression
protected JRExpression partNameExpression
protected ComponentKey componentKey
protected PartComponent component
protected PartEvaluationTime evaluationTime
protected JRBasePart()
public JRBasePart(JRPart part, JRBaseObjectFactory factory)
public UUID getUUID()
getUUID in interface JRIdentifiablepublic PartComponent getComponent()
JRPartgetComponent in interface JRPartpublic ComponentKey getComponentKey()
JRPartThe component type key needs to be set in order to locate the component manager.
getComponentKey in interface JRPartpublic PartEvaluationTime getEvaluationTime()
JRPartgetEvaluationTime in interface JRPartpublic JRExpression getPrintWhenExpression()
JRPartgetPrintWhenExpression in interface JRPartpublic JRExpression getPartNameExpression()
getPartNameExpression in interface JRPartpublic boolean hasProperties()
JRPropertiesHolderhasProperties in interface JRPropertiesHolderpublic JRPropertiesMap getPropertiesMap()
JRPropertiesHoldergetPropertiesMap in interface JRPropertiesHolderpublic JRPropertiesHolder getParentProperties()
JRPropertiesHoldergetParentProperties in interface JRPropertiesHoldernull if no parentpublic JRPropertyChangeSupport getEventSupport()
JRChangeEventsSupportgetEventSupport in interface JRChangeEventsSupportpublic Object clone()
clone in interface JRCloneableclone in class ObjectCopyright © 2017. All rights reserved.