BETA ActionScript® 3.0 Reference for the Adobe® Flash® Platform
Home  |  Hide Packages and Classes List |  Packages  |  Classes  |  What's New  |  Index  |  Appendixes

Language Reference only
Filters: AIR 32.0 and earlier, Flash Player 32.0 and earlier, Flash Lite 4
None
Hide Filters
mx.core 

IContainer  - AS3 Flex

(Preview)
Packagemx.core
Interfacepublic interface IContainer extends IUIComponent , IFlexDisplayObject , IBitmapDrawable , IEventDispatcher
Implementors Container, Legend

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: Flash Player 9, AIR 1.1

IContainer is a interface that indicates a component extends or mimics mx.core.Container

Related API Elements



Public Properties
 PropertyDefined By
  buttonMode : Boolean
Specifies the button mode of this sprite.
IContainer
  creatingContentPane : Boolean
Containers use an internal content pane to control scrolling.
IContainer
  defaultButton : IFlexDisplayObject
The Button control designated as the default button for the container.
IContainer
  doubleClickEnabled : Boolean
Specifies whether the object receives doubleClick events.
IContainer
  dropTarget : DisplayObject
[read-only] Specifies the display object over which the sprite is being dragged, or on which the sprite was dropped.
IContainer
  focusManager : IFocusManager
[read-only] Gets the FocusManager that controls focus for this component and its peers.
IContainer
  focusRect : Object
Specifies whether this object displays a focus rectangle.
IContainer
  graphics : Graphics
[read-only] Specifies the Graphics object that belongs to this sprite where vector drawing commands can occur.
IContainer
  hitArea : Sprite
Designates another sprite to serve as the hit area for a sprite.
IContainer
  horizontalScrollPosition : Number
The current position of the horizontal scroll bar.
IContainer
  mouseChildren : Boolean
Determines whether or not the children of the object are mouse, or user input device, enabled.
IContainer
  mouseEnabled : Boolean
Specifies whether this object receives mouse, or other user input, messages.
IContainer
  numChildren : int
[read-only] Returns the number of children of this object.
IContainer
  soundTransform : flash.media:SoundTransform
Controls sound within this sprite.
IContainer
  tabChildren : Boolean
Determines whether the children of the object are tab enabled.
IContainer
  tabEnabled : Boolean
Specifies whether this object is in the tab order.
IContainer
  tabIndex : int
Specifies the tab ordering of objects in a SWF file.
IContainer
  textSnapshot : flash.text:TextSnapshot
[read-only] Returns a TextSnapshot object for this DisplayObjectContainer instance.
IContainer
  useHandCursor : Boolean
A Boolean value that indicates whether the pointing hand (hand cursor) appears when the pointer rolls over a sprite in which the buttonMode property is set to true.
IContainer
  verticalScrollPosition : Number
The current position of the vertical scroll bar.
IContainer
  viewMetrics : EdgeMetrics
[read-only] Returns an object that has four properties: left, top, right, and bottom.
IContainer
Public Methods
 MethodDefined By
  
Adds a child DisplayObject instance to this DisplayObjectContainer instance.
IContainer
  
Adds a child DisplayObject instance to this DisplayObjectContainer instance.
IContainer
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registers an event listener object with an EventDispatcher object so that the listener receives notification of an event.
IEventDispatcher
  
Indicates whether the security restrictions would cause any display objects to be omitted from the list returned by calling the DisplayObjectContainer.getObjectsUnderPoint() method with the specified point point.
IContainer
  
Determines whether the specified display object is a child of the DisplayObjectContainer instance or the instance itself.
IContainer
 Inherited
Dispatches an event into the event flow.
IEventDispatcher
  
Returns the child display object instance that exists at the specified index.
IContainer
  
Returns the child display object that exists with the specified name.
IContainer
  
Returns the index position of a child DisplayObject instance.
IContainer
  
Returns an array of objects that lie under the specified point and are children (or grandchildren, and so on) of this DisplayObjectContainer instance.
IContainer
 Inherited
Checks whether the EventDispatcher object has any listeners registered for a specific type of event.
IEventDispatcher
  
Removes the specified child DisplayObject instance from the child list of the DisplayObjectContainer instance.
IContainer
  
Removes a child DisplayObject from the specified index position in the child list of the DisplayObjectContainer.
IContainer
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Removes a listener from the EventDispatcher object.
IEventDispatcher
  
Changes the position of an existing child in the display object container.
IContainer
  
startDrag(lockCenter:Boolean = false, bounds:Rectangle = null):void
Lets the user drag the specified sprite.
IContainer
  
Ends the startDrag() method.
IContainer
  
Swaps the z-order (front-to-back order) of the two specified child objects.
IContainer
  
swapChildrenAt(index1:int, index2:int):void
Swaps the z-order (front-to-back order) of the child objects at the two specified index positions in the child list.
IContainer
 Inherited
Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type.
IEventDispatcher
Property Detail
Method Detail