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, backgroundColor, bp, children, contentRectangleWidth, currentHeight, foCreator, fontState, generatedBy, isFirst, isLast, markers, maxHeight, page, returnedBy, tableCellXOffset
 
Fields inherited from class org.apache.fop.layout.Box
areaTree, parent
 
Constructor Summary
ColumnArea(FontState fontState, int xPosition, int yPosition, int allocationWidth, int maxHeight, int columnCount)
           
 
Method Summary
 void end()
           
 int getColumnIndex()
           
 void incrementSpanIndex()
           
 void render(Renderer renderer)
           
 void setColumnIndex(int columnIndex)
           
 int spaceLeft()
          Return space remaining in the vertical direction (height).
 void start()
           
 
Methods inherited from class org.apache.fop.layout.AreaContainer
getAreaName, getCurrentYPosition, getPosition, getXPosition, getYPosition, setAreaName, setXPosition, setYPosition, shiftYPosition
 
Methods inherited from class org.apache.fop.layout.Area
addChild, addChildAtStart, addDisplaySpace, addInlineSpace, addLineagePair, addMarker, addMarkers, getAbsoluteHeight, getAllocationWidth, getBackgroundColor, getBorderAndPadding, getBorderBottomWidth, getBorderLeftWidth, getBorderRightWidth, getBorderTopWidth, getChildren, getContentHeight, getContentWidth, getfoCreator, getFontInfo, getFontState, getGeneratedBy, getHeight, getIDReferences, getMarkers, getMaxHeight, getNearestAncestorAreaContainer, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingTop, getPage, getParent, getTableCellXOffset, hasChildren, increaseAbsoluteHeight, increaseHeight, isFirst, isFirst, isLast, isLast, remove, removeChild, removeChild, setAbsoluteHeight, setAllocationWidth, setBackgroundColor, 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
 

Constructor Detail

ColumnArea

public ColumnArea(FontState fontState,
                  int xPosition,
                  int yPosition,
                  int allocationWidth,
                  int maxHeight,
                  int columnCount)
Method Detail

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
Following copied from class: org.apache.fop.layout.Area
Returns:
space remaining in base units (millipoints)

getColumnIndex

public int getColumnIndex()

setColumnIndex

public void setColumnIndex(int columnIndex)

incrementSpanIndex

public void incrementSpanIndex()


Copyright © 1999-2001 Apache Software Foundation. All Rights Reserved.