Packageorg.fluint.uiImpersonation
Interfacepublic interface IVisualTestEnvironment
Implementors VisualTestEnvironment

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
  testEnvironment : Sprite
[read-only] Returns the current 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
  
addElement(element:DisplayObject):DisplayObject
Adds a visual element to the test environment
IVisualTestEnvironment
  
addElementAt(element:DisplayObject, index:int):DisplayObject
Adds a visual element at the specified index to the test environment
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
  
getElementAt(index:int):DisplayObject
Returns the visual element at the specified index in the test environment
IVisualTestEnvironment
  
getElementIndex(element:DisplayObject):int
Returns the index of the specified visual element in the test environment
IVisualTestEnvironment
  
Removes all children from visual test environment
IVisualTestEnvironment
  
Removes all visiual element from the 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
  
removeElement(element:DisplayObject):DisplayObject
Removes the specified visual element from the test environment
IVisualTestEnvironment
  
removeElementAt(index:int):DisplayObject
Removes the visual element at the specified index from the test environment
IVisualTestEnvironment
  
setChildIndex(child:DisplayObject, newIndex:int):void
Sets the index of a child in the visual test environment
IVisualTestEnvironment
  
setElementIndex(element:DisplayObject, index:int):void
Set the specified visual element to the specified index in the 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
testEnvironmentproperty 
testEnvironment:Sprite  [read-only]

Returns the current test environment


Implementation
    public function get testEnvironment():Sprite
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
addElement()method 
public function addElement(element:DisplayObject):DisplayObject

Adds a visual element to the test environment

Parameters

element:DisplayObject

Returns
DisplayObject
addElementAt()method 
public function addElementAt(element:DisplayObject, index:int):DisplayObject

Adds a visual element at the specified index to the test environment

Parameters

element: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
getElementAt()method 
public function getElementAt(index:int):DisplayObject

Returns the visual element at the specified index in the test environment

Parameters

index:int

Returns
DisplayObject
getElementIndex()method 
public function getElementIndex(element:DisplayObject):int

Returns the index of the specified visual element in the test environment

Parameters

element:DisplayObject

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

Removes all children from visual test environment

removeAllElements()method 
public function removeAllElements():void

Removes all visiual element from the 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
removeElement()method 
public function removeElement(element:DisplayObject):DisplayObject

Removes the specified visual element from the test environment

Parameters

element:DisplayObject

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

Removes the visual element at the specified index from the test environment

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

setElementIndex()method 
public function setElementIndex(element:DisplayObject, index:int):void

Set the specified visual element to the specified index in the test environment

Parameters

element:DisplayObject
 
index:int