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

Event for when the user selects a region on a plot canvas with the mouse. More...

#include <PlotEvent.h>

Inheritance diagram for casa::PlotSelectEvent:
casa::PlotEvent

Public Member Functions

 PlotSelectEvent (PlotCanvas *canvas, const PlotRegion &region)
 Constructor that takes the originating canvas and the selected region. More...
 
 ~PlotSelectEvent ()
 Destructor. More...
 
void * origin () const
 Overrides PlotEvent::origin(). More...
 
PlotCanvascanvas () const
 Returns the canvas upon which the selection was made. More...
 
PlotRegion region () const
 Returns the region that was selected. More...
 
- Public Member Functions inherited from casa::PlotEvent
 PlotEvent ()
 
virtual ~PlotEvent ()
 

Protected Attributes

PlotCanvasm_canvas
 
PlotRegion m_region
 

Detailed Description

Event for when the user selects a region on a plot canvas with the mouse.

Definition at line 53 of file PlotEvent.h.

Constructor & Destructor Documentation

casa::PlotSelectEvent::PlotSelectEvent ( PlotCanvas canvas,
const PlotRegion region 
)

Constructor that takes the originating canvas and the selected region.

casa::PlotSelectEvent::~PlotSelectEvent ( )

Destructor.

Member Function Documentation

PlotCanvas* casa::PlotSelectEvent::canvas ( ) const

Returns the canvas upon which the selection was made.

Referenced by origin().

void* casa::PlotSelectEvent::origin ( ) const
inlinevirtual

Overrides PlotEvent::origin().

Implements casa::PlotEvent.

Definition at line 62 of file PlotEvent.h.

References canvas().

PlotRegion casa::PlotSelectEvent::region ( ) const

Returns the region that was selected.

Member Data Documentation

PlotCanvas* casa::PlotSelectEvent::m_canvas
protected

Definition at line 71 of file PlotEvent.h.

PlotRegion casa::PlotSelectEvent::m_region
protected

Definition at line 72 of file PlotEvent.h.


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