http://www.jpicedt.org

jpicedt.format.output.util
Class PicGroupFormatter

java.lang.Object
  extended by jpicedt.graphic.io.formatter.AbstractFormatter
      extended by jpicedt.format.output.util.PicGroupFormatter
All Implemented Interfaces:
Formatter
Direct Known Subclasses:
PicGroupFormatter, PicGroupFormatter

public class PicGroupFormatter
extends AbstractFormatter

A formatter for PicGroup objects. This implementation simply invokes format() on each children in turn.

Since:
jpicedt 1.0
Version:
$Id: PicGroupFormatter.java,v 1.10 2013/03/27 07:22:09 vincentb1 Exp $

Author:
Sylvain Reynal

Field Summary
protected  FormatterFactory factory
           
protected  PicGroup group
           
 
Constructor Summary
PicGroupFormatter(PicGroup group, FormatterFactory factory)
           
 
Method Summary
 String format()
          Create a String representing an Element in the format of this formatter
 Element getElement()
          Renvoie l'Element sujet du formattage.
 
Methods inherited from class jpicedt.graphic.io.formatter.AbstractFormatter
revertedArrowsAttribute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

group

protected PicGroup group

factory

protected FormatterFactory factory
Constructor Detail

PicGroupFormatter

public PicGroupFormatter(PicGroup group,
                         FormatterFactory factory)
Method Detail

getElement

public Element getElement()
Description copied from interface: Formatter
Renvoie l'Element sujet du formattage.

Since:
jPicEdt 1.6

format

public String format()
              throws IOException
Description copied from interface: Formatter
Create a String representing an Element in the format of this formatter

Returns:
a String representing this Element in the PsTricks
Throws:
IOException

http://www.jpicedt.org

Submit a bug : syd@jpicedt.org