About core functions

You must define five functions in the component class file: init(), createChildren(), the constructor function, draw(), and size(). When a component extends the UIComponent, these five functions in the class file are called in the following order:

These core component functions are described in detail in the sections that follow.