|
||||||||||
| 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.AbstractCellElement
|
+--sos.reports.AbstractReport.DefaultTableElement.DefaultCellElement
A default implementation of CellElement.
| Constructor Summary | |
AbstractReport.DefaultTableElement.DefaultCellElement(Element cellContents,
int rowStart,
int columnStart,
int rowEnd,
int columnEnd,
java.lang.String styleName)
Creates an instance of DefaultCellElement. |
|
| Method Summary | |
Element |
getContent()
Returns the contents of this cell element. |
TierElement |
getFirstTier(int tierType)
Returns the first row or column of this cell element. |
TierElement |
getLastTier(int tierType)
Returns the last row or column of this cell element. |
protected java.lang.String |
getStyleName()
Returns the name of the style that holds this element's visual properties. |
TableElement |
getTableElement()
Returns the table element to which this cell belongs. |
| Methods inherited from class sos.reports.AbstractReport.AbstractCellElement |
getAttributes, getName, getParentElement, setParentElement |
| Methods inherited from class sos.reports.AbstractReport.AbstractElement |
fireObjectChanged, getObject, 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.Element |
getAttributes, getName, getObject, getParentElement, getPrototypeObject, getReport, setParentElement |
| Constructor Detail |
public AbstractReport.DefaultTableElement.DefaultCellElement(Element cellContents,
int rowStart,
int columnStart,
int rowEnd,
int columnEnd,
java.lang.String styleName)
DefaultCellElement.
| Method Detail |
public Element getContent()
CellElement
getContent in interface CellElementprotected java.lang.String getStyleName()
AbstractReport.AbstractElement
getStyleName in class AbstractReport.AbstractElementpublic TableElement getTableElement()
CellElement
getTableElement in interface CellElement
public TierElement getLastTier(int tierType)
throws java.lang.IllegalArgumentException
CellElementROW, the ending row is returned;
if COLUMN, the ending column is returned.
getLastTier in interface CellElementtierType - type of tier (either ROW or COLUMN)
ROW) or column (if COLUMN) at which
this cell element ends (may not be null)
java.lang.IllegalArgumentException - if tierType is not
ROW or COLUMNCellElement.getFirstTier(int)public TierElement getFirstTier(int tierType)
CellElementROW, the starting row is returned;
if COLUMN, the starting column is returned.
getFirstTier in interface CellElementtierType - type of tier (either ROW or COLUMN)
ROW) or column (if COLUMN) at which
this cell element starts (may not be null)CellElement.getLastTier(int)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||