|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jasperreports.engine.base.JRBaseElement
net.sf.jasperreports.engine.design.JRDesignElement
net.sf.jasperreports.engine.design.JRDesignComponentElement
public class JRDesignComponentElement
A JRComponentElement
implementation which is to be used at report
design time.
Field Summary | |
---|---|
static java.lang.String |
PROPERTY_COMPONENT
|
static java.lang.String |
PROPERTY_COMPONENT_KEY
|
Fields inherited from class net.sf.jasperreports.engine.design.JRDesignElement |
---|
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 |
Constructor Summary | |
---|---|
JRDesignComponentElement()
Creates an empty component element. |
|
JRDesignComponentElement(JRDefaultStyleProvider defaultStyleProvider)
Creates an empty component element. |
Method Summary | |
---|---|
java.lang.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. |
void |
setComponentKey(ComponentKey componentKey)
Sets the component type key that corresponds to the component instance. |
void |
visit(JRVisitor visitor)
|
Methods inherited from class net.sf.jasperreports.engine.design.JRDesignElement |
---|
addPropertyExpression, getPropertyExpressions, getPropertyExpressionsList, removePropertyExpression, removePropertyExpression, setElementGroup, setHeight, setKey, setPrintWhenExpression, setPrintWhenGroupChanges, setStyle, setStyleNameReference, setY |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface net.sf.jasperreports.engine.JRElement |
---|
getElementGroup, getKey, getPositionTypeValue, getPrintWhenExpression, getPrintWhenGroupChanges, getPropertyExpressions, getStretchTypeValue, getX, getY, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isRemoveLineWhenBlank, setPositionType, setPrintInFirstWholeBand, setPrintRepeatedValues, setPrintWhenDetailOverflows, setRemoveLineWhenBlank, setStretchType, setWidth, setX |
Methods inherited from interface net.sf.jasperreports.engine.JRChild |
---|
clone |
Methods inherited from interface net.sf.jasperreports.engine.JRCommonElement |
---|
getBackcolor, getForecolor, getHeight, getModeValue, getOwnBackcolor, getOwnForecolor, getOwnModeValue, getWidth, setBackcolor, setForecolor, setMode |
Methods inherited from interface net.sf.jasperreports.engine.JRStyleContainer |
---|
getDefaultStyleProvider, getStyle, getStyleNameReference |
Methods inherited from interface net.sf.jasperreports.engine.JRPropertiesHolder |
---|
getParentProperties, getPropertiesMap, hasProperties |
Field Detail |
---|
public static final java.lang.String PROPERTY_COMPONENT
public static final java.lang.String PROPERTY_COMPONENT_KEY
Constructor Detail |
---|
public JRDesignComponentElement()
public JRDesignComponentElement(JRDefaultStyleProvider defaultStyleProvider)
defaultStyleProvider
- the default style provide to use for this
elementMethod Detail |
---|
public 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()
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 java.lang.Object clone()
clone
in interface JRCloneable
clone
in class JRBaseElement
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |