Container Class

Definition

Line 10 of System.Screen/Container.cm

Constructors & Destructor

public nothrow Container(Component* parent_)
public ~Container()

Member Functions

public nothrow void AddChild(Component* child)
public nothrow Component* FirstChild() const
public nothrow void InsertAfter(Component* child, Component* after)
public nothrow void InsertBefore(Component* child, Component* before)
public nothrow bool IsEmpty() const
public nothrow Component* LastChild() const
public nothrow Component* Parent() const
public nothrow UniquePtr<Component> RemoveChild(Component* child)

Member Variables

private Component* firstChild
private Component* lastChild
private Component* parent

Constructor& Destructor Details

Container Constructor

public nothrow Container(Component* parent_)

Definition
Line 12 of System.Screen/Container.cm


~Container Destructor

public ~Container()

Definition
Line 15 of System.Screen/Container.cm


Member Function Details

AddChild Member Function

public nothrow void AddChild(Component* child)

Definition
Line 41 of System.Screen/Container.cm


FirstChild Member Function

public nothrow Component* FirstChild()

Definition
Line 33 of System.Screen/Container.cm


InsertAfter Member Function

public nothrow void InsertAfter(Component* child, Component* after)

Definition
Line 98 of System.Screen/Container.cm


InsertBefore Member Function

public nothrow void InsertBefore(Component* child, Component* before)

Definition
Line 76 of System.Screen/Container.cm


IsEmpty Member Function

public nothrow bool IsEmpty()

Definition
Line 25 of System.Screen/Container.cm


LastChild Member Function

public nothrow Component* LastChild()

Definition
Line 37 of System.Screen/Container.cm


Parent Member Function

public nothrow Component* Parent()

Definition
Line 29 of System.Screen/Container.cm


RemoveChild Member Function

public nothrow UniquePtr<Component> RemoveChild(Component* child)

Definition
Line 60 of System.Screen/Container.cm