public class JRDesignComponentElement extends JRDesignElement implements JRComponentElement
JRComponentElement
implementation which is to be used at report
design time.Modifier and Type | Field and Description |
---|---|
static String |
PROPERTY_COMPONENT |
static String |
PROPERTY_COMPONENT_KEY |
PROPERTY_ELEMENT_GROUP, PROPERTY_HEIGHT, PROPERTY_KEY, PROPERTY_PARENT_STYLE, PROPERTY_PARENT_STYLE_NAME_REFERENCE, PROPERTY_PRINT_WHEN_EXPRESSION, PROPERTY_PRINT_WHEN_GROUP_CHANGES, PROPERTY_PROPERTY_EXPRESSIONS, PROPERTY_Y
backcolor, defaultStyleProvider, elementGroup, forecolor, height, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isRemoveLineWhenBlank, key, modeValue, parentStyle, parentStyleNameReference, positionTypeValue, printWhenExpression, printWhenGroupChanges, PROPERTY_POSITION_TYPE, PROPERTY_PRINT_IN_FIRST_WHOLE_BAND, PROPERTY_PRINT_REPEATED_VALUES, PROPERTY_PRINT_WHEN_DETAIL_OVERFLOWS, PROPERTY_REMOVE_LINE_WHEN_BLANK, PROPERTY_STRETCH_TYPE, PROPERTY_WIDTH, PROPERTY_X, stretchTypeValue, uuid, width, x, y
PROPERTY_COMPONENT_NAME
Constructor and Description |
---|
JRDesignComponentElement()
Creates an empty component element.
|
JRDesignComponentElement(JRDefaultStyleProvider defaultStyleProvider)
Creates an empty component element.
|
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
void |
collectExpressions(JRExpressionCollector collector) |
Component |
getComponent()
Returns the component instance wrapped by this element.
|
ComponentKey |
getComponentKey()
Returns the component type key for this element.
|
JRPropertyChangeSupport |
getEventSupport()
Returns the property change support object for this instance.
|
void |
setComponent(Component component)
Sets the component instance wrapped by this element.
|
protected void |
setComponentContext() |
void |
setComponentKey(ComponentKey componentKey)
Sets the component type key that corresponds to the component instance.
|
void |
visit(JRVisitor visitor) |
addPropertyExpression, getPropertyExpressions, getPropertyExpressionsList, removePropertyExpression, removePropertyExpression, setElementGroup, setHeight, setKey, setPrintWhenExpression, setPrintWhenGroupChanges, setStyle, setStyleNameReference, setUUID, setY
clone, clone, getBackcolor, getBaseStyle, getDefaultStyleProvider, getElementGroup, getForecolor, getHeight, getKey, getModeValue, getOwnBackcolor, getOwnForecolor, getOwnModeValue, getParentProperties, getPositionTypeValue, getPrintWhenExpression, getPrintWhenGroupChanges, getPropertiesMap, getStretchTypeValue, getStyle, getStyleNameReference, getStyleResolver, getUUID, getWidth, getX, getY, hasProperties, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isRemoveLineWhenBlank, setBackcolor, setForecolor, setMode, setPositionType, setPrintInFirstWholeBand, setPrintRepeatedValues, setPrintWhenDetailOverflows, setRemoveLineWhenBlank, setStretchType, setWidth, setX
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone, getElementGroup, getKey, getPositionTypeValue, getPrintWhenExpression, getPrintWhenGroupChanges, getPropertyExpressions, getStretchTypeValue, getX, getY, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isRemoveLineWhenBlank, setPositionType, setPrintInFirstWholeBand, setPrintRepeatedValues, setPrintWhenDetailOverflows, setRemoveLineWhenBlank, setStretchType, setWidth, setX
getBackcolor, getForecolor, getHeight, getModeValue, getOwnBackcolor, getOwnForecolor, getOwnModeValue, getWidth, setBackcolor, setForecolor, setMode
getDefaultStyleProvider, getStyle, getStyleNameReference
getParentProperties, getPropertiesMap, hasProperties
getUUID
public static final String PROPERTY_COMPONENT
public static final String PROPERTY_COMPONENT_KEY
public JRDesignComponentElement()
public JRDesignComponentElement(JRDefaultStyleProvider defaultStyleProvider)
defaultStyleProvider
- the default style provide to use for this
elementpublic JRPropertyChangeSupport getEventSupport()
JRChangeEventsSupport
getEventSupport
in interface JRChangeEventsSupport
getEventSupport
in class JRBaseElement
public void collectExpressions(JRExpressionCollector collector)
collectExpressions
in interface JRElement
public void visit(JRVisitor visitor)
visit
in interface JRVisitable
public Component getComponent()
JRComponentElement
getComponent
in interface JRComponentElement
public void setComponent(Component component)
component
- the component instancegetComponent()
protected void setComponentContext()
public ComponentKey getComponentKey()
JRComponentElement
The component type key needs to be set in order to locate the component manager.
getComponentKey
in interface JRComponentElement
public void setComponentKey(ComponentKey componentKey)
componentKey
- the component type keygetComponentKey()
public Object clone()
clone
in interface JRCloneable
clone
in class JRDesignElement
Copyright © 2021 TIBCO Software Inc.. All rights reserved.