public class LayoutRow
extends java.lang.Object
| 限定符和类型 | 方法和说明 |
|---|---|
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. |
public LayoutCell getLayoutCell(int colId)
colId - the 0-based column indexprotected LayoutCell getLayoutCell(CellHandle cell)
cell - the cell handleprotected void addCell(LayoutCell cell)
cell - the cellprotected java.util.List checkOverlappedLayoutCells(int colId,
int colSpan)
colPos
and colPos + colSpan - 1colId - the 0-based column positioncolSpan - the column spanLayoutCellss 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 elementprotected 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()
Copyright © 2008 Actuate Corp. All rights reserved.