Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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.

Community Additions

Show:
© 2015 Microsoft