|
@@ -101,13 +101,13 @@ public: |
|
|
virtual void setName (const String& newName);
|
|
|
virtual void setName (const String& newName);
|
|
|
|
|
|
|
|
|
/** Returns the ID string that was set by setComponentID().
|
|
|
/** Returns the ID string that was set by setComponentID().
|
|
|
@see setComponentID
|
|
|
|
|
|
|
|
|
@see setComponentID, findChildWithID
|
|
|
*/
|
|
|
*/
|
|
|
const String& getComponentID() const noexcept { return componentID; }
|
|
|
const String& getComponentID() const noexcept { return componentID; }
|
|
|
|
|
|
|
|
|
/** Sets the component's ID string.
|
|
|
/** Sets the component's ID string.
|
|
|
You can retrieve the ID using getComponentID().
|
|
|
You can retrieve the ID using getComponentID().
|
|
|
@see getComponentID
|
|
|
|
|
|
|
|
|
@see getComponentID, findChildWithID
|
|
|
*/
|
|
|
*/
|
|
|
void setComponentID (const String& newID);
|
|
|
void setComponentID (const String& newID);
|
|
|
|
|
|
|
|
@@ -699,6 +699,11 @@ public: |
|
|
*/
|
|
|
*/
|
|
|
int getIndexOfChildComponent (const Component* child) const noexcept;
|
|
|
int getIndexOfChildComponent (const Component* child) const noexcept;
|
|
|
|
|
|
|
|
|
|
|
|
/** Looks for a child component with the specified ID.
|
|
|
|
|
|
@see setComponentID, getComponentID
|
|
|
|
|
|
*/
|
|
|
|
|
|
Component* findChildWithID (const String& componentID) const noexcept;
|
|
|
|
|
|
|
|
|
/** Adds a child component to this one.
|
|
|
/** Adds a child component to this one.
|
|
|
|
|
|
|
|
|
Adding a child component does not mean that the component will own or delete the child - it's
|
|
|
Adding a child component does not mean that the component will own or delete the child - it's
|
|
|