Simple GUI Library
Sgl::FocusListener< C > Class Template Reference
Inheritance diagram for Sgl::FocusListener< C >:
Collaboration diagram for Sgl::FocusListener< C >:

Public Member Functions

 DEFINE_STATIC_LISTENED_EVENT_TYPES (FocusReceivedEvent::getStaticType(), FocusLostEvent::getStaticType()) public
 
virtual void onEvent (Sml::Event *event) override final
 
virtual void onFocusReceived (FocusReceivedEvent *event)
 
virtual void onFocusLost (FocusLostEvent *event)
 
- Public Member Functions inherited from Sgl::ComponentEventListener< C >
 ComponentEventListener (C *component)
 
C * getComponent ()
 
void setComponent (C *component)
 

Detailed Description

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

Definition at line 157 of file gui_event.h.

Member Function Documentation

◆ DEFINE_STATIC_LISTENED_EVENT_TYPES()

template<typename C >
Sgl::FocusListener< C >::DEFINE_STATIC_LISTENED_EVENT_TYPES ( FocusReceivedEvent::getStaticType()  ,
FocusLostEvent::getStaticType()   
)
inline

Definition at line 160 of file gui_event.h.

◆ onEvent()

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

Definition at line 165 of file gui_event.h.

◆ onFocusLost()

template<typename C >
virtual void Sgl::FocusListener< C >::onFocusLost ( FocusLostEvent event)
inlinevirtual

Definition at line 191 of file gui_event.h.

◆ onFocusReceived()

template<typename C >
virtual void Sgl::FocusListener< C >::onFocusReceived ( FocusReceivedEvent event)
inlinevirtual

Definition at line 190 of file gui_event.h.


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