Types Of UI Elements

UI elements are subdivided into two macro categories: Elements and Elements Managers. The first category contains those UI elements such as buttons, checkboxes and so on, the second category contains those elemens that manages other elements such as lists and grids.


Elements

This is the very base class of UI Element such as buttons, checkboxes and so on. This macro category contains two sub categories, Generic Elements and Basic Elements.

Generic Elements

This classes directly inherit from WBP_GenericElement and they contains just the logic of that specific element.

Button

This class has the logic of a button, it can be selected, clicked and disabled.

Checkbox

This class has the logic of a checkbox, it can be checked, unchecked or undetermined.

Spinbox

This class has the logic of a spinbox, it can clamp the value between a minimum and a maximum, it can increment or decrease by a specific delta and it can show a minimum and maximum value of fractional digits.

Text Spinbox

This class has the logic of a text spinbox, it can contain an infinite number of entries, but show only one at a time.

Basic Elements

This classes instead of the previous ones doesn’t directly inherit from WBP_GenericElement but inherit from one of the above classes, they are the visual representation of the logic of that classes


Elements Managers

This class has a generic logic of elements managment, it stores the reference of all of them and knows who is previous and who is next.

List

This class has the logic of linear list (vertical/horizontal).

Grid

This class has the logic of grid with columns and rows.