Skip to content

Manager

Isuru Kusumal Rajapakse edited this page Jun 18, 2017 · 1 revision

new Manager()

  • Virtual manager class that is responsible in managing a single component behavior.
Returns
  • Void

Manager.manage(component, profile)

assigns an component to be managed by the manager

Parameters
Name Type Description
component Component - component to manage.  
profile Profile - profile to manage the component  
Returns
  • Manager itself

Manager.adopt(profile)

assign managed profile

Parameters
Name Type Description
profile Profile - profile to manage the component using  
Returns
  • Component itself

Manager.initialise()

Subsequently initialises all of the managed components

Returns
  • Void

Manager.shouldUpdate()

Returns
  • bool should

update()

Subsequently process all of the managed components

Returns
  • Void

shouldRender()

Returns
  • bool should

beforeRender()

component logic before rendeing

Returns
  • Void

render()

Subsequently renders all of the managed components

Returns
  • Void

Clone this wiki locally