|
aXSL API 0.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MainRefArea
Manages the main-reference-area. Its parent should always be an instance of RegionRABody, and its children should always be instances of SpanRA.
Method Summary | |
---|---|
NormalFlowRefArea |
getNormalFlow(Fo fo)
Depending on the column-count of the next FO, determine whether a new span area needs to be constructed or not, and return the appropriate NormalFlowRefArea . |
boolean |
isBalancingRequired(Fo fo)
Indicates whether adding a new object to this main-reference area will require any balancing work. |
boolean |
isLastColumn()
Indicates whether the current column in this area is the last column. |
boolean |
isNewSpanArea()
Indicates whether the currently-active span area in this Area is newly created. |
void |
resetSpanArea()
Resets the the just-done span area in preparation for a backtrack for balancing. |
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 |
Method Detail |
---|
boolean isBalancingRequired(Fo fo)
fo
- The FObj instance to be added.
fo
will require balancing.void resetSpanArea()
boolean isNewSpanArea()
boolean isLastColumn()
NormalFlowRefArea getNormalFlow(Fo fo) throws AreaTreeException
NormalFlowRefArea
.
fo
- The next formatting object.
NormalFlowRefArea
area that should be used for
fo
, which is possibly the current one.
AreaTreeException
- if the Area cannot be found or constructed.
|
aXSL API 0.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This documentation was created August 8 2007 by The aXSL Group and may be freely copied. See license for details.