org.apache.fop.fo.flow
Class Block

java.lang.Object
  extended by org.apache.fop.fo.FONode
      extended by org.apache.fop.fo.FObj
          extended by org.apache.fop.fo.FObjMixed
              extended by org.apache.fop.fo.flow.Block

public class Block
extends FObjMixed


Nested Class Summary
static class Block.Maker
           
 
Field Summary
 
Fields inherited from class org.apache.fop.fo.FObjMixed
textState
 
Fields inherited from class org.apache.fop.fo.FObj
column, line, properties, propMgr, systemId
 
Fields inherited from class org.apache.fop.fo.FONode
areaClass, areasGenerated, BREAK_AFTER, children, forcedStartOffset, forcedWidth, isInTableCell, linkSet, log, marker, parent, START
 
Constructor Summary
Block(FObj parent, PropertyList propertyList, String systemId, int line, int column)
           
 
Method Summary
 int getAreaHeight()
           
 int getContentWidth()
          Return the content width of the boxes generated by this FO.
 String getName()
          returns the name of the formatting object
 int getSpan()
           
 int layout(Area area)
          generates the area or areas for this formatting object and adds these to the area.
static FObj.Maker maker()
           
 void resetMarker()
           
 
Methods inherited from class org.apache.fop.fo.FObjMixed
addCharacters, addChild, end, getTextState
 
Methods inherited from class org.apache.fop.fo.FObj
addMarker, generatesReferenceAreas, getProperty, makePropertyManager, removeID, setWritingMode
 
Methods inherited from class org.apache.fop.fo.FONode
forceStartOffset, forceWidth, getLinkSet, getMarkerSnapshot, getParent, mayPrecedeMarker, removeAreas, rollback, setIsInTableCell, setLinkSet, setLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Block

public Block(FObj parent,
             PropertyList propertyList,
             String systemId,
             int line,
             int column)
      throws FOPException
Throws:
FOPException
Method Detail

maker

public static FObj.Maker maker()

getName

public String getName()
Description copied from class: FObj
returns the name of the formatting object

Specified by:
getName in class FObj
Returns:
the name of this formatting objects

layout

public int layout(Area area)
           throws FOPException
Description copied from class: FObj
generates the area or areas for this formatting object and adds these to the area. This method should always be overridden by all sub classes

Overrides:
layout in class FObjMixed
Throws:
FOPException

getAreaHeight

public int getAreaHeight()

getContentWidth

public int getContentWidth()
Return the content width of the boxes generated by this FO.

Overrides:
getContentWidth in class FObj

getSpan

public int getSpan()

resetMarker

public void resetMarker()
Overrides:
resetMarker in class FONode


Copyright ? 1999-2003 Apache Software Foundation. All Rights Reserved.