org.apache.fop.fo
Class FObjMixed

java.lang.Object
  extended by org.apache.fop.fo.FONode
      extended by org.apache.fop.fo.FObj
          extended by org.apache.fop.fo.FObjMixed
Direct Known Subclasses:
Block, Inline, Leader, Marker, Wrapper

public abstract class FObjMixed
extends FObj

base class for representation of mixed content formatting objects and their processing


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.fop.fo.FObj
FObj.Maker
 
Field Summary
protected  TextState 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
protected FObjMixed(FObj parent, PropertyList propertyList, String systemId, int line, int column)
           
 
Method Summary
protected  void addCharacters(char[] data, int start, int length)
          adds characters (does nothing here)
protected  void addChild(FONode child)
           
protected  void end()
           
 TextState getTextState()
           
 int layout(Area area)
          generates the area or areas for this formatting object and adds these to the area.
 
Methods inherited from class org.apache.fop.fo.FObj
addMarker, generatesReferenceAreas, getContentWidth, getName, getProperty, makePropertyManager, removeID, setWritingMode
 
Methods inherited from class org.apache.fop.fo.FONode
forceStartOffset, forceWidth, getLinkSet, getMarkerSnapshot, getParent, mayPrecedeMarker, removeAreas, resetMarker, rollback, setIsInTableCell, setLinkSet, setLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

textState

protected TextState textState
Constructor Detail

FObjMixed

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

getTextState

public TextState getTextState()

addCharacters

protected void addCharacters(char[] data,
                             int start,
                             int length)
Description copied from class: FObj
adds characters (does nothing here)

Overrides:
addCharacters in class FObj
Parameters:
data - text
start - start position
length - length of the text

end

protected void end()
Overrides:
end in class FObj

addChild

protected void addChild(FONode child)
Overrides:
addChild in class FONode

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 FObj
Throws:
FOPException


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