org.foray.area
Class TableFooterContainer

java.lang.Object
  extended by org.foray.common.AbstractOrderedTreeNode
      extended by org.foray.area.AreaNode
          extended by org.foray.area.Area
              extended by org.foray.area.AreaFlexible
                  extended by org.foray.area.ContainerRA
                      extended by org.foray.area.AbstractTablePartContainer
                          extended by org.foray.area.TableFooterContainer
All Implemented Interfaces:
Iterable<org.axsl.galley.AreaNode>, TreeNode, org.axsl.area.AbstractTablePartContainer, org.axsl.area.Area, org.axsl.area.AreaNode, org.axsl.area.TableFooterContainer, org.axsl.fo.FoContext, org.axsl.galley.BackgroundArea, org.axsl.galley.GraphicArea, OrderedTreeNode

public final class TableFooterContainer
extends AbstractTablePartContainer
implements org.axsl.galley.BackgroundArea, org.axsl.area.TableFooterContainer

Area containing all or part of a table-footer.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.foray.common.AbstractOrderedTreeNode
AbstractOrderedTreeNode.PostOrderDescendantIterator
 
Method Summary
 int crBpd()
           
 int crIpd()
           
 String getAreaName()
           
 FOLinkage getLinkage()
          Returns the raw "generated by" instance.
 Area getOverflowArea(Area childRequesting)
          This method is used by child Areas to ask the parent Area into which Area the child Area's overflow should be placed.
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)
           
 Color traitBackgroundColor()
           
 org.axsl.graphic.Graphic traitBackgroundImage()
           
 org.axsl.common.value.BackgroundRepeat traitBackgroundRepeat()
           
 int traitBorderAfterWidth()
          Returns the border-after-width trait for this area.
 int traitBorderBeforeWidth()
          Returns the border-before-width trait for this area.
 int traitBorderEndWidth()
          Returns the border-end-width trait for this area.
 int traitBorderStartWidth()
          Returns the border-start-width trait for this area.
 org.axsl.fo.fo.TableFooter traitGeneratedBy()
           
 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.
 
Methods inherited from class org.foray.area.AbstractTablePartContainer
contentStackingAxis, getChildren, getGraphic, getParent, getProgressionDimension, incrementProgressionDimension, isAbsolutelyPositioned, makeTableRowContainer, setParent, setProgressionDimension, traitEndIndent, traitIPDimensionOpt, traitSpaceAfterOptimum, traitSpaceBeforeOptimum, traitSpaceEndOptimum, traitSpaceStartOptimum, traitStartIndent
 
Methods inherited from class org.foray.area.AreaFlexible
computeInitialPD, crIPDBlockArea, crOriginBPDOffset, crOriginIPDOffset, getAnteriorSpace, incrementAnteriorSpace, incrementParentPD, initializeAnteriorSpace, pdAvailable, pdUsedBySiblings, removeChild, setAnteriorSpace, setMinimumProgressionDimension, setParentPD, usedProgressionDimension, usedProgressionDimensionNormalFlow
 
Methods inherited from class org.foray.area.Area
brBpd, brIpd, brOriginBPDOffset, brOriginIPDOffset, brOriginX, brOriginY, brPoints, contentStackingAxisAbsolute, contentStackingDirectionAbsolute, crOriginX, crOriginY, crPoints, destinationName, generatedByExists, generatedByName, getAreaParent, getBPAxis, getFontWritingMode, getIPAxis, getNearestAncestorAreaContainer, getWritingMode, hasFenceFollowing, hasFencePreceding, isBlockArea, isFirstChildOfParent, isInNormalFlow, isLastChildOfParent, isLinkRoot, larBPD, larIPD, larOriginX, larOriginY, linkDestination, linkType, narBPD, narIPD, narOriginX, narOriginY, nearestArea, parentAllocationWidth, prBpd, prIpd, prOriginBPDOffset, prOriginIPDOffset, prOriginX, prOriginY, referenceOrientationCumulative, shouldAdjustParentPD, traitAreaClass, traitId, traitIsFirst, traitIsLast, traitIsReferenceArea, traitWhiteSpaceTreatment
 
Methods inherited from class org.foray.area.AreaNode
ancestorArea, ancestorBlockAreaNotALineArea, ancestorBlockContentFactory, ancestorBlockOrRa, ancestorGeneratedByBlockLevelFO, ancestorLineArea, ancestorNormalBlockArea, ancestorPageCollection, ancestorReferenceArea, ancestorSpanRA, ancestorTableArea, bpdAncestorBlockOrRa, getAllowsChildren, getAreaTree, getChildAt, getColor, getContainingReferenceArea, getFirstAreaChild, getFirstChild, getGalley, getGraftingPoint, getLastAreaChild, getLastChild, getLogger, getNextChildOfGeneratedBy, getNextSiblingArea, getNormalLinkage, getNormalLinkage, getOrderedParent, getPage, getPreviousChildOfGeneratedBy, getPreviousSiblingArea, getSiblings, hasUnresolvedRefId, heightContainingBlock, ipdAncestorBlockArea, ipdAncestorBlockOrRa, ipdContainingRefArea, ipdParentArea, isFirst, isFirstChildOfGeneratedBy, isGeneratedByBlockLevelFo, isLast, isLastChildOfGeneratedBy, iterator, linkage, nearestBeforeFloatArea, nearestFootnoteArea, nearestGeneratedByBlockLevelFo, nearestNormalBlockArea, nearestTableArea, optimizeChildren, registerWithLinkage, remove, removeChild, tableWidth, widthContainingBlock
 
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.GraphicArea
getGraphic
 
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
getChildAt, getGalley
 
Methods inherited from interface javax.swing.tree.TreeNode
children, getAllowsChildren, getChildCount, getIndex, getParent, isLeaf
 
Methods inherited from interface java.lang.Iterable
iterator
 
Methods inherited from interface org.axsl.area.AbstractTablePartContainer
makeTableRowContainer
 
Methods inherited from interface org.axsl.area.AreaNode
ancestorArea, ancestorBlockContentFactory, ancestorNormalBlockArea, ancestorTableArea, 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

getAreaName

public String getAreaName()
Specified by:
getAreaName in interface org.axsl.area.AreaNode

render

public void render(org.axsl.galley.RenderVisitor visitor)
            throws org.axsl.galley.GalleyVisitorException
Throws:
org.axsl.galley.GalleyVisitorException

crIpd

public int crIpd()
Specified by:
crIpd in interface org.axsl.area.Area
Specified by:
crIpd in class Area

crBpd

public int crBpd()
Specified by:
crBpd in interface org.axsl.area.Area
Specified by:
crBpd in class Area

getOverflowArea

public Area getOverflowArea(Area childRequesting)
                     throws org.axsl.area.AreaTreeException
Description copied from class: Area
This method is used by child Areas to ask the parent Area into which Area the child Area's overflow should be placed. Overflows start when a new LineArea cannot be create for the current BlockArea. General strategy for overflow is to recursively go up the tree until getting to any Area that knows how to solve the overflow. One general case is the page-reference-area, which should know how to create a new page.

Specified by:
getOverflowArea in class Area
Parameters:
childRequesting - Child Areas ask
Returns:
The younger sister Area that should be used to handle the overflow condition.
Throws:
org.axsl.area.AreaTreeException - If the Area is unable to find or create the overflow area.

optimize

protected boolean optimize()
Description copied from class: AreaNode
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. For example, empty areas should be removed. Also classes like LineArea can use this to adjust word-spacing and other variables. NOTE: This method is called recursively by each node. The process starts at PageRA.layoutComplete().

Specified by:
optimize in class AreaNode
Returns:
True iff the Area node thinks it should be removed.

getLinkage

public FOLinkage getLinkage()
Description copied from class: AreaNode
Returns the raw "generated by" instance.

Specified by:
getLinkage in class AreaNode
Returns:
The raw linkage item.

traitGeneratedBy

public org.axsl.fo.fo.TableFooter traitGeneratedBy()
Specified by:
traitGeneratedBy in interface org.axsl.area.AreaNode
Specified by:
traitGeneratedBy in class AreaNode

traitBackgroundImage

public org.axsl.graphic.Graphic traitBackgroundImage()
Specified by:
traitBackgroundImage in interface org.axsl.galley.BackgroundArea

traitBackgroundColor

public Color traitBackgroundColor()
Specified by:
traitBackgroundColor in interface org.axsl.galley.BackgroundArea

traitBackgroundRepeat

public org.axsl.common.value.BackgroundRepeat traitBackgroundRepeat()
Specified by:
traitBackgroundRepeat in interface org.axsl.galley.BackgroundArea

traitBorderStartWidth

public int traitBorderStartWidth()
Description copied from class: Area
Returns the border-start-width trait for this area.

Specified by:
traitBorderStartWidth in class Area
Returns:
The border-start-width trait for this area.

traitBorderEndWidth

public int traitBorderEndWidth()
Description copied from class: Area
Returns the border-end-width trait for this area.

Specified by:
traitBorderEndWidth in class Area
Returns:
The border-end-width trait for this area.

traitBorderBeforeWidth

public int traitBorderBeforeWidth()
Description copied from class: Area
Returns the border-before-width trait for this area.

Specified by:
traitBorderBeforeWidth in class Area
Returns:
The border-before-width trait for this area.

traitBorderAfterWidth

public int traitBorderAfterWidth()
Description copied from class: Area
Returns the border-after-width trait for this area.

Specified by:
traitBorderAfterWidth in class Area
Returns:
The border-after-width trait for this area.

traitPaddingStart

public int traitPaddingStart()
Description copied from class: Area
Returns the padding-start trait for this area.

Specified by:
traitPaddingStart in class Area
Returns:
The padding-start trait for this area.

traitPaddingEnd

public int traitPaddingEnd()
Description copied from class: Area
Returns the padding-end trait for this area.

Specified by:
traitPaddingEnd in class Area
Returns:
The padding-end trait for this area.

traitPaddingBefore

public int traitPaddingBefore()
Description copied from class: Area
Returns the padding-before trait for this area.

Specified by:
traitPaddingBefore in class Area
Returns:
The padding-before trait for this area.

traitPaddingAfter

public int traitPaddingAfter()
Description copied from class: Area
Returns the padding-after trait for this area.

Specified by:
traitPaddingAfter in class Area
Returns:
The padding-after trait for this area.


Copyright © 2017. All rights reserved.