http://www.jpicedt.org

jpicedt.graphic.view
Class EllipseView

java.lang.Object
  extended by jpicedt.graphic.view.AbstractView
      extended by jpicedt.graphic.view.LeafElementView
          extended by jpicedt.graphic.view.EllipseView
All Implemented Interfaces:
View
Direct Known Subclasses:
EllipseView, EllipseView

public class EllipseView
extends LeafElementView

a View for rendering ellipses defined by a parallelogram


Field Summary
 
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
EllipseView(PicEllipse ellipse, AttributesViewFactory f)
          construct a new View for the given ellipse
 
Method Summary
protected  void syncArrowsAttributes()
          Synchronizes arrows' specific attributes with the model.
 
Methods inherited from class jpicedt.graphic.view.LeafElementView
changedUpdate, hitTest, intersect, paint, syncArrowsGeometry, syncAttributes, syncBounds, syncShadow, syncShape
 
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

EllipseView

public EllipseView(PicEllipse ellipse,
                   AttributesViewFactory f)
construct a new View for the given ellipse

Method Detail

syncArrowsAttributes

protected void syncArrowsAttributes()
Synchronizes arrows' specific attributes with the model. Called from syncAttributes(). This implementation creates arrows only if the model is an open arc.

Overrides:
syncArrowsAttributes in class LeafElementView

http://www.jpicedt.org

Submit a bug : syd@jpicedt.org