Package | org.fluint.uiImpersonation.flex |
Class | public class FlexMXVisualTestEnvironment |
Inheritance | FlexMXVisualTestEnvironment ![]() ![]() |
Subclasses | FlexSparkVisualTestEnvironment |
Method | Defined By | ||
---|---|---|---|
FlexMXVisualTestEnvironment(baseClass:Class)
Constructor
Creates a new test environment using the baseClass as a base. | FlexMXVisualTestEnvironment | ||
![]() | addChild(child:DisplayObject):DisplayObject
Add a child to test environment. | VisualTestEnvironment | |
![]() | addChildAt(child:DisplayObject, index:int):DisplayObject
Add a display object at the specified index. | VisualTestEnvironment | |
![]() | addElement(element:DisplayObject):DisplayObject
Not used in projects prior to Flex 4. | VisualTestEnvironment | |
![]() | addElementAt(element:DisplayObject, index:int):DisplayObject
Not used in projects prior to Flex 4. | VisualTestEnvironment | |
![]() | getChildAt(index:int):DisplayObject
Retrieves the child at the specified index without removing the child. | VisualTestEnvironment | |
![]() | getChildByName(name:String):DisplayObject
Retrieves the child with the specified name without removing the child\
| VisualTestEnvironment | |
![]() | getChildIndex(child:DisplayObject):int
Retrieves the index of the specified child in the test environment
| VisualTestEnvironment | |
![]() | getElementAt(index:int):DisplayObject
Not used in projects prior to Flex 4. | VisualTestEnvironment | |
![]() | getElementIndex(element:DisplayObject):int
Not used in projects prior to Flex 4. | VisualTestEnvironment | |
![]() | removeAllChildren():void
Removes all children currently in the test environment
| VisualTestEnvironment | |
![]() | removeAllElements():void
Not used in projects prior to Flex 4. | VisualTestEnvironment | |
![]() | removeChild(child:DisplayObject):DisplayObject
Removes the specified child from the test environment. | VisualTestEnvironment | |
![]() | removeChildAt(index:int):DisplayObject
Removes a child at the specified index. | VisualTestEnvironment | |
![]() | removeElement(element:DisplayObject):DisplayObject
Not used in projects prior to Flex 4. | VisualTestEnvironment | |
![]() | removeElementAt(index:int):DisplayObject
Not used in projects prior to Flex 4. | VisualTestEnvironment | |
![]() | setChildIndex(child:DisplayObject, newIndex:int):void
Updates the specified child to the new index. | VisualTestEnvironment | |
![]() | setElementIndex(element:DisplayObject, index:int):void
Not used in projects prior to Flex 4. | VisualTestEnvironment |
FlexMXVisualTestEnvironment | () | Constructor |
public function FlexMXVisualTestEnvironment(baseClass:Class)
Constructor
Creates a new test environment using the baseClass
as a base. This base
needs to be a container that implements IVisualElementContainer
. If no base class
is provided, automatically uses mx.core.Container.
baseClass:Class — A class reference to the container the environment should be built from.
|