|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.birt.report.model.api.elements.table.LayoutRow
public class LayoutRow
Represents a row in table layout.
| Method Summary | |
|---|---|
protected void |
addCell(LayoutCell cell)
Addes a cell to the current row. |
java.util.Iterator |
cellsIterator()
Returns handles of Cells in the row. |
protected java.util.List |
checkOverlappedLayoutCells(int colId,
int colSpan)
Tests whether cells are occupied within the space colPos
and colPos + colSpan - 1 |
protected void |
fillCells(int cellId,
int colId,
int colSpan,
int rowSpanOffset,
org.eclipse.birt.report.model.elements.Cell content,
boolean isEffectualDrop)
Occupies cells within space colId and
colId + colSpan - 1. |
protected void |
fillDropSpannedCells(int cellId,
int colId,
int colSpan,
int rowSpanOffset,
org.eclipse.birt.report.model.elements.Cell content)
Occupies cells within space colId and
colId + colSpan - 1. |
protected int |
findCellColumnPos(org.eclipse.birt.report.model.elements.Cell cell)
Finds the column position for the given cell element. |
protected int |
getColumnCount()
Returns the column count of the row. |
protected LayoutSlot |
getContainer()
Returns the layout slot in which the layout row resides. |
protected LayoutCell |
getLayoutCell(CellHandle cell)
Returns the layout cell with the given cell element. |
LayoutCell |
getLayoutCell(int colId)
Returns the cell with the given index. |
java.lang.String |
getLayoutString()
Returns the string that shows the layout. |
protected int |
getOccupiedColumnCount()
Returns the count of columns that has cell elements in the row. |
RowHandle |
getRow()
Returns the corresponding handle of the row element. |
protected int |
getRowPosn()
Returns the row position in the its container. |
java.util.Iterator |
layoutCellsIterator()
Returns LayoutCells in the row. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public LayoutCell getLayoutCell(int colId)
colId - the 0-based column index
protected LayoutCell getLayoutCell(CellHandle cell)
cell - the cell handle
protected void addCell(LayoutCell cell)
cell - the cell
protected java.util.List checkOverlappedLayoutCells(int colId,
int colSpan)
colPos
and colPos + colSpan - 1
colId - the 0-based column positioncolSpan - the column span
LayoutCellss that are
overlapped with the check area.
protected void fillCells(int cellId,
int colId,
int colSpan,
int rowSpanOffset,
org.eclipse.birt.report.model.elements.Cell content,
boolean isEffectualDrop)
colId and
colId + colSpan - 1.
cellId - the unique cell idcolId - the 0-based column positioncolSpan - the column spanrowSpanOffset - the offset of the column spancontent - the cell elementisEffectualDrop - indicates whether the drop property of the cell can take
effects.
protected void fillDropSpannedCells(int cellId,
int colId,
int colSpan,
int rowSpanOffset,
org.eclipse.birt.report.model.elements.Cell content)
colId and
colId + colSpan - 1.
cellId - the unique cell idcolId - the 0-based column positioncolSpan - the column spanrowSpanOffset - the offset of the column spancontent - the cell elementprotected int findCellColumnPos(org.eclipse.birt.report.model.elements.Cell cell)
cell - the cell element
protected int getColumnCount()
protected int getOccupiedColumnCount()
public java.lang.String getLayoutString()
public RowHandle getRow()
protected LayoutSlot getContainer()
public java.util.Iterator layoutCellsIterator()
LayoutCells in the row. Note that modifications
on the return iterator do not affect the table layout.
LayoutCells.public java.util.Iterator cellsIterator()
Cells in the row. Note that
modifications on the return iterator do not affect the table layout.
CellHandles.protected int getRowPosn()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||