Skip to content

Class LemonUI::TimerBars::TimerBarCollection

ClassList > LemonUI > TimerBars > TimerBarCollection

A collection or Set of TimerBar .

Inherits the following classes: LemonUI::IContainer

Public Properties

Type Name
property PointF Offset
The offset from it's starting point on the bottom right.
property List< TimerBar > TimerBars
The TimerBar s that are part of this collection.
property bool Visible
If this collection of Timer Bars is visible to the user.

Public Properties inherited from LemonUI::IProcessable

See LemonUI::IProcessable

Type Name
property bool Visible
If this processable item is visible on the screen.

Public Functions

Type Name
void Add (TimerBar bar)
Adds a TimerBar onto this collection.
void Clear ()
Removes all of the TimerBar in this collection.
bool Contains (TimerBar bar)
Checks if the TimerBar is part of this collection.
void Process ()
Draws the known timer bars.
void Recalculate ()
Recalculates the positions and sizes of the TimerBar .
void Remove (TimerBar bar)
Removes a TimerBar from the Collection.
void Remove (Func< TimerBar, bool > func)
Removes all of the TimerBar that match the function.
TimerBarCollection (params TimerBar[] bars)
Creates a new collection of Timer Bars.

Public Functions inherited from LemonUI::IContainer

See LemonUI::IContainer

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

See LemonUI::IRecalculable

Type Name
void Recalculate ()
Recalculates the values.

Public Functions inherited from LemonUI::IProcessable

See LemonUI::IProcessable

Type Name
void Process ()
Processes the object.

Public Properties Documentation

property Offset

PointF LemonUI.TimerBars.TimerBarCollection.Offset;

property TimerBars

List<TimerBar> LemonUI.TimerBars.TimerBarCollection.TimerBars;

property Visible

bool LemonUI.TimerBars.TimerBarCollection.Visible;

Public Functions Documentation

function Add

Adds a TimerBar onto this collection.

inline void LemonUI::TimerBars::TimerBarCollection::Add (
    TimerBar bar
) 

Parameters:

function Clear

void LemonUI::TimerBars::TimerBarCollection::Clear () 

function Contains

Checks if the TimerBar is part of this collection.

bool LemonUI::TimerBars::TimerBarCollection::Contains (
    TimerBar bar
) 

Parameters:

function Process

inline void LemonUI::TimerBars::TimerBarCollection::Process () 

function Recalculate

inline void LemonUI::TimerBars::TimerBarCollection::Recalculate () 

function Remove [1/2]

Removes a TimerBar from the Collection.

inline void LemonUI::TimerBars::TimerBarCollection::Remove (
    TimerBar bar
) 

Parameters:

function Remove [2/2]

Removes all of the TimerBar that match the function.

inline void LemonUI::TimerBars::TimerBarCollection::Remove (
    Func< TimerBar , bool > func
) 

Parameters:

  • func The function to check the TimerBar.

function TimerBarCollection

Creates a new collection of Timer Bars.

inline LemonUI::TimerBars::TimerBarCollection::TimerBarCollection (
    params TimerBar [] bars
) 

Parameters:

  • bars

The documentation for this class was generated from the following file repos/LemonUI/LemonUI/TimerBars/TimerBarCollection.cs