|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
A hierarchical portion of a report. Each Element has a parent element,
an underlying object, and a set of attributes. The parent element tells
where the element resides in the enclosing report, while the set of attributes
tells views how to render the underlying object.
ObjectElement,
TableElement| Method Summary | |
javax.swing.text.AttributeSet |
getAttributes()
Returns the set of attributes describing this report element. |
java.lang.String |
getName()
Returns the name of this report element. |
java.lang.Object |
getObject()
Returns the object (or null, if none) associated with
this report element. |
Element |
getParentElement()
Returns this element's parent. |
java.lang.Object |
getPrototypeObject()
Returns this element's sample object. |
Report |
getReport()
Returns the report to which this element belongs. |
void |
setParentElement(Element parent)
Sets this element's parent. |
| Method Detail |
public javax.swing.text.AttributeSet getAttributes()
null)public java.lang.String getName()
public java.lang.Object getObject()
null, if none) associated with
this report element.
null)public Element getParentElement()
null)public java.lang.Object getPrototypeObject()
null.
null)getObject()public Report getReport()
public void setParentElement(Element parent)
parent - parent element
java.lang.UnsupportedOperationException - if this element does not allow
the setting of its parentgetParentElement()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||