src code
Container#addComponent(component) → Container
component
Component
Adds a Component into the container. component's attributes will be rendered to the screen in relation to the attributes of this Container.
Container