Package jpicedt.graphic.view
Class DefaultViewFactory.ParallelogramView
- java.lang.Object
-
- jpicedt.graphic.view.AbstractView
-
- jpicedt.graphic.view.DefaultViewFactory.LeafElementView
-
- jpicedt.graphic.view.DefaultViewFactory.ParallelogramView
-
- All Implemented Interfaces:
View,ViewConstants
- Direct Known Subclasses:
LatexViewFactory.ParallelogramView
- Enclosing class:
- DefaultViewFactory
public class DefaultViewFactory.ParallelogramView extends DefaultViewFactory.LeafElementView
a View for rendering parallelograms
-
-
Field Summary
-
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 ParallelogramView(PicParallelogram para)construct a new View for the given PicParallelogram
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidsyncShape()Synchronize the "shape" variable with the model-
Methods inherited from class jpicedt.graphic.view.DefaultViewFactory.LeafElementView
changedUpdate, getViewFactory, hitTest, paint, syncAttributes, syncBounds
-
Methods inherited from class jpicedt.graphic.view.AbstractView
getBounds, getContainer, getDrawing, getElement, getGraphics, getHighlighter, getParentView, hitTest, paintHighlighter, repaint, setElement, setHighlighter
-
-
-
-
Constructor Detail
-
ParallelogramView
public ParallelogramView(PicParallelogram para)
construct a new View for the given PicParallelogram
-
-
Method Detail
-
syncShape
protected void syncShape()
Synchronize the "shape" variable with the model- Overrides:
syncShapein classDefaultViewFactory.LeafElementView
-
-