LMMS
Loading...
Searching...
No Matches
juce::LabelKeyboardFocusTraverser Class Reference
Inheritance diagram for juce::LabelKeyboardFocusTraverser:
juce::KeyboardFocusTraverser juce::ComponentTraverser

Public Member Functions

 LabelKeyboardFocusTraverser (Label &l)
ComponentgetDefaultComponent (Component *parent) override
ComponentgetNextComponent (Component *c) override
ComponentgetPreviousComponent (Component *c) override
std::vector< Component * > getAllComponents (Component *parent) override
Public Member Functions inherited from juce::KeyboardFocusTraverser
 ~KeyboardFocusTraverser () override=default
Public Member Functions inherited from juce::ComponentTraverser
virtual ~ComponentTraverser ()=default

Private Member Functions

ComponentgetComp (Component *current) const
ComponentgetKeyboardFocusContainer (Component *parent) const

Private Attributes

Labelowner

Constructor & Destructor Documentation

◆ LabelKeyboardFocusTraverser()

juce::LabelKeyboardFocusTraverser::LabelKeyboardFocusTraverser ( Label & l)
inlineexplicit

Member Function Documentation

◆ getAllComponents()

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

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.

◆ getComp()

Component * juce::LabelKeyboardFocusTraverser::getComp ( Component * current) const
inlineprivate

◆ getDefaultComponent()

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

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.

◆ getKeyboardFocusContainer()

Component * juce::LabelKeyboardFocusTraverser::getKeyboardFocusContainer ( Component * parent) const
inlineprivate

◆ getNextComponent()

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

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.

◆ getPreviousComponent()

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

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.

Member Data Documentation

◆ owner

Label& juce::LabelKeyboardFocusTraverser::owner
private

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