66 text, justification, *
this);
75 return std::make_unique<AccessibilityHandler> (*
this, AccessibilityRole::group);
The base class for all JUCE user-interface objects.
void setInterceptsMouseClicks(bool allowClicksOnThisComponent, bool allowClicksOnChildComponents) noexcept
Changes the default return value for the hitTest() method.
int getHeight() const noexcept
Returns the component's height in pixels.
void repaint()
Marks the whole component as needing to be redrawn.
int getWidth() const noexcept
Returns the component's width in pixels.
LookAndFeel & getLookAndFeel() const noexcept
Finds the appropriate look-and-feel to use for this component.
A graphics context, used for drawing a component or image.
void setTextLabelPosition(Justification justification)
Sets the positioning of the text label.
String getText() const
Returns the currently displayed text label.
~GroupComponent() override
Destructor.
std::unique_ptr< AccessibilityHandler > createAccessibilityHandler() override
Override this method to return a custom AccessibilityHandler for this component.
void setText(const String &newText)
Changes the text that's shown at the top of the component.
void paint(Graphics &) override
Components can override this method to draw their content.
void enablementChanged() override
Callback to indicate that this component has been enabled or disabled.
void colourChanged() override
This method is called when a colour is changed by the setColour() method, or when the look-and-feel i...
GroupComponent(const String &componentName={}, const String &labelText={})
Creates a GroupComponent.
Represents a type of justification to be used when positioning graphical items.
Type unalignedPointerCast(void *ptr) noexcept
Casts a pointer to another type via void*, which suppresses the cast-align warning which sometimes ar...