Condividi tramite


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);

Members

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.

Remarks

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

See Also

Reference

new Operator

Other Resources

Language Reference