JUCE
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines
Public Member Functions
ModalComponentManager::Callback Class Reference

Receives callbacks when a modal component is dismissed. More...

Inherited by ModalCallbackFunction::ComponentCaller1< ComponentType >, ModalCallbackFunction::ComponentCaller2< ComponentType, ParamType1 >, ModalCallbackFunction::FunctionCaller1< ParamType >, and ModalCallbackFunction::FunctionCaller2< ParamType1, ParamType2 >.

List of all members.

Public Member Functions

 Callback ()
virtual ~Callback ()
 Destructor.
virtual void modalStateFinished (int returnValue)=0
 Called to indicate that a modal component has been dismissed.

Detailed Description

Receives callbacks when a modal component is dismissed.

You can register a callback using Component::enterModalState() or ModalComponentManager::attachCallback().

For some quick ways of creating callback objects, see the ModalCallbackFunction class.

See also:
ModalCallbackFunction

Constructor & Destructor Documentation

Destructor.


Member Function Documentation

virtual void ModalComponentManager::Callback::modalStateFinished ( int  returnValue) [pure virtual]

Called to indicate that a modal component has been dismissed.

You can register a callback using Component::enterModalState() or ModalComponentManager::attachCallback().

The returnValue parameter is the value that was passed to Component::exitModalState() when the component was dismissed.

The callback object will be deleted shortly after this method is called.


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