http://www.jpicedt.org

jpicedt.format.output.pstricks
Class PicGroupFormatter

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

public class PicGroupFormatter
extends PicGroupFormatter

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.7 2013/03/27 07:23:20 vincentb1 Exp $

Author:
Sylvain Reynal

Field Summary
 
Fields inherited from class jpicedt.format.output.util.PicGroupFormatter
factory, group
 
Constructor Summary
PicGroupFormatter(PicGroup group, PstricksFormatter factory)
           
 
Method Summary
 String format()
          Create a String representing an Element in the format of this formatter
protected  String formatPsCustom()
          Returns a \\pscustom comprising every path contained in this group (except texts and closed paths)
 PstricksFormatter getFactory()
           
 
Methods inherited from class jpicedt.format.output.util.PicGroupFormatter
getElement
 
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
 

Constructor Detail

PicGroupFormatter

public PicGroupFormatter(PicGroup group,
                         PstricksFormatter factory)
Method Detail

getFactory

public PstricksFormatter getFactory()

format

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

Specified by:
format in interface Formatter
Overrides:
format in class PicGroupFormatter
Returns:
a String representing this Element in the PsTricks
Throws:
IOException

formatPsCustom

protected String formatPsCustom()
                         throws IOException
Returns a \\pscustom comprising every path contained in this group (except texts and closed paths)

Throws:
IOException

http://www.jpicedt.org

Submit a bug : syd@jpicedt.org