|
||||||||||
| 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.PageRA
public final class PageRA
Area containing a page.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.foray.common.AbstractOrderedTreeNode |
|---|
AbstractOrderedTreeNode.PostOrderDescendantIterator |
| Method Summary | |
|---|---|
org.axsl.fo.fo.Marker |
bestMarker(org.axsl.fo.fo.RetrieveMarker retrieve)
|
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. |
int |
crOriginX()
|
int |
crOriginY()
|
org.axsl.galley.AreaNode |
firstUnresolvedRefId()
|
String |
getAreaName()
|
org.axsl.common.value.Compass |
getBindingEdge()
Returns the relative direction that matches the binding edge for this page. |
List<AreaNode> |
getChildren()
Return the List of this node's children. |
CharSequence |
getFormattedNumber()
|
int |
getHeight()
|
FOLinkage |
getLinkage()
Returns the raw "generated by" instance. |
List<org.axsl.fo.fo.Marker> |
getMarkers()
Returns the markers found on this page. |
int |
getNumber()
|
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. |
PageRA |
getPage()
Overrides the Area method, because this is the Page that is being sought. |
PageCollection |
getPageCollection()
|
org.axsl.fo.fo.SimplePageMaster |
getPageMaster()
|
org.axsl.fo.fo.PageSequence |
getPageSequence()
Returns the page-sequence that generated this page. |
PageCollection |
getParent()
|
RegionRA |
getRegionAfter()
|
RegionRA |
getRegionBefore()
|
Collection<RegionRABody> |
getRegionBodies()
|
RegionRABody |
getRegionBody(String regionName)
Returns the region-body area for a named region. |
RegionRA |
getRegionEnd()
|
RegionRA |
getRegionStart()
|
int |
getWidth()
|
boolean |
isBlank()
Indicates whether this page is a blank page or not. |
boolean |
isReleasable()
Indicates whether this page is ready to be released for rendering. |
void |
layoutComplete()
|
Area |
nearestGeneratedByBlockLevelFo()
Overrides the Area method, because there will be nothing above here that was generated by a block-level FO. |
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 |
registerMarker(org.axsl.fo.fo.Marker marker)
|
void |
render(org.axsl.galley.RenderVisitor visitor)
|
void |
setFormattedNumber(CharSequence number)
Sets the formatted page number for this page. |
void |
setNumber(int number)
Sets the page number for this page. |
void |
setParent(AreaNode node)
Sets the parent node. |
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 |
traitEndIndent()
Returns the end-indent trait. |
org.axsl.fo.fo.SimplePageMaster |
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 |
traitPageHeight()
Returns the page-height trait of this area. |
int |
traitPageWidth()
Returns the page-width trait of 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. |
void |
unregisterMarker(org.axsl.fo.fo.Marker marker)
Unregister a marker for this page. |
| 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.Area |
|---|
brBpd, brIpd, brOriginX, brOriginY, 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, isLeaf |
| Methods inherited from interface java.lang.Iterable |
|---|
iterator |
| Methods inherited from interface org.axsl.area.AreaNode |
|---|
ancestorArea, ancestorBlockContentFactory, ancestorNormalBlockArea, ancestorTableArea, getAreaTree, isFirstChildOfGeneratedBy, removeChild, siblingIndex |
| Methods inherited from interface org.axsl.fo.FoContext |
|---|
bpdAncestorBlockOrRa, getGraftingPoint, heightContainingBlock, ipdAncestorBlockArea, ipdAncestorBlockOrRa, ipdContainingRefArea, ipdParentArea, isFirst, isLast, tableWidth, widthContainingBlock |
| Method Detail |
|---|
public org.axsl.fo.fo.PageSequence getPageSequence()
public PageCollection getPageCollection()
getPageCollection in interface org.axsl.area.PageAreapublic PageRA getPage()
getPage in interface org.axsl.area.AreaNodegetPage in class AreaNodepublic void setNumber(int number)
number - The new page number.public int getNumber()
getNumber in interface org.axsl.area.PageAreagetNumber in interface org.axsl.galley.Pagepublic void setFormattedNumber(CharSequence number)
number - The new formatted page number.public CharSequence getFormattedNumber()
getFormattedNumber in interface org.axsl.galley.Pagepublic RegionRA getRegionAfter()
getRegionAfter in interface org.axsl.area.PageAreagetRegionAfter in interface org.axsl.galley.Pagepublic RegionRA getRegionBefore()
getRegionBefore in interface org.axsl.area.PageAreagetRegionBefore in interface org.axsl.galley.Pagepublic RegionRA getRegionStart()
getRegionStart in interface org.axsl.area.PageAreagetRegionStart in interface org.axsl.galley.Pagepublic RegionRA getRegionEnd()
getRegionEnd in interface org.axsl.area.PageAreagetRegionEnd in interface org.axsl.galley.Pagepublic Collection<RegionRABody> getRegionBodies()
getRegionBodies in interface org.axsl.area.PageAreagetRegionBodies in interface org.axsl.galley.Pagepublic int getHeight()
getHeight in interface org.axsl.galley.Pagepublic int getWidth()
getWidth in interface org.axsl.galley.Pagepublic void registerMarker(org.axsl.fo.fo.Marker marker)
registerMarker in interface org.axsl.area.PageAreapublic void unregisterMarker(org.axsl.fo.fo.Marker marker)
marker - The marker to be unregistered.public List<org.axsl.fo.fo.Marker> getMarkers()
public Area nearestGeneratedByBlockLevelFo()
nearestGeneratedByBlockLevelFo in interface org.axsl.area.AreaNodenearestGeneratedByBlockLevelFo in class AreaNode
public void layoutComplete()
throws org.axsl.area.AreaTreeException
layoutComplete in interface org.axsl.area.PageAreaorg.axsl.area.AreaTreeExceptionpublic org.axsl.galley.AreaNode firstUnresolvedRefId()
firstUnresolvedRefId in interface org.axsl.galley.Pagepublic int crIpd()
crIpd in interface org.axsl.area.AreacrIpd in class Areapublic int crBpd()
crBpd in interface org.axsl.area.AreacrBpd in class Areapublic int crOriginIPDOffset()
Area
crOriginIPDOffset in class Areapublic int crOriginBPDOffset()
Area
crOriginBPDOffset in class Areapublic int crOriginX()
crOriginX in class Areapublic int crOriginY()
crOriginY in class Area
public Area getOverflowArea(Area childRequesting)
throws org.axsl.area.AreaTreeException
getOverflowArea in class AreachildRequesting - Child Areas ask
org.axsl.area.AreaTreeException - If the Area is unable to find or create the
overflow area.public org.axsl.common.value.Compass getBindingEdge()
public org.axsl.fo.fo.Marker bestMarker(org.axsl.fo.fo.RetrieveMarker retrieve)
bestMarker in interface org.axsl.area.PageAreapublic org.axsl.fo.fo.SimplePageMaster getPageMaster()
getPageMaster in interface org.axsl.area.PageAreapublic String getAreaName()
getAreaName in interface org.axsl.area.AreaNode
public void render(org.axsl.galley.RenderVisitor visitor)
throws org.axsl.galley.GalleyVisitorException
org.axsl.galley.GalleyVisitorExceptionpublic 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 PageCollection getParent()
getParent in interface TreeNodegetParent in interface org.axsl.galley.PagegetParent 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()
AreaNodelayoutComplete().
optimize in class AreaNodepublic FOLinkage getLinkage()
AreaNode
getLinkage in class AreaNodepublic org.axsl.fo.fo.SimplePageMaster traitGeneratedBy()
traitGeneratedBy in interface org.axsl.area.AreaNodetraitGeneratedBy in class AreaNodepublic boolean isReleasable()
public boolean isBlank()
public RegionRABody getRegionBody(String regionName)
getRegionBody in interface org.axsl.area.PageArearegionName - The name of the region to be returned.
public 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 traitPageWidth()
public int traitPageHeight()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||