JUCE-7.0.12-0-g4f43011b96 JUCE-7.0.12-0-g4f43011b96
JUCE — C++ application framework with suport for VST, VST3, LV2 audio plug-ins

« « « Anklang Documentation
Loading...
Searching...
No Matches
Public Member Functions | List of all members
juce::LabelKeyboardFocusTraverser Class Referencefinal
Inheritance diagram for juce::LabelKeyboardFocusTraverser:
juce::KeyboardFocusTraverser juce::ComponentTraverser

Public Member Functions

 LabelKeyboardFocusTraverser (Label &l)
 
ComponentgetDefaultComponent (Component *parent) override
 Returns the component that should receive keyboard focus by default within the given parent component.
 
ComponentgetNextComponent (Component *c) override
 Returns the component that should be given keyboard focus after the specified one when moving "forwards".
 
ComponentgetPreviousComponent (Component *c) override
 Returns the component that should be given keyboard focus after the specified one when moving "backwards".
 
std::vector< Component * > getAllComponents (Component *parent) override
 Returns all of the components that can receive keyboard focus within the given parent component in traversal order.
 
- Public Member Functions inherited from juce::KeyboardFocusTraverser
 ~KeyboardFocusTraverser () override=default
 Destructor.
 
- Public Member Functions inherited from juce::ComponentTraverser
virtual ~ComponentTraverser ()=default
 Destructor.
 

Detailed Description

Definition at line 400 of file juce_Label.cpp.

Constructor & Destructor Documentation

◆ LabelKeyboardFocusTraverser()

juce::LabelKeyboardFocusTraverser::LabelKeyboardFocusTraverser ( Label l)
explicit

Definition at line 403 of file juce_Label.cpp.

Member Function Documentation

◆ getAllComponents()

std::vector< Component * > juce::LabelKeyboardFocusTraverser::getAllComponents ( Component parentComponent)
overridevirtual

Returns all of the components that can receive keyboard focus within the given parent component in traversal order.

The default implementation will return all focusable child components (as determined by FocusTraverser) that also wants keyboard focus.

Reimplemented from juce::KeyboardFocusTraverser.

Definition at line 416 of file juce_Label.cpp.

◆ getDefaultComponent()

Component * juce::LabelKeyboardFocusTraverser::getDefaultComponent ( Component parentComponent)
overridevirtual

Returns the component that should receive keyboard focus by default within the given parent component.

The default implementation will return the foremost focusable component (as determined by FocusTraverser) that also wants keyboard focus, or nullptr if there is no suitable component.

Reimplemented from juce::KeyboardFocusTraverser.

Definition at line 405 of file juce_Label.cpp.

◆ getNextComponent()

Component * juce::LabelKeyboardFocusTraverser::getNextComponent ( Component current)
overridevirtual

Returns the component that should be given keyboard focus after the specified one when moving "forwards".

The default implementation will return the next focusable component (as determined by FocusTraverser) that also wants keyboard focus, or nullptr if there is no suitable component.

Reimplemented from juce::KeyboardFocusTraverser.

Definition at line 413 of file juce_Label.cpp.

◆ getPreviousComponent()

Component * juce::LabelKeyboardFocusTraverser::getPreviousComponent ( Component current)
overridevirtual

Returns the component that should be given keyboard focus after the specified one when moving "backwards".

The default implementation will return the previous focusable component (as determined by FocusTraverser) that also wants keyboard focus, or nullptr if there is no suitable component.

Reimplemented from juce::KeyboardFocusTraverser.

Definition at line 414 of file juce_Label.cpp.


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