org.foray.area
Class AbstractAncestralInlineArea

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.AbstractInlineArea
                      extended by org.foray.area.AbstractAncestralInlineArea
All Implemented Interfaces:
Iterable<org.axsl.galley.AreaNode>, TreeNode, org.axsl.area.AncestralNormalInlineArea, org.axsl.area.Area, org.axsl.area.AreaNode, org.axsl.area.LineContentFactory, org.axsl.area.NormalInlineArea, org.axsl.fo.FoContext, org.axsl.galley.GeneralInlineArea, OrderedTreeNode
Direct Known Subclasses:
BasicLinkArea, BidiOverrideArea, IndexPageCitationListArea, InlineArea, LeaderArea, PageNumberArea, PageNumberCitationArea, PageNumberCitationLastArea

public abstract class AbstractAncestralInlineArea
extends AbstractInlineArea
implements org.axsl.area.AncestralNormalInlineArea

Abstract superclass for inline area classes that can create children.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.foray.common.AbstractOrderedTreeNode
AbstractOrderedTreeNode.PostOrderDescendantIterator
 
Constructor Summary
AbstractAncestralInlineArea()
           
 
Method Summary
 org.axsl.font.FontOptions fontOptions()
          Returns the font options.
 List<AbstractInlineArea> getChildren()
          Return the List of this node's children.
 BasicLinkArea makeBasicLinkArea(org.axsl.fo.fo.BasicLink basicLink, org.axsl.fo.fo.GraftingPoint graftingPoint)
           
 BidiOverrideArea makeBidiOverrideArea(org.axsl.fo.fo.BidiOverride bidiOverride, org.axsl.fo.fo.GraftingPoint graftingPoint)
           
 ExternalGraphicArea makeExternalGraphicArea(org.axsl.fo.fo.ExternalGraphic ifo, int ipd, org.axsl.fo.fo.GraftingPoint graftingPoint)
           
 ForeignObjectArea makeForeignObjectArea(org.axsl.fo.fo.InstreamForeignObject ifo, int ipd, org.axsl.fo.fo.GraftingPoint graftingPoint)
           
 TextArea makeGlyphAreaSequence(org.axsl.fo.fo.CharacterSequence foText, int startOffset, int sizeInChars, int ipd, boolean hasDiscretionaryHyphen, boolean hasFauxSmallCaps, boolean isLastItemOnLine, org.axsl.fo.fo.GraftingPoint graftingPoint)
           
 IndexPageCitationListArea makeIndexPageCitationListArea(org.axsl.fo.fo.IndexPageCitationList indexPcl, org.axsl.fo.fo.GraftingPoint graftingPoint)
           
 InlineArea makeInlineArea(org.axsl.fo.fo.Inline inline, org.axsl.fo.fo.GraftingPoint graftingPoint)
           
 InlineContainerArea makeInlineContainerArea(org.axsl.fo.fo.InlineContainer inlineContainer, org.axsl.fo.fo.GraftingPoint graftingPoint)
           
 LeaderArea makeLeaderArea(org.axsl.fo.fo.Leader leader, int ipd, org.axsl.fo.fo.GraftingPoint graftingPoint)
           
 PageNumberArea makePageNumberArea(org.axsl.fo.fo.PageNumber pageNumber, int ipd, org.axsl.fo.fo.GraftingPoint graftingPoint)
           
 PageNumberCitationArea makePageNumberCitationArea(org.axsl.fo.fo.PageNumberCitation citation, int ipd, org.axsl.fo.fo.GraftingPoint graftingPoint)
           
 PageNumberCitationLastArea makePageNumberCitationLastArea(org.axsl.fo.fo.PageNumberCitationLast citation, int ipd, org.axsl.fo.fo.GraftingPoint graftingPoint)
           
 ScalingValueCitationArea makeScalingValueCitationArea(org.axsl.fo.fo.ScalingValueCitation citation, int ipd, org.axsl.fo.fo.GraftingPoint graftingPoint)
           
 org.axsl.common.i18n.Orthography orthography()
          Returns the orthography.
 
Methods inherited from class org.foray.area.AbstractInlineArea
baselineX, baselineY, contentStackingAxis, crBpd, crIpd, crOriginX, getLineArea, getOverflowArea, getProgressionDimension, incrementProgressionDimension, isAbsolutelyPositioned, isBlockArea, isFirstLeafOnLine, isLastLeafOnLine, setProgressionDimension, traitBaselineShift, traitEndIndent, traitSpaceAfterOptimum, traitSpaceBeforeOptimum, traitStartIndent, validateNewParent
 
Methods inherited from class org.foray.area.AreaFlexible
computeInitialPD, crIPDBlockArea, crOriginBPDOffset, crOriginIPDOffset, getAnteriorSpace, incrementAnteriorSpace, incrementParentPD, initializeAnteriorSpace, pdAvailable, pdUsedBySiblings, removeChild, setAnteriorSpace, setMinimumProgressionDimension, setParentPD, traitIPDimensionOpt, usedProgressionDimension, usedProgressionDimensionNormalFlow
 
Methods inherited from class org.foray.area.Area
brBpd, brIpd, brOriginBPDOffset, brOriginIPDOffset, brOriginX, brOriginY, brPoints, contentStackingAxisAbsolute, contentStackingDirectionAbsolute, crOriginY, crPoints, destinationName, generatedByExists, generatedByName, getAreaParent, getBPAxis, getFontWritingMode, getIPAxis, getNearestAncestorAreaContainer, getWritingMode, hasFenceFollowing, hasFencePreceding, 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, traitBorderAfterWidth, traitBorderBeforeWidth, traitBorderEndWidth, traitBorderStartWidth, traitId, traitIsFirst, traitIsLast, traitIsReferenceArea, traitPaddingAfter, traitPaddingBefore, traitPaddingEnd, traitPaddingStart, traitSpaceEndOptimum, traitSpaceStartOptimum, 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, getLinkage, getLogger, getNextChildOfGeneratedBy, getNextSiblingArea, getNormalLinkage, getNormalLinkage, getOrderedParent, getPage, getParent, getPreviousChildOfGeneratedBy, getPreviousSiblingArea, getSiblings, hasUnresolvedRefId, heightContainingBlock, ipdAncestorBlockArea, ipdAncestorBlockOrRa, ipdContainingRefArea, ipdParentArea, isFirst, isFirstChildOfGeneratedBy, isGeneratedByBlockLevelFo, isLast, isLastChildOfGeneratedBy, iterator, linkage, nearestBeforeFloatArea, nearestFootnoteArea, nearestGeneratedByBlockLevelFo, nearestNormalBlockArea, nearestTableArea, optimize, optimizeChildren, registerWithLinkage, remove, removeChild, setParent, tableWidth, traitGeneratedBy, 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.area.Area
crBpd, crIpd, pdAvailable
 
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
 
Methods inherited from interface org.axsl.galley.GeneralInlineArea
traitColor, traitOverlineScore, traitOverlineScoreColor, traitThroughScore, traitThroughScoreColor, traitUnderlineScore, traitUnderlineScoreColor
 
Methods inherited from interface org.axsl.galley.Area
brBpd, brIpd, brOriginX, brOriginY, crOriginY, destinationName, generatedByExists, generatedByName, isLinkRoot, linkDestination, linkType, traitId
 
Methods inherited from interface org.axsl.galley.AreaNode
getAreaName, getChildAt, getGalley, render
 
Methods inherited from interface java.lang.Iterable
iterator
 

Constructor Detail

AbstractAncestralInlineArea

public AbstractAncestralInlineArea()
Method Detail

getChildren

public List<AbstractInlineArea> getChildren()
Description copied from class: AbstractOrderedTreeNode
Return the List of this node's children.

Specified by:
getChildren in class AreaNode
Returns:
The List of this node's children.

makeBidiOverrideArea

public BidiOverrideArea makeBidiOverrideArea(org.axsl.fo.fo.BidiOverride bidiOverride,
                                             org.axsl.fo.fo.GraftingPoint graftingPoint)
Specified by:
makeBidiOverrideArea in interface org.axsl.area.LineContentFactory

makeGlyphAreaSequence

public TextArea makeGlyphAreaSequence(org.axsl.fo.fo.CharacterSequence foText,
                                      int startOffset,
                                      int sizeInChars,
                                      int ipd,
                                      boolean hasDiscretionaryHyphen,
                                      boolean hasFauxSmallCaps,
                                      boolean isLastItemOnLine,
                                      org.axsl.fo.fo.GraftingPoint graftingPoint)
Specified by:
makeGlyphAreaSequence in interface org.axsl.area.LineContentFactory

makeExternalGraphicArea

public ExternalGraphicArea makeExternalGraphicArea(org.axsl.fo.fo.ExternalGraphic ifo,
                                                   int ipd,
                                                   org.axsl.fo.fo.GraftingPoint graftingPoint)
Specified by:
makeExternalGraphicArea in interface org.axsl.area.LineContentFactory

makeForeignObjectArea

public ForeignObjectArea makeForeignObjectArea(org.axsl.fo.fo.InstreamForeignObject ifo,
                                               int ipd,
                                               org.axsl.fo.fo.GraftingPoint graftingPoint)
Specified by:
makeForeignObjectArea in interface org.axsl.area.LineContentFactory

makeInlineArea

public InlineArea makeInlineArea(org.axsl.fo.fo.Inline inline,
                                 org.axsl.fo.fo.GraftingPoint graftingPoint)
Specified by:
makeInlineArea in interface org.axsl.area.LineContentFactory

makeInlineContainerArea

public InlineContainerArea makeInlineContainerArea(org.axsl.fo.fo.InlineContainer inlineContainer,
                                                   org.axsl.fo.fo.GraftingPoint graftingPoint)
Specified by:
makeInlineContainerArea in interface org.axsl.area.LineContentFactory

makeLeaderArea

public LeaderArea makeLeaderArea(org.axsl.fo.fo.Leader leader,
                                 int ipd,
                                 org.axsl.fo.fo.GraftingPoint graftingPoint)
                          throws org.axsl.area.AreaTreeException
Specified by:
makeLeaderArea in interface org.axsl.area.LineContentFactory
Throws:
org.axsl.area.AreaTreeException

makePageNumberArea

public PageNumberArea makePageNumberArea(org.axsl.fo.fo.PageNumber pageNumber,
                                         int ipd,
                                         org.axsl.fo.fo.GraftingPoint graftingPoint)
Specified by:
makePageNumberArea in interface org.axsl.area.LineContentFactory

makePageNumberCitationArea

public PageNumberCitationArea makePageNumberCitationArea(org.axsl.fo.fo.PageNumberCitation citation,
                                                         int ipd,
                                                         org.axsl.fo.fo.GraftingPoint graftingPoint)
Specified by:
makePageNumberCitationArea in interface org.axsl.area.LineContentFactory

makePageNumberCitationLastArea

public PageNumberCitationLastArea makePageNumberCitationLastArea(org.axsl.fo.fo.PageNumberCitationLast citation,
                                                                 int ipd,
                                                                 org.axsl.fo.fo.GraftingPoint graftingPoint)
Specified by:
makePageNumberCitationLastArea in interface org.axsl.area.LineContentFactory

makeScalingValueCitationArea

public ScalingValueCitationArea makeScalingValueCitationArea(org.axsl.fo.fo.ScalingValueCitation citation,
                                                             int ipd,
                                                             org.axsl.fo.fo.GraftingPoint graftingPoint)
Specified by:
makeScalingValueCitationArea in interface org.axsl.area.LineContentFactory

makeBasicLinkArea

public BasicLinkArea makeBasicLinkArea(org.axsl.fo.fo.BasicLink basicLink,
                                       org.axsl.fo.fo.GraftingPoint graftingPoint)
Specified by:
makeBasicLinkArea in interface org.axsl.area.LineContentFactory

makeIndexPageCitationListArea

public IndexPageCitationListArea makeIndexPageCitationListArea(org.axsl.fo.fo.IndexPageCitationList indexPcl,
                                                               org.axsl.fo.fo.GraftingPoint graftingPoint)
Specified by:
makeIndexPageCitationListArea in interface org.axsl.area.LineContentFactory

fontOptions

public org.axsl.font.FontOptions fontOptions()
Returns the font options.

Returns:
The font options.

orthography

public org.axsl.common.i18n.Orthography orthography()
Returns the orthography.

Returns:
The orthography.


Copyright © 2017. All rights reserved.