public class TableModelCell extends Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
dummy
If this is a real cell or only a placeholder.
|
protected boolean |
dummyAfter |
protected boolean |
dummyBefore
In XSL FO, we need to write cells for before & after,
but not dummy cells for horizontal merge
|
protected int |
rowspan |
protected TcPr |
tcPr |
Constructor and Description |
---|
TableModelCell(TableModel table,
int row,
int col)
Create a dummy cell without content
|
TableModelCell(TableModel table,
int row,
int col,
Tc tc) |
Modifier and Type | Method and Description |
---|---|
String |
debugStr() |
int |
getColspan() |
int |
getColumn() |
int |
getExtraCols()
How many columns are merged into this cell
|
int |
getExtraRows() |
TcPr |
getTcPr() |
protected void |
incrementRowSpan()
If this is a real cell, increment rowspan; if this is a dummy,
propagate the call to the cell upwards
|
boolean |
isDummy() |
boolean |
isDummyAfter() |
boolean |
isDummyBefore() |
boolean |
isVMerged() |
void |
setColspan(int colspan) |
protected int rowspan
protected boolean dummy
protected boolean dummyBefore
protected boolean dummyAfter
protected TcPr tcPr
public TableModelCell(TableModel table, int row, int col)
public TableModelCell(TableModel table, int row, int col, Tc tc)
public int getColspan()
public void setColspan(int colspan)
public boolean isDummyBefore()
public boolean isDummyAfter()
public TcPr getTcPr()
public int getExtraCols()
public int getExtraRows()
public boolean isDummy()
public int getColumn()
protected void incrementRowSpan()
public String debugStr()
public boolean isVMerged()
Copyright © 2007-2019. All Rights Reserved.