IBM Rational Functional Tester
Version 8.1.1000
IBM Rational Functional Tester API Reference

Project Version 2.3

com.rational.test.ft.object.interfaces.flex
Class FlexButtonTestObject

java.lang.Object   extended by com.rational.test.ft.object.interfaces.TestObject
      extended by com.rational.test.ft.object.interfaces.ClientTestObject
          extended by com.rational.test.ft.object.interfaces.GuiTestObject
              extended by com.rational.test.ft.object.interfaces.flex.FlexObjectTestObject
                  extended by com.rational.test.ft.object.interfaces.flex.FlexButtonTestObject
All Implemented Interfaces:
IGraphical
Direct Known Subclasses:
FlexPopUpButtonTestObject

public class FlexButtonTestObject
extends FlexObjectTestObject

The Button control is a commonly used rectangular button. Button controls look like they can be pressed. They can have a text label, an icon, or both on their face


Field Summary
 
Fields inherited from class com.rational.test.ft.object.interfaces.TestObject
ref
 
Constructor Summary
FlexButtonTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject)
           
FlexButtonTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject, TestObject anchor)
           
FlexButtonTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject, TestObject anchor, long scriptCommandFlags)
           
FlexButtonTestObject(TestObject obj)
           
FlexButtonTestObject(com.rational.test.ft.object.TestObjectReference ref)
           
 
Method Summary
 void inputKeys(java.lang.String keyCode)
          Event is dispatched when keyboard is used to perform an action
 void inputKeys(java.lang.String keyCode, int keyModifier)
          Event is dispathed when a combination of keys are pressed to perform an action.
 void type(java.lang.String keyCode)
          Event is dispatched when keyboard is used to perform an action
 void type(java.lang.String keyCode, int keyModifier)
          Event is dispathed when a combination of keys are pressed to perform an action.
 
Methods inherited from class com.rational.test.ft.object.interfaces.flex.FlexObjectTestObject
changeFocus, changeFocus, changeFocus, changeFocus, click, click, click, getAutomationChildAt, invokeProxyWithGuiDelay, invokeProxyWithGuiDelay, performAction, performAction, performAction, performAction, performAction, performAction, performTest, setFocus
 
Methods inherited from class com.rational.test.ft.object.interfaces.GuiTestObject
canTakeVP, click, click, clickRadio, doubleClick, doubleClick, doubleClick, doubleClick, drag, drag, drag, drag, dragToScreenPoint, dragToScreenPoint, dragToScreenPoint, ensureObjectIsVisible, getChildAtPoint, getClippedScreenRectangle, getImage, getImage, getScreenPoint, getScreenPoint, getScreenRectangle, getScreenSnapshot, getVisibleArea, hasFocus, hover, hover, hover, hover, isEnabled, isOpaque, isPointInObject, isShowing, mouseMove, mouseMove, nClick, nClickDrag, nClickDragToScreenPoint
 
Methods inherited from class com.rational.test.ft.object.interfaces.ClientTestObject
exists, find, find, findAndInvoke, findAndInvokeProxy, invoke, invokeProxy, unregister, waitForExistence
 
Methods inherited from class com.rational.test.ft.object.interfaces.TestObject
compare, compare, compareAndLog, compareAndLog, equals, find, findAndInvoke, getActualData, getChildren, getDescribedObject, getDescribedObjects, getDescriptiveName, getDomain, getField, getIndexer, getIndexer, getIndexers, getMappableChildren, getMappableParent, getMapProperties, getMethods, getNameInScript, getNonValueProperties, getObjectClassName, getObjectCustomClassName, getObjectReference, getOwnedObjects, getOwner, getParent, getProcess, getProperties, getProperty, getPropertyFromMap, getRecognitionProperties, getRecognitionPropertyWeight, getScriptCommandFlags, getStandardProperties, getTestData, getTestDataTypes, getTopMappableParent, getTopParent, hashCode, invoke, invokeProxy, isMappedObject, isSameObject, isScreenTestObject, isTopLevelTestObject, performTest, performTest, performTest, setIndexer, setIndexer, setMapProperties, setProperty, toString, updateTestData, waitForExistence
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FlexButtonTestObject

public FlexButtonTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject)

FlexButtonTestObject

public FlexButtonTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject,                             TestObject anchor)

FlexButtonTestObject

public FlexButtonTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject,                             TestObject anchor,                             long scriptCommandFlags)

FlexButtonTestObject

public FlexButtonTestObject(com.rational.test.ft.object.TestObjectReference ref)

FlexButtonTestObject

public FlexButtonTestObject(TestObject obj)
Method Detail

inputKeys

public void inputKeys(java.lang.String keyCode)
Event is dispatched when keyboard is used to perform an action

Parameters:
keyCode - The key code value of the key pressed

inputKeys

public void inputKeys(java.lang.String keyCode,                       int keyModifier)
Event is dispathed when a combination of keys are pressed to perform an action.

Parameters:
keyCode - The key code value of the key pressed
keyModifier - A constant that indicates which key or key combination, if any, was pressed while this operation took place.

type

public void type(java.lang.String keyCode)
Event is dispatched when keyboard is used to perform an action

Parameters:
keyCode - The key code value of the key pressed

type

public void type(java.lang.String keyCode,                  int keyModifier)
Event is dispathed when a combination of keys are pressed to perform an action.

Parameters:
keyCode - The key code value of the key pressed
keyModifier - A constant that indicates which key or key combination, if any, was pressed while this operation took place.