Packageorg.fluint.uiImpersonation
Interfacepublic interface IVisualTestEnvironment
Implementors ActionScriptVisualTestEnvironment, FlexVisualTestEnvironment

Implemented by visual test environment facades



Public Properties
 PropertyDefined By
  numChildren : int
[read-only] Returns the number of children in the visual test environment
IVisualTestEnvironment
Public Methods
 MethodDefined By
  
addChild(child:DisplayObject):DisplayObject
Adds a display object to the visual test environment
IVisualTestEnvironment
  
addChildAt(child:DisplayObject, index:int):DisplayObject
Adds a display object to the visual test environment at a given position
IVisualTestEnvironment
  
getChildAt(index:int):DisplayObject
Returns a child in the visual test environment at a given index
IVisualTestEnvironment
  
getChildByName(name:String):DisplayObject
Returns a child in the visual test environment with a given name
IVisualTestEnvironment
  
getChildIndex(child:DisplayObject):int
Returns the index of a child in the visual test environment
IVisualTestEnvironment
  
Removes all children from visual test environment
IVisualTestEnvironment
  
removeChild(child:DisplayObject):DisplayObject
removes a display object from the visual test environment
IVisualTestEnvironment
  
removeChildAt(index:int):DisplayObject
Removes a display object from the visual test environment at an index
IVisualTestEnvironment
  
setChildIndex(child:DisplayObject, newIndex:int):void
Sets the index of a child in the visual test environment
IVisualTestEnvironment
Property Detail
numChildrenproperty
numChildren:int  [read-only]

Returns the number of children in the visual test environment


Implementation
    public function get numChildren():int
Method Detail
addChild()method
public function addChild(child:DisplayObject):DisplayObject

Adds a display object to the visual test environment

Parameters

child:DisplayObject

Returns
DisplayObject
addChildAt()method 
public function addChildAt(child:DisplayObject, index:int):DisplayObject

Adds a display object to the visual test environment at a given position

Parameters

child:DisplayObject
 
index:int

Returns
DisplayObject
getChildAt()method 
public function getChildAt(index:int):DisplayObject

Returns a child in the visual test environment at a given index

Parameters

index:int

Returns
DisplayObject
getChildByName()method 
public function getChildByName(name:String):DisplayObject

Returns a child in the visual test environment with a given name

Parameters

name:String

Returns
DisplayObject
getChildIndex()method 
public function getChildIndex(child:DisplayObject):int

Returns the index of a child in the visual test environment

Parameters

child:DisplayObject

Returns
int
removeAllChildren()method 
public function removeAllChildren():void

Removes all children from visual test environment

removeChild()method 
public function removeChild(child:DisplayObject):DisplayObject

removes a display object from the visual test environment

Parameters

child:DisplayObject

Returns
DisplayObject
removeChildAt()method 
public function removeChildAt(index:int):DisplayObject

Removes a display object from the visual test environment at an index

Parameters

index:int

Returns
DisplayObject
setChildIndex()method 
public function setChildIndex(child:DisplayObject, newIndex:int):void

Sets the index of a child in the visual test environment

Parameters

child:DisplayObject
 
newIndex:int