casa
5.7.0-16
|
Convenience class for mouse clicks. More...
#include <PlotEvent.h>
Public Member Functions | |
PlotClickEvent (PlotCanvas *canvas, Button button, const PlotCoordinate &coord) | |
~PlotClickEvent () | |
Public Member Functions inherited from casa::PlotMouseEvent | |
PlotMouseEvent (PlotCanvas *canvas, Type type, Button button, const PlotCoordinate &coord) | |
Constructor which takes the originating canvas, type, button, and location. More... | |
virtual | ~PlotMouseEvent () |
Destructor. More... | |
void * | origin () const |
Overrides PlotEvent::origin(). More... | |
PlotCanvas * | canvas () const |
Canvas origin of event. More... | |
Type | type () const |
Type of event. More... | |
Button | button () const |
Button of event. More... | |
PlotCoordinate | where () const |
Location of event. More... | |
Public Member Functions inherited from casa::PlotEvent | |
PlotEvent () | |
virtual | ~PlotEvent () |
Additional Inherited Members | |
Public Types inherited from casa::PlotMouseEvent | |
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... | |
Protected Attributes inherited from casa::PlotMouseEvent | |
PlotCanvas * | m_canvas |
Type | m_type |
Button | m_button |
PlotCoordinate | m_coord |
Convenience class for mouse clicks.
Definition at line 129 of file PlotEvent.h.
|
inline |
Definition at line 131 of file PlotEvent.h.
|
inline |
Definition at line 135 of file PlotEvent.h.