SourceForge.net Logo
aXSL API 0.2

org.axsl.area
Interface BlockContentFactory

All Superinterfaces:
AreaNode, FoContext, javax.swing.tree.TreeNode
All Known Subinterfaces:
BlockContainerRefArea, InlineContainerArea, ListItemBodyContainer, ListItemLabelContainer, NormalBlockArea, NormalFlowRefArea, RegionRefArea, TableCellArea

public interface BlockContentFactory
extends AreaNode

Super-interface for all interfaces that need to be able to create block-level content, that is, those areas that contain such content.


Method Summary
 BlockContainerRefArea makeBlockContainerArea(BlockContainer blockContainer, GraftingPoint graftingPoint)
          Create a new BlockContainerRefArea as a child of this Area.
 ListBlockArea makeListBlockArea(ListBlock listBlock, GraftingPoint graftingPoint)
          Create a new ListBlockArea as a child of this Area.
 NormalBlockArea makeNormalBlockArea(Block block, GraftingPoint graftingPoint)
          Create a new NormalBlockArea as a child of this Area.
 TableArea makeTableArea(Table table, GraftingPoint graftingPoint)
          Create a new TableArea as a child of this Area.
 
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, getParent, isLeaf
 
Methods inherited from interface org.axsl.fo.FoContext
bpdAncestorBlockOrRa, getGraftingPoint, heightContainingBlock, ipdAncestorBlockArea, ipdAncestorBlockOrRa, ipdContainingRefArea, ipdParentArea, isFirst, isLast, tableWidth, widthContainingBlock
 

Method Detail

makeTableArea

TableArea makeTableArea(Table table,
                        GraftingPoint graftingPoint)
Create a new TableArea as a child of this Area.

Parameters:
table - The generating Table instance.
graftingPoint - The grafting point, if any, controlling this Area.
Returns:
The new TableArea instance.

makeNormalBlockArea

NormalBlockArea makeNormalBlockArea(Block block,
                                    GraftingPoint graftingPoint)
Create a new NormalBlockArea as a child of this Area.

Parameters:
block - The generating Block instance.
graftingPoint - The grafting point, if any, controlling this Area.
Returns:
The new NormalBlockArea instance.

makeBlockContainerArea

BlockContainerRefArea makeBlockContainerArea(BlockContainer blockContainer,
                                             GraftingPoint graftingPoint)
Create a new BlockContainerRefArea as a child of this Area.

Parameters:
blockContainer - The generating BlockContainer instance.
graftingPoint - The grafting point, if any, controlling this Area.
Returns:
The new BlockContainerRefArea instance.

makeListBlockArea

ListBlockArea makeListBlockArea(ListBlock listBlock,
                                GraftingPoint graftingPoint)
Create a new ListBlockArea as a child of this Area.

Parameters:
listBlock - The generating ListBlock instance.
graftingPoint - The grafting point, if any, controlling this Area.
Returns:
The new ListBlockArea instance.

SourceForge.net Logo
aXSL API 0.2

This documentation was created August 8 2007 by The aXSL Group and may be freely copied. See license for details.