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

Event for when a PlotButton is pressed. More...

#include <PlotEvent.h>

Inheritance diagram for casa::PlotButtonEvent:
casa::PlotEvent

Public Member Functions

 PlotButtonEvent (PlotButton *button)
 Constructor which takes the originating button. More...
 
 ~PlotButtonEvent ()
 Destructor. More...
 
void * origin () const
 Overrides PlotEvent::origin(). More...
 
PlotButtonbutton () const
 Returns the button that was clicked. More...
 
- Public Member Functions inherited from casa::PlotEvent
 PlotEvent ()
 
virtual ~PlotEvent ()
 

Protected Attributes

PlotButtonm_button
 

Detailed Description

Event for when a PlotButton is pressed.

Definition at line 318 of file PlotEvent.h.

Constructor & Destructor Documentation

casa::PlotButtonEvent::PlotButtonEvent ( PlotButton button)

Constructor which takes the originating button.

casa::PlotButtonEvent::~PlotButtonEvent ( )

Destructor.

Member Function Documentation

PlotButton* casa::PlotButtonEvent::button ( ) const

Returns the button that was clicked.

Referenced by origin().

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

Overrides PlotEvent::origin().

Implements casa::PlotEvent.

Definition at line 327 of file PlotEvent.h.

References button().

Member Data Documentation

PlotButton* casa::PlotButtonEvent::m_button
protected

Definition at line 333 of file PlotEvent.h.


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