JUCE
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Public Member Functions | List of all members
FocusChangeListener Class Referenceabstract

Classes can implement this interface and register themselves with the Desktop class to receive callbacks when the currently focused component changes. More...

Inherited by ApplicationCommandManager [private], and KeyPressMappingSet [private].

Public Member Functions

virtual ~FocusChangeListener ()
 Destructor.
 
virtual void globalFocusChanged (Component *focusedComponent)=0
 Callback to indicate that the currently focused component has changed.
 

Detailed Description

Classes can implement this interface and register themselves with the Desktop class to receive callbacks when the currently focused component changes.

See Also
Desktop::addFocusChangeListener, Desktop::removeFocusChangeListener

Constructor & Destructor Documentation

virtual FocusChangeListener::~FocusChangeListener ( )
virtual

Destructor.

Member Function Documentation

virtual void FocusChangeListener::globalFocusChanged ( Component focusedComponent)
pure virtual

Callback to indicate that the currently focused component has changed.

Implemented in KeyPressMappingSet.


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