net.sf.latexdraw.glib.views.pst
Class PSTLinesView

java.lang.Object
  extended by net.sf.latexdraw.glib.views.AbstractView<S>
      extended by net.sf.latexdraw.glib.views.AbstractCodeView<S>
          extended by net.sf.latexdraw.glib.views.pst.PSTShapeView<S>
              extended by net.sf.latexdraw.glib.views.pst.PSTClassicalView<IPolygon>
                  extended by net.sf.latexdraw.glib.views.pst.PSTPolygonView
                      extended by net.sf.latexdraw.glib.views.pst.PSTLinesView
All Implemented Interfaces:
IAbstractView

 class PSTLinesView
extends PSTPolygonView

Defines a PSTricks view of the LLines model.

This file is part of LaTeXDraw.
Copyright (c) 2005-2012 Arnaud BLOUIN

LaTeXDraw is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
LaTeXDraw is distributed without any warranty; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

05/23/2010

Since:
3.0
Author:
Arnaud BLOUIN

Field Summary
 
Fields inherited from class net.sf.latexdraw.glib.views.pst.PSTShapeView
coloursName
 
Fields inherited from class net.sf.latexdraw.glib.views.AbstractCodeView
cache
 
Fields inherited from class net.sf.latexdraw.glib.views.AbstractView
shape
 
Constructor Summary
protected PSTLinesView(IPolyline model)
          Creates and initialises a LLines PSTricks view.
 
Method Summary
 void updateCache(IPoint position, float ppc)
          Updates the cache.
 
Methods inherited from class net.sf.latexdraw.glib.views.pst.PSTPolygonView
getPointsCode
 
Methods inherited from class net.sf.latexdraw.glib.views.pst.PSTClassicalView
getPropertiesCode
 
Methods inherited from class net.sf.latexdraw.glib.views.pst.PSTShapeView
addColour, getArrowsParametersCode, getArrowsStyleCode, getBorderPositionCode, getColourName, getDoubleBorderCode, getFillingCode, getLineCode, getRotationHeaderCode, getShadowCode, getShowPointsCode, update
 
Methods inherited from class net.sf.latexdraw.glib.views.AbstractCodeView
emptyCache, getCache
 
Methods inherited from class net.sf.latexdraw.glib.views.AbstractView
getShape
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PSTLinesView

protected PSTLinesView(IPolyline model)
Creates and initialises a LLines PSTricks view.

Parameters:
model - The model to view.
Throws:
java.lang.IllegalArgumentException - If the given model is not valid.
Since:
3.0
Method Detail

updateCache

public void updateCache(IPoint position,
                        float ppc)
Description copied from class: PSTShapeView
Updates the cache.

Overrides:
updateCache in class PSTPolygonView
Parameters:
position - The origin point of the PST drawing.
ppc - The number of point per centimetre.