Updated Container docs

updated docs for container (child instead of object)
This commit is contained in:
Robert Jelic
2023-05-18 13:02:04 +02:00
parent a8d08c865e
commit 47a4706a14
8 changed files with 40 additions and 17 deletions

View File

@@ -4,14 +4,15 @@ In addition to the Object and VisualObject methods, container objects have the f
| | |
|---|---|
|[addObject](objects/Container/addObject.md)|Adds a new object to the container
|[getObject](objects/Container/getObject.md)|Returns an object in the container by its ID
|[getDeepObject](objects/Container/getDeepObject.md)|Returns an object in the container or its sub-containers by its ID
|[removeObject](objects/Container/removeObject.md)|Removes an object from the container by its ID
|[addChild](objects/Container/addChild.md)|Adds a new object to the container
|[getChild](objects/Container/getChild.md)|Returns an object in the container by its ID
|[getDeepChild](objects/Container/getDeepChild.md)|Returns an object in the container or its sub-containers by its ID
|[removeChild](objects/Container/removeChild.md)|Removes an object from the container by its ID
|[removeChildren](objects/Container/removeChildren.md)|Removes all children object's
|[updateZIndex](objects/Container/updateZIndex.md)|Updates the Z-index of an object in the container
|[setImportant](objects/Container/setImportant.md)|Marks an object as important, so it is displayed on top if needed
|[sortElementOrder](objects/Container/sortElementOrder.md)|Sorts the order of elements in the container based on their Z-indices
|[removeFocusedObject](objects/Container/removeFocusedObject.md)|Removes focus from an object in the container
|[setFocusedObject](objects/Container/setFocusedObject.md)|Sets focus on a specific object in the container
|[clearFocusedChild](objects/Container/clearFocusedChild.md)|Removes focus from an object in the container
|[setFocusedChild](objects/Container/setFocusedChild.md)|Sets focus on a specific object in the container
A Container Object inherits from VisualObject, but won't draw children objects.