|
||||||||||
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.LayoutCell
public class LayoutCell
The minimal item in the table.
Field Summary | |
---|---|
static int |
CELL_EMPTY
CELL is empty |
static int |
CELL_USED
CELL is used, it contains a CELL |
static int |
DROP_SPANNED
CELL is used because of "drop" properties of a cell element. |
protected static LayoutCell |
EMPTY_CELL
The empty cell. |
Method Summary | |
---|---|
CellHandle |
getCell()
Return the corresponding handle of the cell element. |
protected int |
getCellId()
Returns the unique index of the cell element. |
protected CellHandle |
getCellRegardlessStartPosition()
Return the corresponding handle of the cell element regardless of the position where the cell starts. |
protected int |
getColumnPosn()
Returns the column position of the current layout cell. |
int |
getColumnSpanOffset()
Returns the 0-based offset of the column span. |
protected org.eclipse.birt.report.model.elements.Cell |
getContent()
Returns the corresponding cell element. |
protected LayoutRow |
getLayoutContainer()
Returns the layout row that this layout cell resides. |
java.lang.String |
getLayoutString()
Returns the string that shows the layout. |
int |
getRowSpanForDrop()
Returns the row number for the drop span. |
int |
getRowSpanOffset()
Returns the 0-based offset of the row span. |
protected boolean |
isCellStartPosition()
Checks whether the current position is where the cell element begins to span. |
protected boolean |
isDropSet()
Checks whether "drop" value is "all" or "detail". |
boolean |
isDropSpanned()
Tests whether the atomic cell is occupied because of "drop" properties of cells. |
boolean |
isEffectualDrop()
Checks whether the drop is effectual. |
protected boolean |
isEmptyContent()
Checks whether there is any element in the cell element. |
boolean |
isUsed()
Tests whether the atomic cell is occupied by any cell. |
protected void |
setEffectualDrop(boolean isEffectualDrop)
Sets whether the drop is effectual. |
protected void |
setRowSpanForDrop(int rowSpanForDrop)
Sets the row number for the drop span. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final LayoutCell EMPTY_CELL
public static final int CELL_EMPTY
public static final int CELL_USED
public static final int DROP_SPANNED
Method Detail |
---|
public boolean isUsed()
true
if the atomic cell is occupied by any cell.
Otherwise false
.public boolean isDropSpanned()
true
if the atomic cell is occupied. Otherwise
false
.protected org.eclipse.birt.report.model.elements.Cell getContent()
public int getColumnSpanOffset()
public int getRowSpanOffset()
public java.lang.String getLayoutString()
public boolean isEffectualDrop()
true
if the drop is effectual. Otherwise
false
.protected boolean isCellStartPosition()
true
if it is. Otherwise false
.public CellHandle getCell()
protected CellHandle getCellRegardlessStartPosition()
protected int getCellId()
protected boolean isEmptyContent()
true
if there is one or more element in the cell.
Otherwise false
.protected boolean isDropSet()
true
if "drop" value is "all" or "detail".
Otherwise false
.public int getRowSpanForDrop()
protected void setRowSpanForDrop(int rowSpanForDrop)
rowSpanForDrop
- the row numberprotected void setEffectualDrop(boolean isEffectualDrop)
isEffectualDrop
- true
if the drop is effectual. Otherwise
false
.protected int getColumnPosn()
protected LayoutRow getLayoutContainer()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |