http://www.jpicedt.org

jpicedt.format.output.eepic
Class EepicViewFactory.AbstractCurveView

java.lang.Object
  extended by jpicedt.graphic.view.AbstractView
      extended by jpicedt.graphic.view.DefaultViewFactory.LeafElementView
          extended by jpicedt.graphic.view.DefaultViewFactory.AbstractCurveView
              extended by jpicedt.format.output.eepic.EepicViewFactory.AbstractCurveView
All Implemented Interfaces:
View, ViewConstants
Enclosing class:
EepicViewFactory

public class EepicViewFactory.AbstractCurveView
extends DefaultViewFactory.AbstractCurveView

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


Field Summary
 
Fields inherited from class jpicedt.graphic.view.DefaultViewFactory.AbstractCurveView
arrow1, arrow1Dir, arrow1Loc, arrow2, arrow2Dir, arrow2Loc, arrowStroke, dotDrawPaint, dotFillPaint, dotShape, dotStroke, hasSegments, isDotFilled
 
Fields inherited from class jpicedt.graphic.view.DefaultViewFactory.LeafElementView
interiorPaint, lineWidth, outlinePaint, outlineStroke, overStrikeWidth, shadowBounds, shape
 
Fields inherited from class jpicedt.graphic.view.AbstractView
bounds, element, highlighter
 
Fields inherited from interface jpicedt.graphic.view.ViewConstants
BARBELL_SIZE, CLICK_DISTANCE
 
Constructor Summary
EepicViewFactory.AbstractCurveView(AbstractCurve curve)
          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.DefaultViewFactory.AbstractCurveView
paint, syncShape
 
Methods inherited from class jpicedt.graphic.view.DefaultViewFactory.LeafElementView
changedUpdate, getViewFactory, hitTest, syncBounds
 
Methods inherited from class jpicedt.graphic.view.AbstractView
getBounds, getContainer, getDrawing, getElement, getGraphics, getHighlighter, getParentView, hitTest, paintHighlighter, repaint, setElement, setHighlighter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EepicViewFactory.AbstractCurveView

public EepicViewFactory.AbstractCurveView(AbstractCurve curve)
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 DefaultViewFactory.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.

Overrides:
syncDotShape in class DefaultViewFactory.AbstractCurveView

http://www.jpicedt.org

Submit a bug : syd@jpicedt.org