|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.birt.report.model.api.ColumnBandAdapter
org.eclipse.birt.report.model.api.GridColumnBandAdapter
Represents an object of copied objects when do copy/paste operations between grids.
Field Summary | |
protected GridHandle |
element
The element where the copy/paste operation occurs. |
Method Summary | |
protected static int |
findCellPosition(CellHandle cell)
Returns the position where the cell resides in the row. |
protected int |
getCellPosition(CellHandle cell)
Returns the column number with a given cell. |
protected java.util.List |
getCellsInSlot(SlotHandle handle,
int columnIndex)
Returns copied cells with the given slot and column number. |
protected java.util.List |
getCellsUnderColumn(int columnNumber)
Returns copied cells with the column number. |
protected int |
getColumnCount()
Returns the number of columns in the element. |
protected SlotHandle |
getColumns()
Returns the column slot. |
protected static int |
getColumnStartPos(ColumnHandle target)
Returns the column index that is the start column index of the target . |
protected ReportItemHandle |
getElementHandle()
Returns the element where the copy/paste operation occurs. |
protected org.eclipse.birt.report.model.core.Module |
getModule()
Returns the module where the element belongs to. |
protected RowHandle |
getRow(int slotId,
int groupId,
int rowNumber)
Returns the row with the given slot id, group id and the row number. |
protected int |
getRowCount()
Returns the number of rows in the element. |
protected boolean |
hasDroppingCell(java.util.List cells)
Always false since the "drop" property is disabled in
grid. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected GridHandle element
Method Detail |
protected ReportItemHandle getElementHandle()
org.eclipse.birt.report.model.api.ColumnBandAdapter
protected SlotHandle getColumns()
org.eclipse.birt.report.model.api.ColumnBandAdapter
protected java.util.List getCellsUnderColumn(int columnNumber)
org.eclipse.birt.report.model.api.ColumnBandAdapter
columnNumber
- the column number
protected int getCellPosition(CellHandle cell)
org.eclipse.birt.report.model.api.ColumnBandAdapter
cell
- the cell to find.
protected int getRowCount()
org.eclipse.birt.report.model.api.ColumnBandAdapter
protected int getColumnCount()
org.eclipse.birt.report.model.api.ColumnBandAdapter
protected RowHandle getRow(int slotId, int groupId, int rowNumber)
org.eclipse.birt.report.model.api.ColumnBandAdapter
slotId
- the slot idgroupId
- the group idrowNumber
- the row number
protected boolean hasDroppingCell(java.util.List cells)
false
since the "drop" property is disabled in
grid.
cells
- a list containing cell handles
true
if any cell has the "drop" property,
otherwise false
.ColumnBandAdapter.hasDroppingCell(java.util.List)
protected org.eclipse.birt.report.model.core.Module getModule()
protected static int getColumnStartPos(ColumnHandle target)
target
.
target
- the column to find
protected static int findCellPosition(CellHandle cell)
cell
- the cell handle
protected java.util.List getCellsInSlot(SlotHandle handle, int columnIndex)
handle
- the slotcolumnIndex
- the column number
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |