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::PlotClickEvent Class Reference

Convenience class for mouse clicks. More...

#include <PlotEvent.h>

Inheritance diagram for casa::PlotClickEvent:
casa::PlotMouseEvent casa::PlotEvent

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...
 
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 clicks.

Definition at line 129 of file PlotEvent.h.

Constructor & Destructor Documentation

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

Definition at line 131 of file PlotEvent.h.

casa::PlotClickEvent::~PlotClickEvent ( )
inline

Definition at line 135 of file PlotEvent.h.


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