| Package | org.fluint.uiImpersonation |
| Interface | public interface IVisualTestEnvironment |
| Implementors | VisualTestEnvironment |
| Property | Defined 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 | ||
| Method | Defined 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 | ||
removeAllChildren():void
Removes all children from visual test environment
| IVisualTestEnvironment | ||
removeAllElements():void
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 | ||
| numChildren | property |
numChildren:int [read-only] Returns the number of children in the visual test environment
public function get numChildren():int| testEnvironment | property |
testEnvironment:Sprite [read-only] Returns the current test environment
public function get testEnvironment():Sprite| addChild | () | method |
public function addChild(child:DisplayObject):DisplayObjectAdds a display object to the visual test environment
Parameters
child:DisplayObject |
DisplayObject —
|
| addChildAt | () | method |
public function addChildAt(child:DisplayObject, index:int):DisplayObjectAdds a display object to the visual test environment at a given position
Parameters
child:DisplayObject | |
index:int |
DisplayObject —
|
| addElement | () | method |
public function addElement(element:DisplayObject):DisplayObjectAdds a visual element to the test environment
Parameters
element:DisplayObject |
DisplayObject |
| addElementAt | () | method |
public function addElementAt(element:DisplayObject, index:int):DisplayObjectAdds a visual element at the specified index to the test environment
Parameters
element:DisplayObject | |
index:int |
DisplayObject |
| getChildAt | () | method |
public function getChildAt(index:int):DisplayObjectReturns a child in the visual test environment at a given index
Parameters
index:int |
DisplayObject —
|
| getChildByName | () | method |
public function getChildByName(name:String):DisplayObjectReturns a child in the visual test environment with a given name
Parameters
name:String |
DisplayObject —
|
| getChildIndex | () | method |
public function getChildIndex(child:DisplayObject):intReturns the index of a child in the visual test environment
Parameters
child:DisplayObject |
int —
|
| getElementAt | () | method |
public function getElementAt(index:int):DisplayObjectReturns the visual element at the specified index in the test environment
Parameters
index:int |
DisplayObject |
| getElementIndex | () | method |
public function getElementIndex(element:DisplayObject):intReturns the index of the specified visual element in the test environment
Parameters
element:DisplayObject |
int |
| removeAllChildren | () | method |
public function removeAllChildren():voidRemoves all children from visual test environment
| removeAllElements | () | method |
public function removeAllElements():voidRemoves all visiual element from the test environment
| removeChild | () | method |
public function removeChild(child:DisplayObject):DisplayObjectremoves a display object from the visual test environment
Parameters
child:DisplayObject |
DisplayObject —
|
| removeChildAt | () | method |
public function removeChildAt(index:int):DisplayObjectRemoves a display object from the visual test environment at an index
Parameters
index:int |
DisplayObject —
|
| removeElement | () | method |
public function removeElement(element:DisplayObject):DisplayObjectRemoves the specified visual element from the test environment
Parameters
element:DisplayObject |
DisplayObject |
| removeElementAt | () | method |
public function removeElementAt(index:int):DisplayObjectRemoves the visual element at the specified index from the test environment
Parameters
index:int |
DisplayObject |
| setChildIndex | () | method |
public function setChildIndex(child:DisplayObject, newIndex:int):voidSets the index of a child in the visual test environment
Parameters
child:DisplayObject | |
newIndex:int |
| setElementIndex | () | method |
public function setElementIndex(element:DisplayObject, index:int):voidSet the specified visual element to the specified index in the test environment
Parameters
element:DisplayObject | |
index:int |