110 void clearCommands();
130 void removeCommand (
CommandID commandID);
142 void commandStatusChanged();
210 bool invokeDirectly (
CommandID commandID,
bool asynchronously);
228 bool asynchronously);
311 void handleAsyncUpdate()
override;
312 void globalFocusChanged (
Component*)
override;
A listener that receives callbacks from an ApplicationCommandManager when commands are invoked or the...
virtual void applicationCommandInvoked(const ApplicationCommandTarget::InvocationInfo &)=0
Called when an app command is about to be invoked.
virtual void applicationCommandListChanged()=0
Called when commands are registered or deregistered from the command manager, or when commands are ma...
virtual ~ApplicationCommandManagerListener()=default
Destructor.
One of these objects holds a list of all the commands your app can perform, and despatches these comm...
int getNumCommands() const noexcept
Returns the number of commands that have been registered.
const ApplicationCommandInfo * getCommandForIndex(int index) const noexcept
Returns the details about one of the registered commands.
KeyPressMappingSet * getKeyMappings() const noexcept
Returns the manager's internal set of key mappings.
A command target publishes a list of command IDs that it can perform.
Holds a resizable array of primitive or copy-by-value objects.
Has a callback method that is triggered asynchronously.
The base class for all JUCE user-interface objects.
Classes can implement this interface and register themselves with the Desktop class to receive callba...
Manages and edits a list of keypresses, which it uses to invoke the appropriate command in an Applica...
Holds a set of objects and can invoke a member function callback on each object in the set with a sin...
An array designed for holding objects.
A special array for holding a list of strings.
int CommandID
A type used to hold the unique ID for an application command.
Holds information describing an application command.
Contains contextual details about the invocation of a command.