Table Of Contents

Previous topic

Component

Next topic

RootComponent

This Page

phoenix_title Container

Base class for containers.


class_hierarchy Inheritance Diagram

Inheritance diagram for class Container

Inheritance diagram of Container


method_summary Methods Summary

appendChild Append child node. Can be overriden to create implicit nodes.
canHaveChild  
copyObjects  
getChildObject Get index’th child of a tested interface element.
getTreeNode Some containers may hide some internal elements.
getTreeOrImplicitNode Return topmost child (implicit if exists).
insertAfter Insert node after prevNode. Can be overriden to create implicit nodes.
insertBefore Insert node before nextNode. Can be overriden to create implicit nodes.
isSizer If this container manages children positions and sizes.
removeChild Remove node and the implicit node (if present). Return
replaceChild Replace oldNode by newNode keeping relevant attributes.
requireImplicit If there are implicit nodes for this particular node.

api Class API



class Container(Component)

Base class for containers.


Methods



appendChild(self, parentNode, node)

Append child node. Can be overriden to create implicit nodes.



canHaveChild(self, component)


copyObjects(self, srcNode, dstNode)


getChildObject(self, node, obj, index)

Get index’th child of a tested interface element.



getTreeNode(self, node)

Some containers may hide some internal elements.



getTreeOrImplicitNode(self, node)

Return topmost child (implicit if exists).



insertAfter(self, parentNode, node, prevNode)

Insert node after prevNode. Can be overriden to create implicit nodes.



insertBefore(self, parentNode, node, nextNode)

Insert node before nextNode. Can be overriden to create implicit nodes.



isSizer(self)

If this container manages children positions and sizes.



removeChild(self, parentNode, node)

Remove node and the implicit node (if present). Return top-level removed child.



replaceChild(self, parentNode, newNode, oldNode)

Replace oldNode by newNode keeping relevant attributes.



requireImplicit(self, node)

If there are implicit nodes for this particular node.