http://www.jpicedt.org

jpicedt.format.output.eepic
Class EllipseView

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

public class EllipseView
extends EllipseView

view for ellipses specific to the Epic/Eepic content type.

Since:
jPicEdt 1.3.2
Version:
$Id: EllipseView.java,v 1.4 2013/03/27 07:10:35 vincentb1 Exp $
Author:
Sylvain Reynal

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, EepicViewFactory f)
          Construct a View for the given PicEllipse.
 
Method Summary
 void changedUpdate(DrawingEvent.EventType eventType)
          Give notification from the model that a change occured for an element this view is responsible for rendering.
protected  void syncAttributes()
          Inherits from superclass, except for elliptic arcs, which are never filled, as well as rotated ellipses.
 
Methods inherited from class jpicedt.graphic.view.EllipseView
syncArrowsAttributes
 
Methods inherited from class jpicedt.graphic.view.LeafElementView
hitTest, intersect, paint, syncArrowsGeometry, 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,
                   EepicViewFactory f)
Construct a View for the given PicEllipse.

Following rules apply for the Epic/Eepic content type :

Method Detail

changedUpdate

public void changedUpdate(DrawingEvent.EventType eventType)
Give notification from the model that a change occured for an element this view is responsible for rendering.

Specified by:
changedUpdate in interface View
Overrides:
changedUpdate in class LeafElementView

syncAttributes

protected void syncAttributes()
Inherits from superclass, except for elliptic arcs, which are never filled, as well as rotated ellipses. Conversely, circles, circular arcs and non-rotated ellipses are always filled.

Overrides:
syncAttributes in class LeafElementView

http://www.jpicedt.org

Submit a bug : syd@jpicedt.org