src code

instance method Container#addComponent

Container#addComponent(component) → Container

Adds a Component into the container. component's attributes will be rendered to the screen in relation to the attributes of this Container.