Interface LemonUI::IContainer
template <T T>
ClassList > LemonUI > IContainer
Represents a container that can hold other UI Elements .More...
Inherits the following classes: LemonUI::IRecalculable, LemonUI::IProcessable
Public Properties inherited from LemonUI::IProcessable
| Type | Name |
|---|---|
| property bool | Visible If this processable item is visible on the screen. |
Public Functions
| Type | Name |
|---|---|
| void | Add (T item) Adds the specified item into the Container. |
| void | Clear () Clears all of the items in the container. |
| bool | Contains (T item) Checks if the item is part of the container. |
| void | Remove (T item) Removes the item from the container. |
| void | Remove (Func< T, bool > func) Removes all of the items that match the function. |
Public Functions inherited from LemonUI::IRecalculable
| Type | Name |
|---|---|
| void | Recalculate () Recalculates the values. |
Public Functions inherited from LemonUI::IProcessable
| Type | Name |
|---|---|
| void | Process () Processes the object. |
Detailed Description
Template parameters:
TThe type of Element that this container handles.
Public Functions Documentation
function Add
Adds the specified item into the Container.
void LemonUI::IContainer::Add (
T item
)
Parameters:
itemThe item to add.
function Clear
void LemonUI::IContainer::Clear ()
function Contains
Checks if the item is part of the container.
bool LemonUI::IContainer::Contains (
T item
)
Parameters:
itemThe item to check.
Returns:
true if the item is in this container, false otherwise.
function Remove [1/2]
Removes the item from the container.
void LemonUI::IContainer::Remove (
T item
)
Parameters:
itemThe item to remove.
function Remove [2/2]
Removes all of the items that match the function.
void LemonUI::IContainer::Remove (
Func< T, bool > func
)
Parameters:
funcThe function to check items.
The documentation for this class was generated from the following file repos/LemonUI/LemonUI/IContainer.cs