JUCE  v5.4.1-191-g0ab5e696f
JUCE API
Looking for a senior C++ dev?
I'm looking for work. Hire me!
juce::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...

#include <juce_Desktop.h>

Inheritance diagram for juce::FocusChangeListener:

Public Member Functions

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

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

{GUI}

Constructor & Destructor Documentation

◆ ~FocusChangeListener()

virtual juce::FocusChangeListener::~FocusChangeListener ( )
inlinevirtual

Destructor.

Member Function Documentation

◆ globalFocusChanged()

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

Callback to indicate that the currently focused component has changed.

Implemented in juce::ApplicationCommandManager, and juce::KeyPressMappingSet.


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