Event for when a PlotButton is pressed. More...
#include <PlotEvent.h>
Public Member Functions | |
PlotButtonEvent (PlotButton *button) | |
Constructor which takes the originating button. | |
~PlotButtonEvent () | |
Destructor. | |
void * | origin () const |
Overrides PlotEvent::origin(). | |
PlotButton * | button () const |
Returns the button that was clicked. | |
Protected Attributes | |
PlotButton * | m_button |
Event for when a PlotButton is pressed.
Definition at line 318 of file PlotEvent.h.
casa::PlotButtonEvent::PlotButtonEvent | ( | PlotButton * | button | ) |
Constructor which takes the originating button.
casa::PlotButtonEvent::~PlotButtonEvent | ( | ) |
Destructor.
PlotButton* casa::PlotButtonEvent::button | ( | ) | const |
Returns the button that was clicked.
Referenced by origin().
void* casa::PlotButtonEvent::origin | ( | ) | const [inline, virtual] |
Overrides PlotEvent::origin().
Implements casa::PlotEvent.
Definition at line 327 of file PlotEvent.h.
References button().
PlotButton* casa::PlotButtonEvent::m_button [protected] |
Definition at line 333 of file PlotEvent.h.