Package jpicedt.format.output.eepic
Class EepicViewFactory.AbstractCurveView
- java.lang.Object
-
- jpicedt.graphic.view.AbstractView
-
- jpicedt.graphic.view.DefaultViewFactory.LeafElementView
-
- jpicedt.graphic.view.DefaultViewFactory.AbstractCurveView
-
- 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
Constructors Constructor Description AbstractCurveView(AbstractCurve curve)construct a new View for the given curve
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidsyncAttributes()Inherits from superclass, except for filling behaviourprotected voidsyncDotShape()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
-
-
-
-
Constructor Detail
-
AbstractCurveView
public 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:
syncAttributesin classDefaultViewFactory.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:
syncDotShapein classDefaultViewFactory.AbstractCurveView
-
-