Package | mx.automation |
Class | public class AutomationHelper |
Inheritance | AutomationHelper Object |
Language Version: | ActionScript 3.0 |
Product Version: | Flex 4 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
See also
Method | Defined By | ||
---|---|---|---|
Constructor
| AutomationHelper | ||
[static]
Returns the current active window in case of AIR app,
top level application otherwise. | AutomationHelper | ||
[static]
Returns the helper class used for AIR automation (AirFunctionsHelper). | AutomationHelper | ||
[static]
Returns the title in case of AIR app, empty string otherwise. | AutomationHelper | ||
[static]
Returns the top level application. | AutomationHelper | ||
[static]
Returns the start point in screen coordinates. | AutomationHelper | ||
Indicates whether an object has a specified property defined. | Object | ||
[static]
Returns false if AIR helper class (AirFunctionsHelper) is not loaded. | AutomationHelper | ||
[static]
Returns true if the current application is an AIR app, false otherwise. | AutomationHelper | ||
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter. | Object | ||
[static]
Returns false if AIR helper class (mx.automation.air.AirFunctionsHelper) is not found. | AutomationHelper | ||
Indicates whether the specified property exists and is enumerable. | Object | ||
[static]
Sets the system manager using which the root application is determined. | AutomationHelper | ||
Sets the availability of a dynamic property for loop operations. | Object | ||
Returns the string representation of this object, formatted according to locale-specific conventions. | Object | ||
Returns the string representation of the specified object. | Object | ||
Returns the primitive value of the specified object. | Object |
AutomationHelper | () | Constructor |
public function AutomationHelper()
Language Version: | ActionScript 3.0 |
Product Version: | Flex 4 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
Constructor
getActiveWindow | () | method |
public static function getActiveWindow(windowId:String):Object
Language Version: | ActionScript 3.0 |
Product Version: | Flex 4 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
Returns the current active window in case of AIR app, top level application otherwise.
Parameters
windowId:String |
Object |
getAirHelperClass | () | method |
public static function getAirHelperClass(className:String):Class
Language Version: | ActionScript 3.0 |
Product Version: | Flex 4 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
Returns the helper class used for AIR automation (AirFunctionsHelper).
Parameters
className:String |
Class |
getAppTitle | () | method |
public static function getAppTitle():String
Language Version: | ActionScript 3.0 |
Product Version: | Flex 4 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
Returns the title in case of AIR app, empty string otherwise.
ReturnsString |
getMainApplication | () | method |
public static function getMainApplication():Object
Language Version: | ActionScript 3.0 |
Product Version: | Flex 4 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
Returns the top level application.
ReturnsObject |
getStageStartPointInScreenCoords | () | method |
public static function getStageStartPointInScreenCoords(windowId:String):Point
Language Version: | ActionScript 3.0 |
Product Version: | Flex 4 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
Returns the start point in screen coordinates.
Parameters
windowId:String |
Point |
isAirClassLoaded | () | method |
public static function isAirClassLoaded():Boolean
Language Version: | ActionScript 3.0 |
Product Version: | Flex 4 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
Returns false if AIR helper class (AirFunctionsHelper) is not loaded.
ReturnsBoolean |
isCurrentAppAir | () | method |
public static function isCurrentAppAir():Boolean
Language Version: | ActionScript 3.0 |
Product Version: | Flex 4 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
Returns true if the current application is an AIR app, false otherwise.
ReturnsBoolean |
isRequiredAirClassPresent | () | method |
public static function isRequiredAirClassPresent():Boolean
Language Version: | ActionScript 3.0 |
Product Version: | Flex 4 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
Returns false if AIR helper class (mx.automation.air.AirFunctionsHelper) is not found.
ReturnsBoolean |
registerSystemManager | () | method |
public static function registerSystemManager(sm1:ISystemManager):void
Language Version: | ActionScript 3.0 |
Product Version: | Flex 4 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
Sets the system manager using which the root application is determined.
Parameters
sm1:ISystemManager |
Fri Mar 19 2010, 02:45 AM -07:00