|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--sos.reports.AbstractReport.AbstractElement | +--sos.reports.AbstractReport.AbstractTierElement | +--sos.reports.AbstractReport.DefaultTableElement.DefaultTierElement
A default implementation of TierElement
.
Constructor Summary | |
AbstractReport.DefaultTableElement.DefaultTierElement(int type,
int index,
java.lang.Object object,
java.lang.String styleName,
CellElement prototypeCellElement)
Creates an instance of DefaultTierElement . |
Method Summary | |
int |
getIndex()
Returns the index of this tier in its parent table. |
java.lang.Object |
getObject()
Returns the object (or null , if none) associated with
this report element. |
CellElement |
getPrototypeCellElement()
Returns the prototypical cell element (or null , if none) for this tier. |
protected java.lang.String |
getStyleName()
Returns the name of the style that holds this element's visual properties. |
TableElement |
getTableElement()
Returns this tier's parent table. |
int |
getType()
Returns the type of this tier (either ROW or COLUMN ). |
protected void |
setIndex(int index)
Sets this tier element's index. |
void |
setPrototypeCellElement(CellElement prototypeCellElement)
Sets the prototypical cell element for this tier. |
Methods inherited from class sos.reports.AbstractReport.AbstractTierElement |
getAttributes, getName, getParentElement, isFooter, isHeader, setParentElement |
Methods inherited from class sos.reports.AbstractReport.AbstractElement |
fireObjectChanged, getPrototypeObject, getReport |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface sos.reports.TierElement |
isFooter, isHeader |
Methods inherited from interface sos.reports.Element |
getAttributes, getName, getParentElement, getPrototypeObject, getReport, setParentElement |
Constructor Detail |
public AbstractReport.DefaultTableElement.DefaultTierElement(int type, int index, java.lang.Object object, java.lang.String styleName, CellElement prototypeCellElement)
DefaultTierElement
.
Method Detail |
public void setPrototypeCellElement(CellElement prototypeCellElement)
prototypeCellElement
- this tier's prototypical cell elementgetPrototypeCellElement()
public int getIndex()
TierElement
getIndex
in interface TierElement
public java.lang.Object getObject()
Element
null
, if none) associated with
this report element.
getObject
in interface Element
getObject
in class AbstractReport.AbstractElement
null
)protected java.lang.String getStyleName()
AbstractReport.AbstractElement
getStyleName
in class AbstractReport.AbstractElement
public TableElement getTableElement()
TierElement
getParentElement
and casting the result
to TableElement
.
getTableElement
in interface TierElement
null
)protected void setIndex(int index)
index
- row or column indexgetIndex()
public int getType()
TierElement
ROW
or COLUMN
).
getType
in interface TierElement
ROW
if this tier is a row; COLUMN
if it is a columnpublic CellElement getPrototypeCellElement()
TierElement
null
, if none) for this tier.
getPrototypeCellElement
in interface TierElement
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |