|
||||||||||
| 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
public abstract class AreaFixed
Subclasses are block-areas that do not need to store their own size or
spacing information.
This includes the page itself, regions, before-float RAs, footnote RAs, and
the main RA.
The opposite of AreaFixed is AreaFlexible.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.foray.common.AbstractOrderedTreeNode |
|---|
AbstractOrderedTreeNode.PostOrderDescendantIterator |
| Constructor Summary | |
|---|---|
protected |
AreaFixed()
Constructor. |
| Method Summary | |
|---|---|
abstract List<AreaNode> |
getChildren()
Return the List of this node's children. |
int |
getProgressionDimension()
Returns the actual total value, in millipoints, of the size of this area (not counting space-before, etc.) in its progression direction. |
void |
incrementProgressionDimension(int incrementAmount)
Change the progression-dimension used by this Area. |
boolean |
isAbsolutelyPositioned()
Indicates whether this Area is positioned absolutely or relatively. |
int |
pdAvailable()
|
int |
pdUsedBySiblings()
Returns the total amount of the progression-dimension that has been used by siblings. |
void |
setMinimumProgressionDimension(int minPD)
Set the minimum progression dimension for this Area. |
void |
setProgressionDimension(int progressionDimension)
Sets the progression-dimension used by this Area. |
| 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.AreaNode |
|---|
getAreaName, getChildAt, getGalley, render |
| Methods inherited from interface java.lang.Iterable |
|---|
iterator |
| Methods inherited from interface org.axsl.area.AreaNode |
|---|
ancestorArea, ancestorBlockContentFactory, ancestorNormalBlockArea, ancestorTableArea, getAreaName, getAreaTree, getPage, isFirstChildOfGeneratedBy, nearestGeneratedByBlockLevelFo, removeChild, siblingIndex, traitGeneratedBy |
| Methods inherited from interface javax.swing.tree.TreeNode |
|---|
children, getAllowsChildren, getChildCount, getIndex, getParent, isLeaf |
| Methods inherited from interface org.axsl.fo.FoContext |
|---|
bpdAncestorBlockOrRa, getGraftingPoint, heightContainingBlock, ipdAncestorBlockArea, ipdAncestorBlockOrRa, ipdContainingRefArea, ipdParentArea, isFirst, isLast, tableWidth, widthContainingBlock |
| Constructor Detail |
|---|
protected AreaFixed()
| Method Detail |
|---|
public int pdAvailable()
pdAvailable in interface org.axsl.area.AreapdAvailable in class Areapublic int getProgressionDimension()
AreaReturns the actual total value, in millipoints, of the size of this area (not counting space-before, etc.) in its progression direction. This value does not include space-before, etc., but does include borders and padding. For block areas, the progression dimension is the block-progression-dimension. For inline areas, it is the inline-progression-dimension.
getProgressionDimension in class Areapublic void setProgressionDimension(int progressionDimension)
Area
setProgressionDimension in class AreaprogressionDimension - The new progression-dimension value for this
Area.public void setMinimumProgressionDimension(int minPD)
Area
setMinimumProgressionDimension in class AreaminPD - The minimum progression dimension to set.public void incrementProgressionDimension(int incrementAmount)
Area
incrementProgressionDimension in class AreaincrementAmount - The amount by which the progression-dimension
should be changed for this area.
Positive values increase the progression-dimension, negative values
decrease it.public int pdUsedBySiblings()
Area
pdUsedBySiblings in class Areapublic abstract List<AreaNode> getChildren()
AbstractOrderedTreeNode
getChildren in class AreaNodepublic boolean isAbsolutelyPositioned()
Area
isAbsolutelyPositioned in class Area
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||