LMMS
Loading...
Searching...
No Matches
juce::RelativeRectangleComponentPositioner Class Reference
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
Public Member Functions inherited from juce::RelativeCoordinatePositionerBase
 RelativeCoordinatePositionerBase (Component &)
 ~RelativeCoordinatePositionerBase () override
void componentMovedOrResized (Component &, bool, bool) override
void componentParentHierarchyChanged (Component &) override
void componentChildrenChanged (Component &) override
void componentBeingDeleted (Component &) override
void markersChanged (MarkerList *) override
void markerListBeingDeleted (MarkerList *) override
void apply ()
bool addCoordinate (const RelativeCoordinate &)
bool addPoint (const RelativePoint &)
Public Member Functions inherited from juce::Component::Positioner
 Positioner (Component &component) noexcept
virtual ~Positioner ()=default
ComponentgetComponent () const noexcept
Public Member Functions inherited from juce::ComponentListener
virtual ~ComponentListener ()=default
virtual void componentBroughtToFront (Component &component)
virtual void componentVisibilityChanged (Component &component)
virtual void componentNameChanged (Component &component)
virtual void componentEnablementChanged (Component &component)
Public Member Functions inherited from juce::MarkerList::Listener
virtual ~Listener ()=default

Private Attributes

RelativeRectangle rectangle

Constructor & Destructor Documentation

◆ RelativeRectangleComponentPositioner()

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

Member Function Documentation

◆ applyNewBounds()

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

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.

◆ applyToComponentBounds()

void juce::RelativeRectangleComponentPositioner::applyToComponentBounds ( )
inlineoverridevirtual

◆ isUsingRectangle()

bool juce::RelativeRectangleComponentPositioner::isUsingRectangle ( const RelativeRectangle & other) const
inlinenoexcept

◆ registerCoordinates()

bool juce::RelativeRectangleComponentPositioner::registerCoordinates ( )
inlineoverridevirtual

Member Data Documentation

◆ rectangle

RelativeRectangle juce::RelativeRectangleComponentPositioner::rectangle
private

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