#include <PlotEvent.h>
Inheritance diagram for casa::PlotMouseEvent:


Definition at line 80 of file PlotEvent.h.
Public Types | |
| enum | Type { CLICK, PRESS, RELEASE, DRAG, MOVE } |
| Mouse event types. More... | |
| enum | Button { SINGLE, DOUBLE, CONTEXT, MIDDLE } |
| Mouse button types that we care about. More... | |
Public Member Functions | |
| PlotMouseEvent (PlotCanvas *canvas, Type type, Button button, const PlotCoordinate &coord) | |
| Constructor which takes the originating canvas, type, button, and location. | |
| virtual | ~PlotMouseEvent () |
| Destructor. | |
| void * | origin () const |
| Overrides PlotEvent::origin(). | |
| PlotCanvas * | canvas () const |
| Canvas origin of event. | |
| Type | type () const |
| Type of event. | |
| Button | button () const |
| Button of event. | |
| PlotCoordinate | where () const |
| Location of event. | |
Protected Attributes | |
| PlotCanvas * | m_canvas |
| Type | m_type |
| Button | m_button |
| PlotCoordinate | m_coord |
| casa::PlotMouseEvent::PlotMouseEvent | ( | PlotCanvas * | canvas, | |
| Type | type, | |||
| Button | button, | |||
| const PlotCoordinate & | coord | |||
| ) |
Constructor which takes the originating canvas, type, button, and location.
| virtual casa::PlotMouseEvent::~PlotMouseEvent | ( | ) | [virtual] |
Destructor.
| void* casa::PlotMouseEvent::origin | ( | ) | const [inline, virtual] |
Overrides PlotEvent::origin().
Implements casa::PlotEvent.
Definition at line 108 of file PlotEvent.h.
References canvas().
| PlotCanvas* casa::PlotMouseEvent::canvas | ( | ) | const |
| Type casa::PlotMouseEvent::type | ( | ) | const |
Type of event.
| Button casa::PlotMouseEvent::button | ( | ) | const |
Button of event.
| PlotCoordinate casa::PlotMouseEvent::where | ( | ) | const |
Location of event.
PlotCanvas* casa::PlotMouseEvent::m_canvas [protected] |
Definition at line 123 of file PlotEvent.h.
Type casa::PlotMouseEvent::m_type [protected] |
Definition at line 124 of file PlotEvent.h.
Button casa::PlotMouseEvent::m_button [protected] |
Definition at line 125 of file PlotEvent.h.
PlotCoordinate casa::PlotMouseEvent::m_coord [protected] |
Definition at line 126 of file PlotEvent.h.
1.5.1