casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
casa::PlotMouseDragEvent Class Reference

Convenience class for mouse drags. More...

#include <PlotEvent.h>

Inheritance diagram for casa::PlotMouseDragEvent:
casa::PlotMouseEvent casa::PlotEvent

Public Member Functions

 PlotMouseDragEvent (PlotCanvas *canvas, Button button, const PlotCoordinate &coord)
 
 ~PlotMouseDragEvent ()
 
- 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...
 
PlotCanvascanvas () 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
PlotCanvasm_canvas
 
Type m_type
 
Button m_button
 
PlotCoordinate m_coord
 

Detailed Description

Convenience class for mouse drags.

Definition at line 159 of file PlotEvent.h.

Constructor & Destructor Documentation

casa::PlotMouseDragEvent::PlotMouseDragEvent ( PlotCanvas canvas,
Button  button,
const PlotCoordinate &  coord 
)
inline

Definition at line 161 of file PlotEvent.h.

casa::PlotMouseDragEvent::~PlotMouseDragEvent ( )
inline

Definition at line 165 of file PlotEvent.h.


The documentation for this class was generated from the following file: