|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.foray.common.AbstractOrderedTreeNode
org.foray.area.AreaNode
org.foray.area.NonArea
org.foray.area.AbstractListItemContent
public abstract class AbstractListItemContent
An AreaNode containing the areas generated by the children of a list-item-label.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.foray.common.AbstractOrderedTreeNode |
---|
AbstractOrderedTreeNode.PostOrderDescendantIterator |
Constructor Summary | |
---|---|
protected |
AbstractListItemContent(ListItemArea parentArea)
Private Constructor. |
Method Summary | |
---|---|
List<Area> |
getChildren()
Return the List of this node's children. |
FOLinkage |
getLinkage()
Returns the raw "generated by" instance. |
ListItemArea |
getParent()
|
int |
getProgressionDimension()
Computes the total BPD of the child Areas. |
BlockContainerRA |
makeBlockContainerArea(org.axsl.fo.fo.BlockContainer blockContainer,
org.axsl.fo.fo.GraftingPoint graftingPoint)
|
ListBlockArea |
makeListBlockArea(org.axsl.fo.fo.ListBlock listBlock,
org.axsl.fo.fo.GraftingPoint graftingPoint)
|
NormalBlockArea |
makeNormalBlockArea(org.axsl.fo.fo.Block block,
org.axsl.fo.fo.GraftingPoint graftingPoint)
|
TableRA |
makeTableArea(org.axsl.fo.fo.Table table,
org.axsl.fo.fo.GraftingPoint graftingPoint)
|
protected boolean |
optimize()
This method should be run after layout is complete, allowing cleanup and adjustments that do not affect the placement of the areas to be computed before the page is rendered. |
void |
render(org.axsl.galley.RenderVisitor visitor)
|
protected void |
setGeneratedBy(FOLinkage generatedBy)
Sets the "generated by" for this Area. |
void |
setParent(AreaNode node)
Sets the parent node. |
Methods inherited from class org.foray.common.AbstractOrderedTreeNode |
---|
children, getChildCount, getFirstLeaf, getIndex, getLastLeaf, getLevel, getNextLeaf, getNextSibling, getPreviousLeaf, getPreviousSibling, getSharedAncestor, hasChildren, isLeaf, isNodeAncestor, isNodeDescendant, nextPostOrderNode, nextPreOrderNode, postOrderDescendantIterator, siblingIndex |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.axsl.area.AreaNode |
---|
ancestorArea, ancestorBlockContentFactory, ancestorNormalBlockArea, ancestorTableArea, getAreaName, getAreaTree, getPage, isFirstChildOfGeneratedBy, nearestArea, nearestGeneratedByBlockLevelFo, removeChild, siblingIndex, traitGeneratedBy |
Methods inherited from interface javax.swing.tree.TreeNode |
---|
children, getAllowsChildren, getChildAt, getChildCount, getIndex, isLeaf |
Methods inherited from interface org.axsl.fo.FoContext |
---|
bpdAncestorBlockOrRa, getGraftingPoint, heightContainingBlock, ipdAncestorBlockArea, ipdAncestorBlockOrRa, ipdContainingRefArea, ipdParentArea, isFirst, isLast, tableWidth, widthContainingBlock |
Methods inherited from interface org.axsl.galley.AreaNode |
---|
getAreaName |
Constructor Detail |
---|
protected AbstractListItemContent(ListItemArea parentArea)
parentArea
- The parent area.Method Detail |
---|
public void render(org.axsl.galley.RenderVisitor visitor) throws org.axsl.galley.GalleyVisitorException
org.axsl.galley.GalleyVisitorException
public ListItemArea getParent()
getParent
in interface TreeNode
getParent
in class AreaNode
public void setParent(AreaNode node) throws org.axsl.area.AreaTreeException
AreaNode
setParent
in class AreaNode
node
- The new parent node.
org.axsl.area.AreaTreeException
- If the parent node is not compatible with
the implementations specification for a parent node.public List<Area> getChildren()
AbstractOrderedTreeNode
getChildren
in class AreaNode
protected boolean optimize()
AreaNode
PageRA.layoutComplete()
.
optimize
in class AreaNode
public TableRA makeTableArea(org.axsl.fo.fo.Table table, org.axsl.fo.fo.GraftingPoint graftingPoint)
makeTableArea
in interface org.axsl.area.BlockContentFactory
public NormalBlockArea makeNormalBlockArea(org.axsl.fo.fo.Block block, org.axsl.fo.fo.GraftingPoint graftingPoint)
makeNormalBlockArea
in interface org.axsl.area.BlockContentFactory
public BlockContainerRA makeBlockContainerArea(org.axsl.fo.fo.BlockContainer blockContainer, org.axsl.fo.fo.GraftingPoint graftingPoint)
makeBlockContainerArea
in interface org.axsl.area.BlockContentFactory
public ListBlockArea makeListBlockArea(org.axsl.fo.fo.ListBlock listBlock, org.axsl.fo.fo.GraftingPoint graftingPoint)
makeListBlockArea
in interface org.axsl.area.BlockContentFactory
public FOLinkage getLinkage()
AreaNode
getLinkage
in class AreaNode
protected void setGeneratedBy(FOLinkage generatedBy)
generatedBy
- The new "generated by" value.public int getProgressionDimension()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |