Simple GUI Library
Sgl::ActionListener< C > Class Template Referenceabstract
Inheritance diagram for Sgl::ActionListener< C >:
Collaboration diagram for Sgl::ActionListener< C >:

Public Member Functions

 ActionListener (C *component=nullptr)
 
virtual void onEvent (Sml::Event *event) override final
 
virtual void onAction (ActionEvent *event)=0
 
- Public Member Functions inherited from Sgl::ComponentEventListener< C >
 ComponentEventListener (C *component)
 
C * getComponent ()
 
void setComponent (C *component)
 

Detailed Description

template<typename C>
class Sgl::ActionListener< C >

Definition at line 205 of file gui_event.h.

Constructor & Destructor Documentation

◆ ActionListener()

template<typename C >
Sgl::ActionListener< C >::ActionListener ( C *  component = nullptr)
inline

Definition at line 211 of file gui_event.h.

Member Function Documentation

◆ onEvent()

template<typename C >
virtual void Sgl::ActionListener< C >::onEvent ( Sml::Event *  event)
inlinefinaloverridevirtual

Definition at line 213 of file gui_event.h.


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