http://www.jpicedt.org

jpicedt.format.output.pstricks
Class PstricksViewFactory

java.lang.Object
  extended by jpicedt.graphic.view.DefaultViewFactory
      extended by jpicedt.format.output.pstricks.PstricksViewFactory
All Implemented Interfaces:
AttributesViewFactory, ViewFactory

public class PstricksViewFactory
extends DefaultViewFactory

A factory to create a View for a given Element when the underlying content type for the model is Pstricks. Note that this is no longer used now that PSTricks supports elliptic arcs.

Since:
jPicEdt 1.3
Version:
$Id: PstricksViewFactory.java,v 1.11 2013/03/27 07:08:55 vincentb1 Exp $
Author:
Sylvain Reynal

Field Summary
 
Fields inherited from class jpicedt.graphic.view.DefaultViewFactory
factoryMap, KEY_TEXT_FONT, TEXT_FONT_DEFAULT, TEXT_FONT_SCALE, textFont
 
Constructor Summary
PstricksViewFactory()
           
 
Method Summary
 View createView(Element element)
          Create a View for the given Element by looking up the hashmap responsible for creating View's for Element's.
 
Methods inherited from class jpicedt.graphic.view.DefaultViewFactory
configure, createArrow, createPaintForInterior, createPaintForOutline, createPaintForShadow, createShadow, createStroke, createStrokeForOverstrike, getMappedClass, main, map, paintHatches, toString, unmap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PstricksViewFactory

public PstricksViewFactory()
Method Detail

createView

public View createView(Element element)
Description copied from class: DefaultViewFactory
Create a View for the given Element by looking up the hashmap responsible for creating View's for Element's.

Specified by:
createView in interface ViewFactory
Overrides:
createView in class DefaultViewFactory
Returns:
a View for the given Element

http://www.jpicedt.org

Submit a bug : syd@jpicedt.org