casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Protected Attributes
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

List of all members.

Public Member Functions

 PlotSelectEvent (PlotCanvas *canvas, const PlotRegion &region)
 Constructor that takes the originating canvas and the selected region.
 ~PlotSelectEvent ()
 Destructor.
void * origin () const
 Overrides PlotEvent::origin().
PlotCanvascanvas () const
 Returns the canvas upon which the selection was made.
PlotRegion region () const
 Returns the region that was selected.

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

Destructor.


Member Function Documentation

Returns the canvas upon which the selection was made.

Referenced by origin().

void* casa::PlotSelectEvent::origin ( ) const [inline, virtual]

Overrides PlotEvent::origin().

Implements casa::PlotEvent.

Definition at line 64 of file PlotEvent.h.

References canvas().

Returns the region that was selected.


Member Data Documentation

Definition at line 73 of file PlotEvent.h.

Definition at line 74 of file PlotEvent.h.


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