|
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 |
Public Member Functions | |
| ModalItem (Component *comp, bool shouldAutoDelete) | |
| void | componentMovedOrResized (bool, bool) override |
| This callback happens when the component that is being watched is moved relative to its top-level peer window, or when it is resized. | |
| void | componentPeerChanged () override |
| This callback happens when the component's top-level peer is changed. | |
| void | componentVisibilityChanged () override |
| This callback happens when the component's visibility state changes, possibly due to one of its parents being made visible or invisible. | |
| void | componentBeingDeleted (Component &comp) override |
| Called when the component is in the process of being deleted. | |
| void | cancel () |
| virtual void | componentMovedOrResized (bool wasMoved, bool wasResized)=0 |
| This callback happens when the component that is being watched is moved relative to its top-level peer window, or when it is resized. | |
| void | componentMovedOrResized (Component &, bool wasMoved, bool wasResized) override |
| Called when the component's position or size changes. | |
| virtual void | componentVisibilityChanged ()=0 |
| This callback happens when the component's visibility state changes, possibly due to one of its parents being made visible or invisible. | |
| void | componentVisibilityChanged (Component &) override |
| Called when the component is made visible or invisible. | |
Public Member Functions inherited from juce::ComponentMovementWatcher | |
| ComponentMovementWatcher (Component *componentToWatch) | |
| Creates a ComponentMovementWatcher to watch a given target component. | |
| ~ComponentMovementWatcher () override | |
| Destructor. | |
| Component * | getComponent () const noexcept |
| Returns the component that's being watched. | |
| void | componentParentHierarchyChanged (Component &) override |
| Called to indicate that the component's parents have changed. | |
Public Member Functions inherited from juce::ComponentListener | |
| virtual | ~ComponentListener ()=default |
| Destructor. | |
| virtual void | componentBroughtToFront (Component &component) |
| Called when the component is brought to the top of the z-order. | |
| virtual void | componentChildrenChanged (Component &component) |
| Called when the component has children added or removed, or their z-order changes. | |
| virtual void | componentNameChanged (Component &component) |
| Called when the component's name is changed. | |
| virtual void | componentEnablementChanged (Component &component) |
Public Attributes | |
| Component * | component |
| OwnedArray< Callback > | callbacks |
| int | returnValue |
| bool | isActive |
| bool | autoDelete |
Definition at line 29 of file juce_ModalComponentManager.cpp.
Definition at line 31 of file juce_ModalComponentManager.cpp.
|
override |
Definition at line 38 of file juce_ModalComponentManager.cpp.
| void juce::ModalComponentManager::ModalItem::cancel | ( | ) |
Definition at line 72 of file juce_ModalComponentManager.cpp.
|
overridevirtual |
Called when the component is in the process of being deleted.
This callback is made from inside the destructor, so be very, very cautious about what you do in here.
In particular, bear in mind that it's the Component base class's destructor that calls this - so if the object that's being deleted is a subclass of Component, then the subclass layers of the object will already have been destructed when it gets to this point!
| component | the component that was deleted |
Reimplemented from juce::ComponentMovementWatcher.
Definition at line 61 of file juce_ModalComponentManager.cpp.
|
virtual |
This callback happens when the component that is being watched is moved relative to its top-level peer window, or when it is resized.
Implements juce::ComponentMovementWatcher.
|
overridevirtual |
This callback happens when the component that is being watched is moved relative to its top-level peer window, or when it is resized.
Implements juce::ComponentMovementWatcher.
Definition at line 44 of file juce_ModalComponentManager.cpp.
|
overridevirtual |
Called when the component's position or size changes.
| component | the component that was moved or resized |
| wasMoved | true if the component's top-left corner has just moved |
| wasResized | true if the component's width or height has just changed |
Reimplemented from juce::ComponentMovementWatcher.
Definition at line 76 of file juce_ComponentMovementWatcher.cpp.
|
overridevirtual |
This callback happens when the component's top-level peer is changed.
Implements juce::ComponentMovementWatcher.
Definition at line 48 of file juce_ModalComponentManager.cpp.
|
overridevirtual |
This callback happens when the component's visibility state changes, possibly due to one of its parents being made visible or invisible.
Implements juce::ComponentMovementWatcher.
Definition at line 53 of file juce_ModalComponentManager.cpp.
This callback happens when the component's visibility state changes, possibly due to one of its parents being made visible or invisible.
Implements juce::ComponentMovementWatcher.
|
overridevirtual |
Called when the component is made visible or invisible.
| component | the component that changed |
Reimplemented from juce::ComponentMovementWatcher.
Definition at line 80 of file juce_ComponentMovementWatcher.cpp.
| bool juce::ModalComponentManager::ModalItem::autoDelete |
Definition at line 86 of file juce_ModalComponentManager.cpp.
| OwnedArray<Callback> juce::ModalComponentManager::ModalItem::callbacks |
Definition at line 84 of file juce_ModalComponentManager.cpp.
| Component* juce::ModalComponentManager::ModalItem::component |
Definition at line 83 of file juce_ModalComponentManager.cpp.
| bool juce::ModalComponentManager::ModalItem::isActive |
Definition at line 86 of file juce_ModalComponentManager.cpp.
| int juce::ModalComponentManager::ModalItem::returnValue |
Definition at line 85 of file juce_ModalComponentManager.cpp.