org.apache.fop.svg
Class TSpan

java.lang.Object
  |
  +--org.apache.fop.fo.FONode
        |
        +--org.apache.fop.fo.FObj
              |
              +--org.apache.fop.svg.SVGObj
                    |
                    +--org.apache.fop.svg.TSpan

public class TSpan
extends SVGObj
implements TextElement

class representing svg:tspan pseudo flow object.


Inner Class Summary
static class TSpan.Maker
          inner class for making tspan objects.
 
Inner classes inherited from class org.apache.fop.fo.FObj
FObj.Maker
 
Fields inherited from class org.apache.fop.fo.FObj
name, properties
 
Fields inherited from class org.apache.fop.fo.FONode
bodyIndent, BREAK_AFTER, children, distanceBetweenStarts, forcedStartOffset, forcedWidth, isInLabel, isInListBody, isInTableCell, labelSeparation, linkSet, marker, orphans, parent, START, widows
 
Constructor Summary
protected TSpan(FObj parent, PropertyList propertyList)
          constructs a TSpan object (called by Maker).
 
Method Summary
protected  void addCharacters(char[] data, int start, int length)
          add characters to the string to display.
 org.w3c.dom.svg.SVGElement createTextElement()
           
static FObj.Maker maker()
          returns the maker for this object.
 
Methods inherited from class org.apache.fop.svg.SVGObj
createGraphic, layout
 
Methods inherited from class org.apache.fop.fo.FObj
end, generatesReferenceAreas, getContentWidth, getName, getProperty, removeID, start
 
Methods inherited from class org.apache.fop.fo.FONode
addChild, forceStartOffset, forceWidth, getLinkSet, getMarkerSnapshot, getParent, removeAreas, resetMarker, rollback, setBodyIndent, setDistanceBetweenStarts, setIsInLabel, setIsInListBody, setIsInTableCell, setLabelSeparation, setLinkSet, setOrphans, setWidows
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TSpan

protected TSpan(FObj parent,
                PropertyList propertyList)
constructs a TSpan object (called by Maker).
Parameters:
parent - the parent formatting object
propertyList - the explicit properties of this object
Method Detail

maker

public static FObj.Maker maker()
returns the maker for this object.
Returns:
the maker for Line objects

addCharacters

protected void addCharacters(char[] data,
                             int start,
                             int length)
add characters to the string to display.
Overrides:
addCharacters in class FObj
Parameters:
data - array of characters
start - start offset in character array
length - number of characters to add

createTextElement

public org.w3c.dom.svg.SVGElement createTextElement()
Specified by:
createTextElement in interface TextElement


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