Package | com.ghostwire.ui.containers |
Class | public class uiPane |
Inheritance | uiPane ![]() ![]() |
Subclasses | uiForm, uiSWF |
uiPane
is a basic container that does not implement any layout logic. You need to use
absolute positioning for the child objects.
"scrollRect" Property
When the "scrollRect" property is defined (not null
), the container will not constrain
its child objects. If the property is null
(default), the container will constrain its
child objects within its layout bounds.
"skin" Property
Always null
- attempting to set this property will throw an error.
~ This class is available in Aspire UI Components Lite Edition ~
Method | Defined by | ||
---|---|---|---|
uiPane()
Constructor - creates a new
uiPane container instance. | uiPane | ||
addChild(child:DisplayObject):DisplayObject
Adds a child
DisplayObject instance to this container. | uiPane | ||
addChildAt(child:DisplayObject, index:int):DisplayObject
Adds a child
DisplayObject instance to this container at the
specified index position. | uiPane | ||
![]() |
invalidate(type:String):void
Invalidates this component's "size", "display", "layout" or "textstyle".
| uiComponent | |
![]() |
move(x:Number, y:Number, noEvent:Boolean = false):void
Moves the component to the specified position, disregarding its allocation.
| uiComponent | |
![]() |
removeAllChildren(all:Boolean = false):void
Removes all children from this component.
| uiComponent | |
![]() |
setFocus(flag:Boolean = true):void
Gives this component instance the focus; the component must be on the display list and has its
tabEnabled property set to true , otherwise this method will fail
silently. | uiComponent | |
![]() |
setSize(width:Number, height:Number, noEvent:Boolean = false):void
Sets this component's size to the specified
width and height . | uiComponent | |
![]() |
setVisible(value:Boolean, noEvent:Boolean = false):void
Sets the visibility of this component instance, dispatching a "show" or "hide" event accordingly.
| uiComponent | |
![]() |
validateNow():void
Validates and render the component instance, and any component instances with
depth higher than itself in the validation queue, immediately. | uiComponent |
uiPane | () | constructor |
public function uiPane()
Constructor - creates a new uiPane
container instance.
addChild | () | method |
public override function addChild(child:DisplayObject):DisplayObject
Adds a child DisplayObject
instance to this container. The child is added
to the front (top) of all other children in this container.
child:DisplayObject — The DisplayObject instance to add as a child of this uiPane
container.
|
DisplayObject — The DisplayObject instance that you pass in as the child
parameter.
|
See also
addChildAt | () | method |
public override function addChildAt(child:DisplayObject, index:int):DisplayObject
Adds a child DisplayObject
instance to this container at the
specified index
position.
child:DisplayObject — The DisplayObject instance to add as a child of this uiPane
container.
|
|
index:int — index position to which the child is added. If you specify a currently occupied
index position, the child object that exists at that position and all higher positions are
moved up one position in the child list.
|
DisplayObject — The DisplayObject instance that you pass in as the child
parameter.
|
See also