|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.fo.FONode
org.apache.fop.fo.FObj
org.apache.fop.fo.flow.TableCell
public class TableCell
Nested Class Summary | |
---|---|
static class |
TableCell.Maker
|
Field Summary | |
---|---|
protected int |
beforeOffset
Offset of content rectangle, in block-progression-direction, relative to the row. |
protected int |
borderHeight
|
protected boolean |
bRelativeAlign
|
protected int |
height
|
protected int |
minCellHeight
Minimum ontent height of cell. |
protected int |
startAdjust
Offset of content rectangle, in inline-progression-direction, relative to the column start edge. |
protected int |
startOffset
Offset of content rectangle in inline-progression-direction, relative to table. |
protected int |
top
|
protected int |
verticalAlign
|
protected int |
width
Dimension of allocation rectangle in inline-progression-direction, determined by the width of the column(s) occupied by the cell |
protected int |
widthAdjust
Adjust to theoretical column width to obtain content width relative to the column start edge. |
Fields inherited from class org.apache.fop.fo.FObj |
---|
column, line, properties, propMgr, systemId |
Fields inherited from class org.apache.fop.fo.FONode |
---|
areaClass, areasGenerated, BREAK_AFTER, children, forcedStartOffset, forcedWidth, isInTableCell, linkSet, log, marker, parent, START |
Constructor Summary | |
---|---|
TableCell(FObj parent,
PropertyList propertyList,
String systemId,
int line,
int column)
|
Method Summary | |
---|---|
void |
doSetup()
|
int |
getColumnNumber()
|
int |
getHeight()
Return the allocation height of the cell area. |
String |
getName()
returns the name of the formatting object |
int |
getNumColumnsSpanned()
|
int |
getNumRowsSpanned()
|
int |
layout(Area area)
generates the area or areas for this formatting object and adds these to the area. |
static FObj.Maker |
maker()
|
void |
setRowHeight(int h)
Set the final size of cell content rectangles to the actual row height and to vertically align the actual content within the cell rectangle. |
void |
setStartOffset(int offset)
|
void |
setWidth(int width)
|
Methods inherited from class org.apache.fop.fo.FObj |
---|
addCharacters, addMarker, end, generatesReferenceAreas, getContentWidth, getProperty, makePropertyManager, removeID, setWritingMode |
Methods inherited from class org.apache.fop.fo.FONode |
---|
addChild, forceStartOffset, forceWidth, getLinkSet, getMarkerSnapshot, getParent, mayPrecedeMarker, removeAreas, resetMarker, rollback, setIsInTableCell, setLinkSet, setLogger |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected int startOffset
protected int width
protected int beforeOffset
protected int startAdjust
protected int widthAdjust
protected int borderHeight
protected int minCellHeight
protected int height
protected int top
protected int verticalAlign
protected boolean bRelativeAlign
Constructor Detail |
---|
public TableCell(FObj parent, PropertyList propertyList, String systemId, int line, int column) throws FOPException
FOPException
Method Detail |
---|
public static FObj.Maker maker()
public String getName()
FObj
getName
in class FObj
public void setStartOffset(int offset)
public void setWidth(int width)
public int getColumnNumber()
public int getNumColumnsSpanned()
public int getNumRowsSpanned()
public void doSetup()
public int layout(Area area) throws FOPException
FObj
layout
in class FObj
FOPException
public int getHeight()
public void setRowHeight(int h)
h
- Height of this row in the grid which is based on
the allocation height of all the cells in the row, including any
border separation values.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |