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 | List of all members
juce::RelativeRectangleComponentPositioner Class Referencefinal
Inheritance diagram for juce::RelativeRectangleComponentPositioner:
juce::RelativeCoordinatePositionerBase juce::Component::Positioner juce::ComponentListener juce::MarkerList::Listener

Public Member Functions

 RelativeRectangleComponentPositioner (Component &comp, const RelativeRectangle &r)
 
bool registerCoordinates () override
 
bool isUsingRectangle (const RelativeRectangle &other) const noexcept
 
void applyToComponentBounds () override
 
void applyNewBounds (const Rectangle< int > &newBounds) override
 Attempts to set the component's position to the given rectangle.
 
- Public Member Functions inherited from juce::RelativeCoordinatePositionerBase
 RelativeCoordinatePositionerBase (Component &)
 
void componentMovedOrResized (Component &, bool, bool) override
 Called when the component's position or size changes.
 
void componentParentHierarchyChanged (Component &) override
 Called to indicate that the component's parents have changed.
 
void componentChildrenChanged (Component &) override
 Called when the component has children added or removed, or their z-order changes.
 
void componentBeingDeleted (Component &) override
 Called when the component is in the process of being deleted.
 
void markersChanged (MarkerList *) override
 Called when something in the given marker list changes.
 
void markerListBeingDeleted (MarkerList *) override
 Called when the given marker list is being deleted.
 
void apply ()
 
bool addCoordinate (const RelativeCoordinate &)
 
bool addPoint (const RelativePoint &)
 
- Public Member Functions inherited from juce::Component::Positioner
 Positioner (Component &component) noexcept
 Creates a Positioner which can control the specified component.
 
virtual ~Positioner ()=default
 Destructor.
 
ComponentgetComponent () const noexcept
 Returns the component that this positioner controls.
 
- 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 componentVisibilityChanged (Component &component)
 Called when the component is made visible or invisible.
 
virtual void componentNameChanged (Component &component)
 Called when the component's name is changed.
 
virtual void componentEnablementChanged (Component &component)
 
- Public Member Functions inherited from juce::MarkerList::Listener
virtual ~Listener ()=default
 Destructor.
 

Additional Inherited Members

Detailed Description

Definition at line 200 of file juce_RelativeRectangle.cpp.

Constructor & Destructor Documentation

◆ RelativeRectangleComponentPositioner()

juce::RelativeRectangleComponentPositioner::RelativeRectangleComponentPositioner ( Component comp,
const RelativeRectangle r 
)

Definition at line 203 of file juce_RelativeRectangle.cpp.

Member Function Documentation

◆ applyNewBounds()

void juce::RelativeRectangleComponentPositioner::applyNewBounds ( const Rectangle< int > &  newBounds)
overridevirtual

Attempts to set the component's position to the given rectangle.

Unlike simply calling Component::setBounds(), this may involve the positioner being smart enough to adjust itself to fit the new bounds.

Implements juce::Component::Positioner.

Definition at line 239 of file juce_RelativeRectangle.cpp.

◆ applyToComponentBounds()

void juce::RelativeRectangleComponentPositioner::applyToComponentBounds ( )
overridevirtual

◆ isUsingRectangle()

bool juce::RelativeRectangleComponentPositioner::isUsingRectangle ( const RelativeRectangle other) const
noexcept

Definition at line 218 of file juce_RelativeRectangle.cpp.

◆ registerCoordinates()

bool juce::RelativeRectangleComponentPositioner::registerCoordinates ( )
overridevirtual

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