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 JRIdentifiable
public PartComponent getComponent()
JRPart
getComponent
in interface JRPart
public ComponentKey getComponentKey()
JRPart
The component type key needs to be set in order to locate the component manager.
getComponentKey
in interface JRPart
public PartEvaluationTime getEvaluationTime()
JRPart
getEvaluationTime
in interface JRPart
public JRExpression getPrintWhenExpression()
JRPart
getPrintWhenExpression
in interface JRPart
public JRExpression getPartNameExpression()
getPartNameExpression
in interface JRPart
public boolean hasProperties()
JRPropertiesHolder
hasProperties
in interface JRPropertiesHolder
public JRPropertiesMap getPropertiesMap()
JRPropertiesHolder
getPropertiesMap
in interface JRPropertiesHolder
public JRPropertiesHolder getParentProperties()
JRPropertiesHolder
getParentProperties
in interface JRPropertiesHolder
null
if no parentpublic JRPropertyChangeSupport getEventSupport()
JRChangeEventsSupport
getEventSupport
in interface JRChangeEventsSupport
public Object clone()
clone
in interface JRCloneable
clone
in class Object
Copyright © 2019 TIBCO Software Inc.. All rights reserved.