ContainerWidget Class Reference

Widget which has the container feature. More...

Inheritance diagram for ContainerWidget:
Widget Dialog GridListPanel ListPanel LiveScrollPanel Panel RootWidget ScrollPanel MessageDialog ListPanelItem LiveJumpPanel LiveSpringPanel UIAnimationPlayer

List of all members.

Public Member Functions

 ContainerWidget ()
 Constructor.
virtual new void AddChildFirst (Widget child)
 Adds the child widget to the beginning.
virtual new void AddChildLast (Widget child)
 Adds the child widget to the end.
virtual new void InsertChildBefore (Widget child, Widget nextChild)
 Inserts it immediately in front of the specified child widget.
virtual new void InsertChildAfter (Widget child, Widget prevChild)
 Inserts it immediately after the specified child widget.
virtual new void RemoveChild (Widget child)
 Deletes the specified child widget.

Properties

virtual new IEnumerable< WidgetChildren [get]
 Obtains the child widget.
bool EnabledChildrenAnchors [get, set]
 Sets and obtains the value for whether to resize the child widget according to Anchors.
override float Width [get, set]
 Obtains and sets the width.
override float Height [get, set]
 Obtains and sets the height.

Detailed Description

Widget which has the container feature.

A child widget can be added and the parent-child relationship of the widget can be formed.


Member Function Documentation

virtual new void AddChildFirst ( Widget  child) [virtual]

Adds the child widget to the beginning.

Parameters:
childChild widget to be added

Moves it to the beginning if it has already been added.

Reimplemented from Widget.

Reimplemented in LiveScrollPanel, LiveSpringPanel, and ScrollPanel.

virtual new void AddChildLast ( Widget  child) [virtual]

Adds the child widget to the end.

Parameters:
childChild widget to be added

Moves it to the end if it has already been added.

Reimplemented from Widget.

Reimplemented in LiveScrollPanel, LiveSpringPanel, and ScrollPanel.

virtual new void InsertChildAfter ( Widget  child,
Widget  prevChild 
) [virtual]

Inserts it immediately after the specified child widget.

Parameters:
childChild widget to be inserted
prevChildChild widget immediately in front of the inserted child widget

Moves it immediately after the specified child widget if it has already been added.

Reimplemented from Widget.

Reimplemented in LiveScrollPanel, LiveSpringPanel, and ScrollPanel.

virtual new void InsertChildBefore ( Widget  child,
Widget  nextChild 
) [virtual]

Inserts it immediately in front of the specified child widget.

Parameters:
childChild widget to be inserted
nextChildChild widget immediately after the inserted child widget

Moves it immediately in front of the specified child widget if it has already been added.

Reimplemented from Widget.

Reimplemented in LiveScrollPanel, LiveSpringPanel, and ScrollPanel.

virtual new void RemoveChild ( Widget  child) [virtual]

Deletes the specified child widget.

Parameters:
childWidget to be deleted

Nothing will be performed if a widget that does not exist is specified.

Reimplemented from Widget.

Reimplemented in LiveScrollPanel, LiveSpringPanel, and ScrollPanel.


Property Documentation

virtual new IEnumerable<Widget> Children [get]

Obtains the child widget.

Returns the enumerator that repetitively handles the collection.

Reimplemented from Widget.

Reimplemented in LiveScrollPanel, and ScrollPanel.