org.apache.fop.layout
Class Area

java.lang.Object
  |
  +--org.apache.fop.layout.Box
        |
        +--org.apache.fop.layout.Area
Direct Known Subclasses:
AreaContainer, BlockArea, BodyAreaContainer, ExtensionArea, ImageArea, InlineArea, LineArea, SVGArea

public abstract class Area
extends Box


Field Summary
protected  int allocationWidth
           
protected  ColorType backgroundColor
           
protected  BorderAndPadding bp
           
protected  java.util.Vector children
           
protected  int contentRectangleWidth
           
protected  int currentHeight
           
 FObj foCreator
           
protected  FontState fontState
           
protected  int maxHeight
           
protected  Page page
           
protected  int tableCellXOffset
           
 
Fields inherited from class org.apache.fop.layout.Box
areaTree, parent
 
Constructor Summary
Area(FontState fontState)
           
Area(FontState fontState, int allocationWidth, int maxHeight)
           
 
Method Summary
 void addChild(Box child)
           
 void addChildAtStart(Box child)
           
 void addDisplaySpace(int size)
           
 void end()
           
 int getAbsoluteHeight()
           
 int getAllocationWidth()
           
 ColorType getBackgroundColor()
           
 BorderAndPadding getBorderAndPadding()
           
 int getBorderBottomWidth()
           
 int getBorderLeftWidth()
           
 int getBorderRightWidth()
           
 int getBorderTopWidth()
           
 java.util.Vector getChildren()
           
 int getContentHeight()
           
 int getContentWidth()
           
 FObj getfoCreator()
           
 FontInfo getFontInfo()
           
 FontState getFontState()
           
 int getHeight()
           
 IDReferences getIDReferences()
           
 int getMaxHeight()
           
 AreaContainer getNearestAncestorAreaContainer()
           
 int getPaddingBottom()
           
 int getPaddingLeft()
           
 int getPaddingRight()
           
 int getPaddingTop()
           
 Page getPage()
           
 Area getParent()
           
 int getTableCellXOffset()
           
 void increaseAbsoluteHeight(int value)
           
 void increaseHeight(int amount)
           
 void remove()
           
 void removeChild(Area area)
           
 void removeChild(DisplaySpace spacer)
           
 void setAbsoluteHeight(int value)
           
 void setAllocationWidth(int w)
           
 void setBackgroundColor(ColorType bgColor)
           
 void setBorderAndPadding(BorderAndPadding bp)
           
 void setHeight(int height)
           
 void setIDReferences(IDReferences idReferences)
           
 void setMaxHeight(int height)
           
 void setPage(Page page)
           
 void setParent(Area parent)
           
 void setTableCellXOffset(int offset)
           
 int spaceLeft()
           
 void start()
           
 
Methods inherited from class org.apache.fop.layout.Box
render
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fontState

protected FontState fontState

bp

protected BorderAndPadding bp

children

protected java.util.Vector children

maxHeight

protected int maxHeight

currentHeight

protected int currentHeight

tableCellXOffset

protected int tableCellXOffset

contentRectangleWidth

protected int contentRectangleWidth

allocationWidth

protected int allocationWidth

page

protected Page page

backgroundColor

protected ColorType backgroundColor

foCreator

public FObj foCreator
Constructor Detail

Area

public Area(FontState fontState)

Area

public Area(FontState fontState,
            int allocationWidth,
            int maxHeight)
Method Detail

addChild

public void addChild(Box child)

addChildAtStart

public void addChildAtStart(Box child)

addDisplaySpace

public void addDisplaySpace(int size)

getFontInfo

public FontInfo getFontInfo()

end

public void end()

getAllocationWidth

public int getAllocationWidth()

setAllocationWidth

public void setAllocationWidth(int w)

getChildren

public java.util.Vector getChildren()

getContentWidth

public int getContentWidth()

getFontState

public FontState getFontState()

getContentHeight

public int getContentHeight()

getHeight

public int getHeight()

getMaxHeight

public int getMaxHeight()

getPage

public Page getPage()

getBackgroundColor

public ColorType getBackgroundColor()

getPaddingTop

public int getPaddingTop()

getPaddingLeft

public int getPaddingLeft()

getPaddingBottom

public int getPaddingBottom()

getPaddingRight

public int getPaddingRight()

getBorderTopWidth

public int getBorderTopWidth()

getBorderRightWidth

public int getBorderRightWidth()

getBorderLeftWidth

public int getBorderLeftWidth()

getBorderBottomWidth

public int getBorderBottomWidth()

getTableCellXOffset

public int getTableCellXOffset()

setTableCellXOffset

public void setTableCellXOffset(int offset)

getAbsoluteHeight

public int getAbsoluteHeight()

setAbsoluteHeight

public void setAbsoluteHeight(int value)

increaseAbsoluteHeight

public void increaseAbsoluteHeight(int value)

increaseHeight

public void increaseHeight(int amount)

removeChild

public void removeChild(Area area)

removeChild

public void removeChild(DisplaySpace spacer)

remove

public void remove()

setPage

public void setPage(Page page)

setBackgroundColor

public void setBackgroundColor(ColorType bgColor)

setBorderAndPadding

public void setBorderAndPadding(BorderAndPadding bp)

spaceLeft

public int spaceLeft()

start

public void start()

setHeight

public void setHeight(int height)

setMaxHeight

public void setMaxHeight(int height)

getParent

public Area getParent()

setParent

public void setParent(Area parent)

setIDReferences

public void setIDReferences(IDReferences idReferences)

getIDReferences

public IDReferences getIDReferences()

getfoCreator

public FObj getfoCreator()

getNearestAncestorAreaContainer

public AreaContainer getNearestAncestorAreaContainer()

getBorderAndPadding

public BorderAndPadding getBorderAndPadding()


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