|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.foray.pioneer.FONodePL
org.foray.pioneer.FObjPL
org.foray.pioneer.BlockPL
public class BlockPL
Pioneer Layout for Block
.
Field Summary |
---|
Fields inherited from class org.foray.pioneer.FONodePL |
---|
BREAK_AFTER, START |
Constructor Summary | |
---|---|
BlockPL(org.axsl.fo.fo.Block realFObj,
PioneerLS layout)
Constructor. |
Method Summary | |
---|---|
void |
completeCurrentLine()
Notify this block that the area has completed layout. |
org.axsl.area.LineArea |
getCurrentLineArea(org.axsl.area.NormalBlockArea blockArea)
Get the current line area in this block area. |
org.axsl.fo.fo.Block |
getFONode()
Returns the FO Tree node that is being laid out by this layout item. |
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. |
void |
resetProgress()
Resets the progress of the layout for the item to "START". |
void |
setCurrentLineArea(org.axsl.area.LineArea currentLineArea)
Set the current line area. |
Methods inherited from class org.foray.pioneer.FObjPL |
---|
getProgressSnapshot, layoutChildren, rollback |
Methods inherited from class org.foray.pioneer.FONodePL |
---|
activeLineArea, addNonTextContent, addNonTextItemToLine, addTextItemToLine, 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 |
---|
public BlockPL(org.axsl.fo.fo.Block realFObj, PioneerLS layout)
realFObj
- The FO Tree object which is being laid out.layout
- The ancestor layout system.Method Detail |
---|
public void resetProgress()
FONodePL
resetProgress
in class FObjPL
public Status layout(org.axsl.area.AreaNode areaNode, org.axsl.fo.fo.GraftingPoint graftingPoint) throws org.axsl.area.AreaTreeException
FONodePL
layout
in class FONodePL
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.
org.axsl.area.AreaTreeException
- For errors during layout.public org.axsl.area.LineArea getCurrentLineArea(org.axsl.area.NormalBlockArea blockArea) throws org.axsl.area.AreaTreeException
blockArea
- The block area (last one generated by this block??).
org.axsl.area.AreaTreeException
- For errors creating the next line area.public void completeCurrentLine()
public void setCurrentLineArea(org.axsl.area.LineArea currentLineArea)
currentLineArea
- The currentLineArea to set.public org.axsl.fo.fo.Block getFONode()
FONodePL
getFONode
in class FONodePL
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |