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 | Public Attributes | List of all members
juce::ListBoxMouseMoveSelector Struct Referencefinal
Inheritance diagram for juce::ListBoxMouseMoveSelector:
juce::MouseListener

Public Member Functions

 ListBoxMouseMoveSelector (ListBox &lb)
 
void mouseMove (const MouseEvent &e) override
 Called when the mouse moves inside a component.
 
void mouseExit (const MouseEvent &e) override
 Called when the mouse moves out of a component.
 
- Public Member Functions inherited from juce::MouseListener
virtual ~MouseListener ()=default
 Destructor.
 
virtual void mouseEnter (const MouseEvent &event)
 Called when the mouse first enters a component.
 
virtual void mouseDown (const MouseEvent &event)
 Called when a mouse button is pressed.
 
virtual void mouseDrag (const MouseEvent &event)
 Called when the mouse is moved while a button is held down.
 
virtual void mouseUp (const MouseEvent &event)
 Called when a mouse button is released.
 
virtual void mouseDoubleClick (const MouseEvent &event)
 Called when a mouse button has been double-clicked on a component.
 
virtual void mouseWheelMove (const MouseEvent &event, const MouseWheelDetails &wheel)
 Called when the mouse-wheel is moved.
 
virtual void mouseMagnify (const MouseEvent &event, float scaleFactor)
 Called when a pinch-to-zoom mouse-gesture is used.
 

Public Attributes

ListBoxowner
 

Detailed Description

Definition at line 515 of file juce_ListBox.cpp.

Constructor & Destructor Documentation

◆ ListBoxMouseMoveSelector()

juce::ListBoxMouseMoveSelector::ListBoxMouseMoveSelector ( ListBox lb)

Definition at line 517 of file juce_ListBox.cpp.

◆ ~ListBoxMouseMoveSelector()

juce::ListBoxMouseMoveSelector::~ListBoxMouseMoveSelector ( )
override

Definition at line 522 of file juce_ListBox.cpp.

Member Function Documentation

◆ mouseExit()

void juce::ListBoxMouseMoveSelector::mouseExit ( const MouseEvent event)
overridevirtual

Called when the mouse moves out of a component.

This will be called when the mouse moves off the edge of this component.

If the mouse button was pressed, and it was then dragged off the edge of the component and released, then this callback will happen when the button is released, after the mouseUp callback.

Parameters
eventdetails about the position and status of the mouse event, including the source component in which it occurred
See also
mouseEnter, mouseDrag, mouseMove, contains

Reimplemented from juce::MouseListener.

Definition at line 533 of file juce_ListBox.cpp.

◆ mouseMove()

void juce::ListBoxMouseMoveSelector::mouseMove ( const MouseEvent event)
overridevirtual

Called when the mouse moves inside a component.

If the mouse button isn't pressed and the mouse moves over a component, this will be called to let the component react to this.

A component will always get a mouseEnter callback before a mouseMove.

Parameters
eventdetails about the position and status of the mouse event, including the source component in which it occurred
See also
mouseEnter, mouseExit, mouseDrag, contains

Reimplemented from juce::MouseListener.

Definition at line 527 of file juce_ListBox.cpp.

Member Data Documentation

◆ owner

ListBox& juce::ListBoxMouseMoveSelector::owner

Definition at line 538 of file juce_ListBox.cpp.


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