|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Manipulator
A Manipulator is a class which presents a user interface in a ViewerCanvas. It is
typically used by an EditingTool.
| Method Summary | |
|---|---|
void |
draw(ViewerCanvas view,
BoundingBox selectionBounds)
Draw the manipulator's user interface into the canvas. |
void |
mouseDragged(buoy.event.WidgetMouseEvent ev,
ViewerCanvas view)
Respond to mouse drags in the canvas. |
boolean |
mousePressed(buoy.event.WidgetMouseEvent ev,
ViewerCanvas view,
BoundingBox selectionBounds)
Respond to mouse presses in the canvas. |
void |
mouseReleased(buoy.event.WidgetMouseEvent ev,
ViewerCanvas view)
Respond to mouse releases in the canvas. |
| Method Detail |
|---|
void draw(ViewerCanvas view,
BoundingBox selectionBounds)
view - the canvas this manipulator is displayed inselectionBounds - a bounding box containing everything that is selected in the canvas
boolean mousePressed(buoy.event.WidgetMouseEvent ev,
ViewerCanvas view,
BoundingBox selectionBounds)
ev - the event which has occurredview - the canvas this manipulator is displayed inselectionBounds - a bounding box containing everything that is selected in the canvas
void mouseDragged(buoy.event.WidgetMouseEvent ev,
ViewerCanvas view)
ev - the event which has occurredview - the canvas this manipulator is displayed in
void mouseReleased(buoy.event.WidgetMouseEvent ev,
ViewerCanvas view)
ev - the event which has occurredview - the canvas this manipulator is displayed in
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||