Class: Controls (of List)

The Controls class is a collection for Control objects.

Properties

  • elements
  • size

Methods

  • void draw()

    Draws and sizes each control in the list.

  • heapPtr handleEvent(heapPtr pEvent)

    Calls handleEvent() for each control in the list until one returns a pointer to a control. If a control pointer is obtained and the control is enabled, it call's it's dot() method.