public interface IContainer
Represents a container object that provides sites for components.
Methods
Name | Description |
---|---|
add(IComponent component) | Adds a component to the container. |
add(IComponent component, String name) | Adds a component to the container. |
dispose() | Removes all components from a container. |
getComponent(String name) | Retreives a named component from the container. |
getComponents() | Retreives an array of all components from the container. |
remove(IComponent component) | Removes a component from the container. |
Adds a component to the container.
Adds a component to the container.
Removes all components from a container.
Returns the component requested, or null if this component is not found.
Retreives a named component from the container.
Returns all components currently sited in this container.
Retreives an array of all components from the container.
Removes a component from the container.