|
||||||||||
| 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.AreaFixed
org.foray.area.RegionRABody
public final class RegionRABody
Area containing a region-body.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.foray.common.AbstractOrderedTreeNode |
|---|
AbstractOrderedTreeNode.PostOrderDescendantIterator |
| Method Summary | |
|---|---|
int |
brOriginX()
|
int |
brOriginY()
|
org.axsl.common.value.RelativeAxis |
contentStackingAxis()
Returns the content stacking axis for this area. |
int |
crBpd()
|
int |
crIpd()
|
int |
crOriginBPDOffset()
The difference, in millipoints, between the page-viewport-area's before-edge and this Area's content-rectangle before-edge. |
int |
crOriginIPDOffset()
The difference, in millipoints, between the page-viewport-area's start-edge and this Area's content-rectangle start-edge. |
String |
getAreaName()
|
BeforeFloatRA |
getBeforeFloatRefArea()
|
List<AreaNode> |
getChildren()
Return the List of this node's children. |
int |
getDimensionBeforeFloatRA()
Returns the size of the before-float reference area, in millipoints. |
int |
getDimensionFootnoteRA()
Returns the size of the footnote reference area, in millipoints. |
int |
getDimensionMainRA()
Returns the size of the main reference area, in millipoints. |
FootnoteRA |
getFootnoteRefArea()
|
org.axsl.graphic.Graphic |
getGraphic()
|
FOLinkage |
getLinkage()
Returns the raw "generated by" instance. |
MainRA |
getMainRefArea()
|
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. |
org.axsl.fo.fo.SimplePageMaster |
getPageMaster()
Returns the page master that generated this page. |
AreaNode |
getParent()
|
void |
incrementBeforeFloatDimension(int incrementAmount)
Increments or decrements the size of the before-float reference area. |
void |
incrementFootnoteDimension(int incrementAmount)
Increments or decrements the size of the footnote reference area. |
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 |
setBeforeFloatDimension(int newDimension)
Sets the size of the before-float reference area. |
void |
setFootnoteDimension(int newDimension)
Sets the size of the footnote reference area. |
void |
setParent(AreaNode node)
Sets the parent node. |
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. |
int |
traitColumnCount()
Returns the number of columns in this body region. |
int |
traitColumnGap()
Returns the column gap, in millipoints, of this body region. |
int |
traitEndIndent()
Returns the end-indent trait. |
int |
traitExtent()
|
org.axsl.fo.fo.RegionBody |
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. |
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.area.AreaFixed |
|---|
getProgressionDimension, incrementProgressionDimension, isAbsolutelyPositioned, pdAvailable, pdUsedBySiblings, setMinimumProgressionDimension, setProgressionDimension |
| 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, 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, 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 |
|---|
public MainRA getMainRefArea()
getMainRefArea in interface org.axsl.area.RegionBodyRefAreapublic BeforeFloatRA getBeforeFloatRefArea()
getBeforeFloatRefArea in interface org.axsl.area.RegionBodyRefAreapublic FootnoteRA getFootnoteRefArea()
getFootnoteRefArea in interface org.axsl.area.RegionBodyRefAreapublic int crBpd()
crBpd in interface org.axsl.area.AreacrBpd in class Areapublic int crIpd()
crIpd in interface org.axsl.area.AreacrIpd in class Areapublic int getDimensionFootnoteRA()
public int getDimensionBeforeFloatRA()
public int getDimensionMainRA()
public org.axsl.fo.fo.SimplePageMaster getPageMaster()
public int brOriginX()
brOriginX in class Areapublic int brOriginY()
brOriginY in class Areapublic int crOriginIPDOffset()
Area
crOriginIPDOffset in class Areapublic int crOriginBPDOffset()
Area
crOriginBPDOffset in class Area
public Area getOverflowArea(Area childRequesting)
throws org.axsl.area.AreaTreeException
Area
getOverflowArea in class AreachildRequesting - Child Areas ask
org.axsl.area.AreaTreeException - If the Area is unable to find or create the
overflow area.public int traitColumnCount()
public int traitColumnGap()
public String getAreaName()
getAreaName in interface org.axsl.area.AreaNodepublic void setFootnoteDimension(int newDimension)
newDimension - The new size, in millipoints, of the footnote
reference area.public void incrementFootnoteDimension(int incrementAmount)
incrementAmount - The amount, in millipoints, by which to increment
(or, for negative values, decrement) the size of the footnote reference
area.public void setBeforeFloatDimension(int newDimension)
newDimension - The new size, in millipoints, of the before-float
reference area.public void incrementBeforeFloatDimension(int incrementAmount)
incrementAmount - The amount, in millipoints, by which to increment
(or, for negative values, decrement) the size of the before-float
reference area.
public void render(org.axsl.galley.RenderVisitor visitor)
throws org.axsl.galley.GalleyVisitorException
org.axsl.galley.GalleyVisitorExceptionpublic org.axsl.graphic.Graphic getGraphic()
getGraphic in interface org.axsl.galley.GraphicAreapublic 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<AreaNode> getChildren()
AbstractOrderedTreeNode
getChildren in class AreaFixedprotected boolean optimize()
AreaNodePageRA.layoutComplete().
optimize in class AreaNodepublic FOLinkage getLinkage()
AreaNode
getLinkage in class AreaNodepublic org.axsl.fo.fo.RegionBody traitGeneratedBy()
traitGeneratedBy in interface org.axsl.area.AreaNodetraitGeneratedBy in class AreaNodepublic 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 int traitBorderStartWidth()
Area
traitBorderStartWidth in class Areapublic int traitBorderEndWidth()
Area
traitBorderEndWidth in class Areapublic int traitBorderBeforeWidth()
Area
traitBorderBeforeWidth in class Areapublic int traitBorderAfterWidth()
Area
traitBorderAfterWidth 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 traitExtent()
traitExtent in interface org.axsl.galley.RegionArea
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||