JUCE  v5.1.1-3-g1a0b28c73
JUCE API
MarkerList::Listener Class Referenceabstract

A class for receiving events when changes are made to a MarkerList. More...

#include <juce_MarkerList.h>

Inheritance diagram for MarkerList::Listener:

Public Member Functions

virtual ~Listener ()
 Destructor. More...
 
virtual void markerListBeingDeleted (MarkerList *markerList)
 Called when the given marker list is being deleted. More...
 
virtual void markersChanged (MarkerList *markerList)=0
 Called when something in the given marker list changes. More...
 

Detailed Description

A class for receiving events when changes are made to a MarkerList.

You can register a MarkerList::Listener with a MarkerList using the MarkerList::addListener() method, and it will be called when markers are moved, added, or deleted.

See also
MarkerList::addListener, MarkerList::removeListener

Constructor & Destructor Documentation

◆ ~Listener()

virtual MarkerList::Listener::~Listener ( )
inlinevirtual

Destructor.

Member Function Documentation

◆ markerListBeingDeleted()

virtual void MarkerList::Listener::markerListBeingDeleted ( MarkerList markerList)
virtual

Called when the given marker list is being deleted.

Reimplemented in RelativeCoordinatePositionerBase.

◆ markersChanged()

virtual void MarkerList::Listener::markersChanged ( MarkerList markerList)
pure virtual

Called when something in the given marker list changes.

Implemented in RelativeCoordinatePositionerBase.


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