|
||||||||||
| 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.Area
org.foray.area.AreaFlexible
org.foray.area.ContainerRA
org.foray.area.TableRA
public final class TableRA
Area containing part or all of a Table.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.foray.common.AbstractOrderedTreeNode |
|---|
AbstractOrderedTreeNode.PostOrderDescendantIterator |
| Method Summary | |
|---|---|
TableRA |
ancestorTableArea()
Overrides the AreaNode method, because this is the TableRA being sought. |
void |
calcColumnOrigins()
Computes the content-rectangle point-of-origin "X" value for a column in this table. |
org.axsl.common.value.RelativeAxis |
contentStackingAxis()
Returns the content stacking axis for this area. |
int |
crBpd()
|
int |
crIpd()
|
String |
getAreaName()
|
org.axsl.galley.BackgroundArea[] |
getBackgroundAreas()
|
List<AbstractTablePartContainer> |
getChildren()
Return the List of this node's children. |
org.axsl.graphic.Graphic |
getGraphic()
|
FOLinkage |
getLinkage()
Returns the raw "generated by" instance. |
Area |
getOverflowArea(Area area)
This method is used by child Areas to ask the parent Area into which Area the child Area's overflow should be placed. |
AreaNode |
getParent()
|
int |
getProgressionDimension()
Returns the actual total value, in millipoints, of the size of this area (not counting space-before, etc.) in its progression direction. |
int |
getResolvedColumnWidth(int columnNumber)
Returns the resolved width of a given column. |
int |
getResolvedGridIPD(int startingColumn,
int inputNumberColumns)
Computes the IPD of the grid area for a cell. |
int |
getResolvedGridOriginX(int columnNumber)
Returns the resolved "X" value for the point-of-origin of a given column. |
TableBodyContainer |
getTableBodyContainer()
|
TableFooterContainer |
getTableFooterContainer()
|
TableHeaderContainer |
getTableHeaderContainer()
|
void |
incrementProgressionDimension(int incrementAmount)
Change the progression-dimension used by this Area. |
boolean |
isAbsolutelyPositioned()
Indicates whether this Area is positioned absolutely or relatively. |
TableBodyContainer |
makeTableBodyContainer(org.axsl.fo.fo.TableBody tableBody,
org.axsl.fo.fo.GraftingPoint graftingPoint)
|
TableFooterContainer |
makeTableFooterContainer(org.axsl.fo.fo.TableFooter tableFooter,
org.axsl.fo.fo.GraftingPoint graftingPoint)
|
TableHeaderContainer |
makeTableHeaderContainer(org.axsl.fo.fo.TableHeader tableHeader,
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)
|
void |
setParent(AreaNode node)
Sets the parent node. |
void |
setProgressionDimension(int progressionDimension)
Sets the progression-dimension used by this Area. |
Color |
traitBackgroundColor()
|
org.axsl.graphic.Graphic |
traitBackgroundImage()
|
org.axsl.common.value.BackgroundRepeat |
traitBackgroundRepeat()
|
Color |
traitBorderAfterColor()
|
org.axsl.common.value.BorderStyle |
traitBorderAfterStyle()
Returns the border style for the "after" edge of this Area. |
int |
traitBorderAfterWidth()
Returns the border-after-width trait for this area. |
Color |
traitBorderBeforeColor()
|
org.axsl.common.value.BorderStyle |
traitBorderBeforeStyle()
Returns the border style for the "before" edge of this Area. |
int |
traitBorderBeforeWidth()
Returns the border-before-width trait for this area. |
org.axsl.common.value.BorderModel |
traitBorderCollapse()
Returns the border-collapse trait for this Area. |
Color |
traitBorderEndColor()
|
org.axsl.common.value.BorderStyle |
traitBorderEndStyle()
Returns the border style for the "end" edge of this Area. |
int |
traitBorderEndWidth()
Returns the border-end-width trait for this area. |
int |
traitBorderSeparationBPD()
Returns the BPD portion of the border separation trait for this Area. |
int |
traitBorderSeparationIPD()
Returns the IPD portion of the border separation trait for this Area. |
Color |
traitBorderStartColor()
|
org.axsl.common.value.BorderStyle |
traitBorderStartStyle()
Returns the border style for the "start" edge of this Area. |
int |
traitBorderStartWidth()
Returns the border-start-width trait for this area. |
int |
traitEndIndent()
Returns the end-indent trait. |
org.axsl.fo.fo.Table |
traitGeneratedBy()
|
int |
traitIPDimensionOpt()
Return the optimum IP dimension for this area. |
int |
traitPaddingAfter()
Returns the padding-after trait for this area. |
int |
traitPaddingBefore()
Returns the padding-before trait for this area. |
int |
traitPaddingEnd()
Returns the padding-end trait for this area. |
int |
traitPaddingStart()
Returns the padding-start trait for this area. |
int |
traitSpaceAfterOptimum()
Returns the space-after optimum trait for this area. |
int |
traitSpaceBeforeOptimum()
Returns the space-before optimum trait for this area. |
int |
traitSpaceEndOptimum()
Returns the space-end optimum trait for this area. |
int |
traitSpaceStartOptimum()
Returns the space-start optimum trait for this area. |
int |
traitStartIndent()
Returns the start-indent trait. |
| 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.galley.BackgroundArea |
|---|
prBpd, prIpd, prOriginX, prOriginY |
| Methods inherited from interface org.axsl.galley.Area |
|---|
brBpd, brIpd, brOriginX, brOriginY, crOriginX, crOriginY, destinationName, generatedByExists, generatedByName, isLinkRoot, linkDestination, linkType, traitId |
| Methods inherited from interface org.axsl.galley.AreaNode |
|---|
getGalley |
| Methods inherited from interface javax.swing.tree.TreeNode |
|---|
children, getAllowsChildren, getChildCount, getIndex, isLeaf |
| Methods inherited from interface java.lang.Iterable |
|---|
iterator |
| Methods inherited from interface org.axsl.area.Area |
|---|
pdAvailable |
| Methods inherited from interface org.axsl.area.AreaNode |
|---|
ancestorArea, ancestorBlockContentFactory, ancestorNormalBlockArea, getAreaTree, getPage, isFirstChildOfGeneratedBy, nearestArea, nearestGeneratedByBlockLevelFo, removeChild, siblingIndex |
| Methods inherited from interface org.axsl.fo.FoContext |
|---|
bpdAncestorBlockOrRa, getGraftingPoint, heightContainingBlock, ipdAncestorBlockArea, ipdAncestorBlockOrRa, ipdContainingRefArea, ipdParentArea, isFirst, isLast, tableWidth, widthContainingBlock |
| Method Detail |
|---|
public int getResolvedGridIPD(int startingColumn,
int inputNumberColumns)
startingColumn - The 1-based index to the column number.inputNumberColumns - The number of columns to be computed (useful
for spanned columns).
public TableRA ancestorTableArea()
ancestorTableArea in interface org.axsl.area.AreaNodeancestorTableArea in class AreaNodepublic int getResolvedColumnWidth(int columnNumber)
ColumnWidthPa.traitColumnWidth(FoContext)
because of allocation of excesses or deficiencies in the table width.
columnNumber - The column whose resolved width is needed.
public int getResolvedGridOriginX(int columnNumber)
columnNumber - The column whose resolved point-of-origin is needed.
public TableBodyContainer makeTableBodyContainer(org.axsl.fo.fo.TableBody tableBody,
org.axsl.fo.fo.GraftingPoint graftingPoint)
makeTableBodyContainer in interface org.axsl.area.TableArea
public TableHeaderContainer makeTableHeaderContainer(org.axsl.fo.fo.TableHeader tableHeader,
org.axsl.fo.fo.GraftingPoint graftingPoint)
makeTableHeaderContainer in interface org.axsl.area.TableArea
public TableFooterContainer makeTableFooterContainer(org.axsl.fo.fo.TableFooter tableFooter,
org.axsl.fo.fo.GraftingPoint graftingPoint)
makeTableFooterContainer in interface org.axsl.area.TableAreapublic String getAreaName()
getAreaName in interface org.axsl.area.AreaNodepublic Area getOverflowArea(Area area)
Area
getOverflowArea in class Areaarea - Child Areas ask
public void calcColumnOrigins()
public org.axsl.galley.BackgroundArea[] getBackgroundAreas()
public void render(org.axsl.galley.RenderVisitor visitor)
throws org.axsl.galley.GalleyVisitorException
org.axsl.galley.GalleyVisitorExceptionpublic int crBpd()
crBpd in interface org.axsl.area.AreacrBpd in class Areapublic int crIpd()
crIpd in interface org.axsl.area.AreacrIpd in class Areapublic org.axsl.common.value.RelativeAxis contentStackingAxis()
Area
contentStackingAxis in class AreaRelativeAxis.BLOCK_PROGRESSION or
RelativeAxis.INLINE_PROGRESSION, depending on whether the
contents of this area stack in the block-progression-direction or the
inline-progression-direction.
The default value is that contents stack in the BPD. Classes that
stack in the IPD should override this method.public AreaNode getParent()
getParent in interface TreeNodegetParent in class AreaNode
public void setParent(AreaNode node)
throws org.axsl.area.AreaTreeException
AreaNode
setParent in class AreaNodenode - 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<AbstractTablePartContainer> getChildren()
AbstractOrderedTreeNode
getChildren in class AreaNodepublic void setProgressionDimension(int progressionDimension)
Area
setProgressionDimension in class AreaprogressionDimension - The new progression-dimension value for this
Area.public void incrementProgressionDimension(int incrementAmount)
Area
incrementProgressionDimension in class AreaincrementAmount - The amount by which the progression-dimension
should be changed for this area.
Positive values increase the progression-dimension, negative values
decrease it.public int getProgressionDimension()
AreaReturns the actual total value, in millipoints, of the size of this area (not counting space-before, etc.) in its progression direction. This value does not include space-before, etc., but does include borders and padding. For block areas, the progression dimension is the block-progression-dimension. For inline areas, it is the inline-progression-dimension.
getProgressionDimension in class Areapublic org.axsl.graphic.Graphic getGraphic()
getGraphic in interface org.axsl.galley.GraphicAreaprotected boolean optimize()
AreaNodePageRA.layoutComplete().
optimize in class AreaNodepublic FOLinkage getLinkage()
AreaNode
getLinkage in class AreaNodepublic org.axsl.fo.fo.Table traitGeneratedBy()
traitGeneratedBy in interface org.axsl.area.AreaNodetraitGeneratedBy in interface org.axsl.area.TableAreatraitGeneratedBy in class AreaNodepublic TableBodyContainer getTableBodyContainer()
getTableBodyContainer in interface org.axsl.area.TableAreapublic TableHeaderContainer getTableHeaderContainer()
getTableHeaderContainer in interface org.axsl.area.TableAreapublic TableFooterContainer getTableFooterContainer()
getTableFooterContainer in interface org.axsl.area.TableAreapublic org.axsl.common.value.BorderModel traitBorderCollapse()
public int traitBorderSeparationIPD()
public int traitBorderSeparationBPD()
public boolean isAbsolutelyPositioned()
Area
isAbsolutelyPositioned in class Areapublic org.axsl.graphic.Graphic traitBackgroundImage()
traitBackgroundImage in interface org.axsl.galley.BackgroundAreapublic Color traitBackgroundColor()
traitBackgroundColor in interface org.axsl.galley.BackgroundAreapublic org.axsl.common.value.BackgroundRepeat traitBackgroundRepeat()
traitBackgroundRepeat in interface org.axsl.galley.BackgroundAreapublic Color traitBorderBeforeColor()
traitBorderBeforeColor in interface org.axsl.galley.BorderPaddingAreapublic Color traitBorderStartColor()
traitBorderStartColor in interface org.axsl.galley.BorderPaddingAreapublic Color traitBorderEndColor()
traitBorderEndColor in interface org.axsl.galley.BorderPaddingAreapublic Color traitBorderAfterColor()
traitBorderAfterColor in interface org.axsl.galley.BorderPaddingAreapublic org.axsl.common.value.BorderStyle traitBorderStartStyle()
traitBorderStartStyle in interface org.axsl.galley.BorderPaddingAreapublic org.axsl.common.value.BorderStyle traitBorderEndStyle()
traitBorderEndStyle in interface org.axsl.galley.BorderPaddingAreapublic org.axsl.common.value.BorderStyle traitBorderBeforeStyle()
traitBorderBeforeStyle in interface org.axsl.galley.BorderPaddingAreapublic org.axsl.common.value.BorderStyle traitBorderAfterStyle()
traitBorderAfterStyle in interface org.axsl.galley.BorderPaddingAreapublic int traitBorderStartWidth()
Area
traitBorderStartWidth in interface org.axsl.galley.BorderPaddingAreatraitBorderStartWidth in class Areapublic int traitBorderEndWidth()
Area
traitBorderEndWidth in interface org.axsl.galley.BorderPaddingAreatraitBorderEndWidth in class Areapublic int traitBorderBeforeWidth()
Area
traitBorderBeforeWidth in interface org.axsl.galley.BorderPaddingAreatraitBorderBeforeWidth in class Areapublic int traitBorderAfterWidth()
Area
traitBorderAfterWidth in interface org.axsl.galley.BorderPaddingAreatraitBorderAfterWidth in class Areapublic int traitPaddingStart()
Area
traitPaddingStart in class Areapublic int traitPaddingEnd()
Area
traitPaddingEnd in class Areapublic int traitPaddingBefore()
Area
traitPaddingBefore in class Areapublic int traitPaddingAfter()
Area
traitPaddingAfter in class Areapublic int traitSpaceBeforeOptimum()
Area
traitSpaceBeforeOptimum in class Areapublic int traitSpaceAfterOptimum()
Area
traitSpaceAfterOptimum in class Areapublic int traitEndIndent()
Area
traitEndIndent in class Areapublic int traitStartIndent()
Area
traitStartIndent in class Areapublic int traitSpaceStartOptimum()
Area
traitSpaceStartOptimum in class Areapublic int traitSpaceEndOptimum()
Area
traitSpaceEndOptimum in class Areapublic int traitIPDimensionOpt()
AreaFlexible
traitIPDimensionOpt in class AreaFlexible
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||