org.apache.fop.layout
Class ColumnArea
java.lang.Object
org.apache.fop.layout.Box
org.apache.fop.layout.Area
org.apache.fop.layout.AreaContainer
org.apache.fop.layout.ColumnArea
public class ColumnArea
- 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 |
ColumnArea(FontState fontState,
int xPosition,
int yPosition,
int allocationWidth,
int maxHeight,
int columnCount)
|
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, setPage, setParent, setTableCellXOffset |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ColumnArea
public ColumnArea(FontState fontState,
int xPosition,
int yPosition,
int allocationWidth,
int maxHeight,
int columnCount)
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)
getColumnIndex
public int getColumnIndex()
setColumnIndex
public void setColumnIndex(int columnIndex)
incrementSpanIndex
public void incrementSpanIndex()
Copyright ? 1999-2003 Apache Software Foundation. All Rights Reserved.