jpicedt.format.output.tikz
Class TikzViewFactory
java.lang.Object
jpicedt.graphic.view.DefaultViewFactory
jpicedt.format.output.tikz.TikzViewFactory
- All Implemented Interfaces:
- AttributesViewFactory, ViewFactory
public class TikzViewFactory
- extends DefaultViewFactory
Fabrique de View pour le type de contenu TikZ.
- Since:
- jPicEdt 1.6
- Version:
- $Id: TikzViewFactory.java,v 1.6 2013/03/27 07:08:22 vincentb1 Exp $
- Author:
- Vincent Belaïche
| Methods inherited from class jpicedt.graphic.view.DefaultViewFactory |
createPaintForInterior, createPaintForOutline, createPaintForShadow, createShadow, createStroke, createStrokeForOverstrike, getMappedClass, main, map, paintHatches, toString, unmap |
TikzViewFactory
public TikzViewFactory()
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:
- une View pour l'élément passé en argument. Ceci permet de
renvoyer une vue spécifique à Tikz pour certaine classe d'objet
graphique. Par défaut appelle la superclass sinon.
- Since:
- jPicEdt 1.6
configure
public static void configure(Properties preferences)
- La méthode
configure est appelée lorsque les préférences utilisateurs sont mises à jour.
- Parameters:
preferences - une valeur Properties utilsier pour lire les préférences
utilisateur. Si null, les valeurs par défaut sont utilisées.
createArrow
public ArrowView createArrow(PicAttributeSet set,
PicAttributeName<StyleConstants.ArrowStyle> direction)
- Description copied from interface:
AttributesViewFactory
- Returns an ArrowView for rendering arrow-related attributes using the
given attribute set.
- Specified by:
createArrow in interface AttributesViewFactory- Overrides:
createArrow in class DefaultViewFactory
- Parameters:
direction - LEFT_ARROW ou RIGHT_ARROW.
- Returns:
- une
ArrowView déduite du PicAttributeSet set passé en argument, ou
null si le style de la flèche est ArrowStyle.NONE.
Submit a bug : syd@jpicedt.org