org.foray.pioneer
Class AbstractTablePartPL

java.lang.Object
  extended by org.foray.pioneer.FONodePL
      extended by org.foray.pioneer.FObjPL
          extended by org.foray.pioneer.AbstractTablePartPL
Direct Known Subclasses:
TableBodyPL, TableFooterPL, TableHeaderPL

public abstract class AbstractTablePartPL
extends FObjPL

Abstract Pioneer Layout for all table body items.


Field Summary
 
Fields inherited from class org.foray.pioneer.FONodePL
BREAK_AFTER, START
 
Constructor Summary
AbstractTablePartPL(org.axsl.fo.fo.TableBody tableBody, PioneerLS layout)
          Constructor for table-body.
AbstractTablePartPL(org.axsl.fo.fo.TableFooter tableFooter, PioneerLS layout)
          Constructor for table-footer.
AbstractTablePartPL(org.axsl.fo.fo.TableHeader tableHeader, PioneerLS layout)
          Constructor for table-header.
 
Method Summary
protected  RowSpanMgr getRowSpanMgr()
          Returns the row span manager.
 Status layout(org.axsl.area.AreaNode areaNode, org.axsl.fo.fo.GraftingPoint graftingPoint)
          Each FONodePL subclass implements this method on a manner appropriate for its content.
 
Methods inherited from class org.foray.pioneer.FObjPL
getProgressSnapshot, layoutChildren, resetProgress, rollback
 
Methods inherited from class org.foray.pioneer.FONodePL
activeLineArea, addNonTextContent, addNonTextItemToLine, addTextItemToLine, getFONode, getLayout, getLayoutProxy, getLogger, getProgress, setProgress, standardLayout
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractTablePartPL

public AbstractTablePartPL(org.axsl.fo.fo.TableBody tableBody,
                           PioneerLS layout)
Constructor for table-body.

Parameters:
tableBody - The table-body object which is being laid out.
layout - The ancestor layout system.

AbstractTablePartPL

public AbstractTablePartPL(org.axsl.fo.fo.TableHeader tableHeader,
                           PioneerLS layout)
Constructor for table-header.

Parameters:
tableHeader - The table-header object which is being laid out.
layout - The ancestor layout system.

AbstractTablePartPL

public AbstractTablePartPL(org.axsl.fo.fo.TableFooter tableFooter,
                           PioneerLS layout)
Constructor for table-footer.

Parameters:
tableFooter - The table-footer object which is being laid out.
layout - The ancestor layout system.
Method Detail

layout

public Status layout(org.axsl.area.AreaNode areaNode,
                     org.axsl.fo.fo.GraftingPoint graftingPoint)
              throws org.axsl.area.AreaTreeException
Description copied from class: FONodePL
Each FONodePL subclass implements this method on a manner appropriate for its content.

Specified by:
layout in class FONodePL
Parameters:
areaNode - The Area in which the contents to be laid out by this should be placed. For example, for TableCellPL layout method, area should be a TableRowContainer. During the layout process, at least one TableCellArea should be created, which is then passed to layout for the children of the TableCell now being laid out.
graftingPoint - The RetrieveMarker instance, if any, into which this content will be laid out.
Returns:
An integer representing the status of this layout. When laying out FOText, this marks the index to the last character that was successfully laid out plus one, that is, it marks the next character to be laid out. For FObj subclasses, this indicates the index to the last child that was successfully laid out plus one, that is, it marks the next child that should be laid out.
Throws:
org.axsl.area.AreaTreeException - For errors during layout.

getRowSpanMgr

protected RowSpanMgr getRowSpanMgr()
Returns the row span manager.

Returns:
The row span manager.


Copyright © 2017. All rights reserved.