http://www.jpicedt.org

jpicedt.format.output.eepic
Class AbstractCurveView

java.lang.Object
  extended by jpicedt.graphic.view.AbstractView
      extended by jpicedt.graphic.view.LeafElementView
          extended by jpicedt.graphic.view.AbstractCurveView
              extended by jpicedt.format.output.eepic.AbstractCurveView
All Implemented Interfaces:
View

public class AbstractCurveView
extends AbstractCurveView

a View for rendering any concrete implementation of jpicedt.graphic.model.AbstractCurve eepic allows filling polygon only (using \\path macro).

Since:
jPicEdt 1.3.2
Version:
$Id: AbstractCurveView.java,v 1.3 2013/03/27 07:11:00 vincentb1 Exp $
Author:
Sylvain Reynal

Field Summary
 
Fields inherited from class jpicedt.graphic.view.AbstractCurveView
dotDrawPaint, dotFillPaint, dotShape, dotShapeList, dotStroke
 
Fields inherited from class jpicedt.graphic.view.LeafElementView
attrFactory, interiorPaint, leftArrow, outlinePaint, outlineStroke, overstrikeStroke, rightArrow, shadow, shadowPaint, shape
 
Fields inherited from class jpicedt.graphic.view.AbstractView
bounds, element, highlighter
 
Constructor Summary
AbstractCurveView(AbstractCurve curve, EepicViewFactory f)
          construct a new View for the given curve
 
Method Summary
protected  void syncAttributes()
          Inherits from superclass, except for filling behaviour
protected  void syncDotShape()
          Computes the Shape (centered at 0,0) used for drawing polygon's dots, built from the given attributes ; this implementation sets it to null, as dotting is not supported.
 
Methods inherited from class jpicedt.graphic.view.AbstractCurveView
paint, syncArrowsAttributes, syncDotShapeAttributes, syncDotShapeList, syncShape
 
Methods inherited from class jpicedt.graphic.view.LeafElementView
changedUpdate, hitTest, intersect, syncArrowsGeometry, syncBounds, syncShadow
 
Methods inherited from class jpicedt.graphic.view.AbstractView
getBounds, getContainer, getDrawing, getElement, getGraphics, getHighlighter, getParentView, getViewFactory, hitTest, intersect, paintHighlighter, repaint, setElement, setHighlighter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractCurveView

public AbstractCurveView(AbstractCurve curve,
                         EepicViewFactory f)
construct a new View for the given curve

Method Detail

syncAttributes

protected void syncAttributes()
Inherits from superclass, except for filling behaviour

Overrides:
syncAttributes in class AbstractCurveView

syncDotShape

protected void syncDotShape()
Computes the Shape (centered at 0,0) used for drawing polygon's dots, built from the given attributes ; this implementation sets it to null, as dotting is not supported.


http://www.jpicedt.org

Submit a bug : syd@jpicedt.org