org.apache.fop.layout
Class SpanArea
java.lang.Object
org.apache.fop.layout.Box
org.apache.fop.layout.Area
org.apache.fop.layout.AreaContainer
org.apache.fop.layout.SpanArea
public class SpanArea
- extends AreaContainer
Fields inherited from class org.apache.fop.layout.Area |
allocationWidth, areaClass, background, bp, children, contentRectangleWidth, currentHeight, foCreator, fontState, generatedBy, isFirst, isLast, maxHeight, page, tableCellXOffset |
Constructor Summary |
SpanArea(FontState fontState,
int xPosition,
int yPosition,
int allocationWidth,
int maxHeight,
int columnCount,
int columnGap)
|
Methods inherited from class org.apache.fop.layout.Area |
addChild, addChildAtStart, addDisplaySpace, addInlineSpace, getAbsoluteHeight, getAllocationWidth, getBackground, getBorderAndPadding, getBorderBottomWidth, getBorderLeftWidth, getBorderRightWidth, getBorderTopWidth, getChildren, getContentHeight, getContentWidth, getfoCreator, getFontInfo, getFontState, getGeneratedBy, getHeight, getIDReferences, getMaxHeight, getNearestAncestorAreaContainer, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingTop, getPage, getParent, getTableCellXOffset, hasChildren, hasNonSpaceChildren, increaseHeight, isFirst, isFirst, isLast, isLast, remove, removeChild, removeChild, setAbsoluteHeight, setAllocationWidth, setBackground, setBorderAndPadding, setGeneratedBy, setHeight, setIDReferences, setMaxHeight, setParent, setTableCellXOffset |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpanArea
public SpanArea(FontState fontState,
int xPosition,
int yPosition,
int allocationWidth,
int maxHeight,
int columnCount,
int columnGap)
render
public void render(Renderer renderer)
- Overrides:
render
in class AreaContainer
end
public void end()
- Overrides:
end
in class Area
start
public void start()
- Overrides:
start
in class Area
spaceLeft
public int spaceLeft()
- Description copied from class:
Area
- Return space remaining in the vertical direction (height).
This returns maximum available space - current content height
Note: content height should be based on allocation height of content!
- Overrides:
spaceLeft
in class Area
- Returns:
- space remaining in base units (millipoints)
getColumnCount
public int getColumnCount()
getCurrentColumn
public int getCurrentColumn()
setCurrentColumn
public void setCurrentColumn(int currentColumn)
getCurrentColumnArea
public AreaContainer getCurrentColumnArea()
isBalanced
public boolean isBalanced()
setIsBalanced
public void setIsBalanced()
getTotalContentHeight
public int getTotalContentHeight()
getMaxContentHeight
public int getMaxContentHeight()
setPage
public void setPage(Page page)
- Overrides:
setPage
in class Area
isLastColumn
public boolean isLastColumn()
Copyright ? 1999-2003 Apache Software Foundation. All Rights Reserved.