public class CompositeView extends AbstractView
bounds, element, highlighter
BARBELL_SIZE, CLICK_DISTANCE
Constructor and Description |
---|
CompositeView(BranchElement e)
construct a new View for the given PicGroup
|
Modifier and Type | Method and Description |
---|---|
void |
changedUpdate(DrawingEvent.EventType eventType)
Give notification from the model that a change occured for an element this view is responsible
for rendering.
|
HitInfo |
hitTest(PEMouseEvent e)
Returns a HitInfo corresponding to the given mouse-event.
|
void |
paint(java.awt.Graphics2D g,
java.awt.geom.Rectangle2D a)
Render the View for the graphic element to the given graphic context.
|
getBounds, getContainer, getDrawing, getElement, getGraphics, getHighlighter, getParentView, getViewFactory, hitTest, paintHighlighter, repaint, setElement, setHighlighter
public CompositeView(BranchElement e)
public void changedUpdate(DrawingEvent.EventType eventType)
public void paint(java.awt.Graphics2D g, java.awt.geom.Rectangle2D a)
allocation
- the current graphic clippublic HitInfo hitTest(PEMouseEvent e)
AbstractView
hitTest
in class AbstractView
Submit a bug : syd@jpicedt.org