org.apache.fop.fo.flow
Class TableCell

java.lang.Object
  |
  +--org.apache.fop.fo.FONode
        |
        +--org.apache.fop.fo.FObj
              |
              +--org.apache.fop.fo.flow.TableCell

public class TableCell
extends FObj


Inner Class Summary
static class TableCell.Maker
           
 
Inner classes inherited from class org.apache.fop.fo.FObj
FObj.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 startOffset
          Offset of content rectangle in inline-progression-direction, relative to table.
protected  int top
           
protected  int verticalAlign
           
protected  int width
          Dimension of content rectangle in inline-progression-direction
 
Fields inherited from class org.apache.fop.fo.FObj
name, properties, propMgr
 
Fields inherited from class org.apache.fop.fo.FONode
BREAK_AFTER, bufferManager, children, forcedStartOffset, forcedWidth, isInTableCell, linkSet, marker, orphans, parent, START, widows
 
Constructor Summary
TableCell(FObj parent, PropertyList propertyList)
           
 
Method Summary
 void doSetup(Area area)
           
 int getHeight()
           
 int getNumColumnsSpanned()
           
 int getNumRowsSpanned()
           
 Status 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)
          Called by TableRow to set final size of cell content rectangles 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, end, generatesReferenceAreas, getContentWidth, getName, getProperty, makePropertyManager, removeID, start
 
Methods inherited from class org.apache.fop.fo.FONode
addChild, forceStartOffset, forceWidth, getBufferManager, getLinkSet, getMarkerSnapshot, getParent, removeAreas, resetMarker, rollback, setBufferManager, setIsInTableCell, setLinkSet, setOrphans, setWidows
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

startOffset

protected int startOffset
Offset of content rectangle in inline-progression-direction, relative to table.

width

protected int width
Dimension of content rectangle in inline-progression-direction

beforeOffset

protected int beforeOffset
Offset of content rectangle, in block-progression-direction, relative to the row.

borderHeight

protected int borderHeight

height

protected int height

top

protected int top

verticalAlign

protected int verticalAlign

bRelativeAlign

protected boolean bRelativeAlign
Constructor Detail

TableCell

public TableCell(FObj parent,
                 PropertyList propertyList)
Method Detail

maker

public static FObj.Maker maker()

setStartOffset

public void setStartOffset(int offset)

setWidth

public void setWidth(int width)

getNumColumnsSpanned

public int getNumColumnsSpanned()

getNumRowsSpanned

public int getNumRowsSpanned()

doSetup

public void doSetup(Area area)
             throws FOPException

layout

public Status layout(Area area)
              throws FOPException
Description copied from class: FObj
generates the area or areas for this formatting object and adds these to the area. This method should always be overridden by all sub classes
Overrides:
layout in class FObj
Tags copied from class: FObj
Parameters:
area -  

getHeight

public int getHeight()

setRowHeight

public void setRowHeight(int h)
Called by TableRow to set final size of cell content rectangles and to vertically align the actual content within the cell rectangle. Passed value is height of this row in the grid : allocation height of the cells (including any border separation values).


Copyright © 1999-2001 Apache Software Foundation. All Rights Reserved.