IBM Rational Functional Tester
Version 8.2.1
IBM Rational Functional Tester API Reference

Project Version 2.3

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

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.FlexScrollBaseTestObject
                      extended by com.rational.test.ft.object.interfaces.flex.FlexListBaseTestObject
                          extended by com.rational.test.ft.object.interfaces.flex.FlexAdvancedDataGridTestObject
All Implemented Interfaces:
IGraphical

public class FlexAdvancedDataGridTestObject
extends FlexListBaseTestObject

The DataGrid control is like a List except that it can show more than one column of data making it suited for showing objects with multiple properties


Field Summary
 
Fields inherited from class com.rational.test.ft.object.interfaces.TestObject
ignoreTheObjectState, ref
 
Constructor Summary
FlexAdvancedDataGridTestObject(SpyMappedTestObject mappedObject)
           
FlexAdvancedDataGridTestObject(SpyMappedTestObject mappedObject, TestObject anchor)
           
FlexAdvancedDataGridTestObject(SpyMappedTestObject mappedObject, TestObject anchor, long scriptCommandFlags)
           
 
Method Summary
 void changeFocus()
          Dispatched when the focus changes from the datagrid to some other control.
 void collapse(Subitem groupName)
           
 void columnShift(Subitem indexTo, Subitem indexFrom)
           
 void columnShift(Subitem indexMove, Subitem indexTo, Subitem indexFrom)
           
 void columnStretch(int index, int position)
          Dispatched when a user changes the width of a column, indicating that the amount of data displayed in that column may have changed
 void expand(Subitem groupName)
           
 void headerClick(Subitem index)
          Dispatched when the user clicks on one of the headers
 void headerClick(Subitem colHeader, java.lang.String keyModifier)
          Dispatched when the user clicks on one of the headers
 void headerClick(Subitem colHeader, java.lang.String keyModifier, Subitem headerPart)
          Dispatched when the user clicks on one of the headers
 void headerClick(Subitem colHeader, java.lang.String keyModifier, Subitem headerPart, java.lang.String triggerEvent)
          Dispatched when the user clicks on one of the headers
 void headerClick(Subitem colHeader, Subitem headerPart)
          Dispatched when the user clicks on one of the headers
 void headerShift(Subitem newIndex, Subitem oldIndex)
          Dispatched when the user releases the mouse button on a column header after having dragged the column to a new location resulting in shifting the column to a new index
 void resizeColumns(Subitem index, Subitem position)
          Dispatched when the component is resized.
 
Methods inherited from class com.rational.test.ft.object.interfaces.flex.FlexListBaseTestObject
change, click, click, inputKeys, inputKeys, select, type, type
 
Methods inherited from class com.rational.test.ft.object.interfaces.flex.FlexScrollBaseTestObject
mouseScroll, scroll, scroll
 
Methods inherited from class com.rational.test.ft.object.interfaces.flex.FlexObjectTestObject
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, getIWindow, getRole, 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, getProperty, getTestDataTypes, 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, getPropertyFromMap, getRecognitionProperties, getRecognitionPropertyWeight, getScriptCommandFlags, getStandardProperties, getTestData, getTopMappableParent, getTopParent, hashCode, invoke, invoke, invoke, invokeProxy, invokeProxy, isLoggedDuringUnregister, isMappedObject, isSameObject, isScreenTestObject, isTopLevelTestObject, performTest, performTest, performTest, setIndexer, setIndexer, setLoggedDuringUnregister, setMapProperties, setProperty, toString, updateTestData, waitForExistence
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FlexAdvancedDataGridTestObject

public FlexAdvancedDataGridTestObject(SpyMappedTestObject mappedObject)

FlexAdvancedDataGridTestObject

public FlexAdvancedDataGridTestObject(SpyMappedTestObject mappedObject,
                                      TestObject anchor)

FlexAdvancedDataGridTestObject

public FlexAdvancedDataGridTestObject(SpyMappedTestObject mappedObject,
                                      TestObject anchor,
                                      long scriptCommandFlags)
Method Detail

headerClick

public void headerClick(Subitem index)
Dispatched when the user clicks on one of the headers

Parameters:
index - the position of the header clicked

headerShift

public void headerShift(Subitem newIndex,
                        Subitem oldIndex)
Dispatched when the user releases the mouse button on a column header after having dragged the column to a new location resulting in shifting the column to a new index

Parameters:
newIndex - the new index of the header shifted
oldIndex - the old index of the header being shifted

resizeColumns

public void resizeColumns(Subitem index,
                          Subitem position)
Dispatched when the component is resized.

Parameters:
index - index of the column being resized
position - position to which the column has been resized

columnStretch

public void columnStretch(int index,
                          int position)
Dispatched when a user changes the width of a column, indicating that the amount of data displayed in that column may have changed

Parameters:
index - Index of the column being stretched
position - the position upto which the column has been stretched

changeFocus

public void changeFocus()
Dispatched when the focus changes from the datagrid to some other control.

Overrides:
changeFocus in class FlexObjectTestObject

columnShift

public void columnShift(Subitem indexMove,
                        Subitem indexTo,
                        Subitem indexFrom)

columnShift

public void columnShift(Subitem indexTo,
                        Subitem indexFrom)

collapse

public void collapse(Subitem groupName)

expand

public void expand(Subitem groupName)

headerClick

public void headerClick(Subitem colHeader,
                        Subitem headerPart)
Dispatched when the user clicks on one of the headers

Parameters:
index - the position of the header clicked

headerClick

public void headerClick(Subitem colHeader,
                        java.lang.String keyModifier)
Dispatched when the user clicks on one of the headers

Parameters:
index - the position of the header clicked

headerClick

public void headerClick(Subitem colHeader,
                        java.lang.String keyModifier,
                        Subitem headerPart)
Dispatched when the user clicks on one of the headers

Parameters:
index - the position of the header clicked

headerClick

public void headerClick(Subitem colHeader,
                        java.lang.String keyModifier,
                        Subitem headerPart,
                        java.lang.String triggerEvent)
Dispatched when the user clicks on one of the headers

Parameters:
index - the position of the header clicked