111 void setItemLayout (
int itemIndex,
114 double preferredSize);
131 bool getItemLayout (
int itemIndex,
134 double& preferredSize)
const;
139 void clearAllItems();
172 void layOutComponents (
Component** components,
174 int x,
int y,
int width,
int height,
176 bool resizeOtherDimension);
192 int getItemCurrentPosition (
int itemIndex)
const;
203 int getItemCurrentAbsoluteSize (
int itemIndex)
const;
215 double getItemCurrentRelativeSize (
int itemIndex)
const;
233 void setItemPosition (
int itemIndex,
239 struct ItemLayoutProperties
243 double minSize, maxSize, preferredSize;
250 static int sizeToRealSize (
double size,
int totalSpace);
251 ItemLayoutProperties* getInfoFor (
int itemIndex)
const;
252 void setTotalSize (
int newTotalSize);
253 int fitComponentsIntoSpace (
int startIndex,
int endIndex,
int availableSpace,
int startPos);
254 int getMinimumSizeOfItems (
int startIndex,
int endIndex)
const;
255 int getMaximumSizeOfItems (
int startIndex,
int endIndex)
const;
256 void updatePrefSizesToMatchCurrentPositions();
The base class for all JUCE user-interface objects.
An array designed for holding objects.
For laying out a set of components, where the components have preferred sizes and size limits,...