38 enum class Keyword { autoValue };
44 explicit Span (
int numberToUse) noexcept : number (numberToUse)
50 explicit Span (
int numberToUse,
const String& nameToUse) :
Span (numberToUse)
57 explicit Span (
const String& nameToUse) : name (nameToUse)
75 Property (
const char* lineNameToUse)
noexcept;
85 bool hasSpan()
const noexcept {
return isSpan && ! isAuto; }
86 bool hasAbsolute()
const noexcept {
return ! (isSpan || isAuto); }
87 bool hasAuto()
const noexcept {
return isAuto; }
88 bool hasName()
const noexcept {
return name.isNotEmpty(); }
89 const String& getName()
const noexcept {
return name; }
90 int getNumber()
const noexcept {
return number; }
161 useDefaultValue = -2,
166 float width = notAssigned;
167 float minWidth = 0.0f;
168 float maxWidth = notAssigned;
170 float height = notAssigned;
171 float minHeight = 0.0f;
172 float maxHeight = notAssigned;
178 Margin (
int size)
noexcept;
179 Margin (
float size)
noexcept;
180 Margin (
float top,
float right,
float bottom,
float left)
noexcept;
201 void setArea (
const String& areaName);
225 GridItem withWidth (
float newWidth)
const noexcept;
228 GridItem withHeight (
float newHeight)
const noexcept;
231 GridItem withSize (
float newWidth,
float newHeight)
const noexcept;
237 GridItem withOrder (
int newOrder)
const noexcept;
The base class for all JUCE user-interface objects.
Defines an item in a Grid.
Rectangle< float > currentBounds
The item's current bounds.
AlignSelf
Possible values for the alignSelf property.
GridItem() noexcept
Creates an item with default parameters.
Margin margin
The margin to leave around this item.
JustifySelf
Possible values for the justifySelf property.
Represents start and end properties.
Manages a rectangle and allows geometric operations to be performed on it.
bool isNotEmpty() const noexcept
Returns true if the string contains at least one character.