Sys.IContainer Interface

Provides a common interface for all components that can contain other components.

Namespace: Sys

myNamespace.myClassName.registerClass('myNamespace.myClassName', null, Sys.IContainer);

Name

Description

Sys.IContainer.addComponent Method

Adds a Component object to the current container.

Sys.IContainer.findComponent Method

Returns the specified Component instance.

Sys.IContainer.getComponents Method

Returns an array of all objects in the current container that inherit from Component.

Sys.IContainer.removeComponent Method

Removes a Component object from the current container.

Implement this interface in components that might contain other components in order to make the child components publicly available.

Show: