- New Objects (Flexbox, Graph, Treeview) - Pluginsystem to add/remove functionality - Reworked the entire Object system, instead of one big Object Class we have multiple classes: Object, VisualObject, ChangeableObject - Instead of one big Frame Class we have multiple Frame Classes: BaseFrame, Frame, MovableFrame, ScrollableFrame, MonitorFrame, Flexbox - Removed the Animation Object, and added a animation plugin instead - Removed the Graphic Object and merged it's functionality with the image object - Updated currently existing objects
18 lines
1.4 KiB
Markdown
18 lines
1.4 KiB
Markdown
Container is the base class for all frame types. It provides the basic structure and functionality for all frame objects. Container objects can contain other container objects, thus forming the foundation for the hierarchy of frame objects.
|
|
|
|
In addition to the Object and VisualObject methods, container objects have the following methods:
|
|
|
|
| | |
|
|
|---|---|
|
|
|[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
|
|
|[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
|
|
|
|
A Container Object inherits from VisualObject, but won't draw children objects.
|