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

Class FlexComboBaseTestObject

    • Constructor Detail

      • FlexComboBaseTestObject

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

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

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

        public FlexComboBaseTestObject(com.rational.test.ft.object.TestObjectReference ref)
      • FlexComboBaseTestObject

        public FlexComboBaseTestObject(TestObject obj)
    • Method Detail

      • close

        public void close()
        Dispatched when the drop-down list is dismissed for any reason such when the user: selects an item in the drop-down list clicks outside of the drop-down list clicks the drop-down button while the drop-down list is displayed presses the ESC key while the drop-down list is displayed
      • close

        public void close(java.lang.String triggerEvent)
        Dispatched when the drop-down list is dismissed for any reason such when the user: selects an item in the drop-down list clicks outside of the drop-down list clicks the drop-down button while the drop-down list is displayed presses the ESC key while the drop-down list is displayed
        Parameters:
        triggerEvent - Whether the event was triggered by mouse or keyboard
      • open

        public void open()
        Dispatched when the user clicks the drop-down button to display the drop-down list.
      • open

        public void open(java.lang.String triggerEvent)
        Dispatched when the user clicks the drop-down button to display the drop-down list.
        Parameters:
        triggerEvent - Whether the event was triggered by mouse or keyboard
      • input

        public void input(java.lang.String itemName)
        Dispatched when the user enters character in the editable control
        Parameters:
        itemName - The character or sequence of characters entered by the user.
      • scroll

        public void scroll(int position,
                           java.lang.String scrollDirection)
        Dispatched when the user scrolls the ComboBox control's drop-down list
        Parameters:
        position - The new scroll position
        scrollDirection - The direction of motion: ScrollEventDirection.VERTICAL or ScrollEventDirection.HORIZONTAL.
      • scroll

        public void scroll(int position,
                           java.lang.String scrollDirection,
                           java.lang.String scrollDetails)
        Dispatched when the user scrolls the ComboBox control's drop-down list
        Parameters:
        position - The new scroll position.
        scrollDirection - The direction of motion: ScrollEventDirection.VERTICAL or ScrollEventDirection.HORIZONTAL.
        scrollDetails - Provides the details of the scroll activity. For most scroll activities the value is one of the listed constants, such as THUMB_TRACK. If the event indicates that the scrollbar has moved up, down, left, or right, the value is the string concatenation of the amount of motion (such as "Line" or "Page") and the constant that indicates the direction, such as LEFT
      • selectText

        public void selectText(java.awt.Point point)
        Dispatched when the user selects the text in the control
        Parameters:
        point - Selected item's start and end position in the form of point
      • 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. One of: flexAlt, flexControl, flexControlAlt, flexControlShift, flexControlShiftAlt, flexShift, or flexShiftAlt. For example, if the Shift and Alt keys were pressed, then the value would be flexShiftAlt.
      • 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. One of: flexAlt, flexControl, flexControlAlt, flexControlShift, flexControlShiftAlt, flexShift, or flexShiftAlt. For example, if the Shift and Alt keys were pressed, then the value would be flexShiftAlt.
      • scroll

        public void scroll(Subitem subitem,
                           java.lang.String scrollDirection)
        Dispatched when the user scrolls the ComboBox control's drop-down list
        Parameters:
        subitem - The subitem giving the value of the scroll position
        scrollDirection - The direction of motion: ScrollEventDirection.VERTICAL or ScrollEventDirection.HORIZONTAL.
      • scroll

        public void scroll(Subitem subitem,
                           java.lang.String scrollDirection,
                           java.lang.String scrollDetails)
        Dispatched when the user scrolls the ComboBox control's drop-down list
        Parameters:
        subitem - The subitem giving the value of the scroll position
        scrollDirection - The direction of motion: ScrollEventDirection.VERTICAL or ScrollEventDirection.HORIZONTAL.
        scrollDetails - Provides the details of the scroll activity. For most scroll activities the value is one of the listed constants, such as THUMB_TRACK. If the event indicates that the scrollbar has moved up, down, left, or right, the value is the string concatenation of the amount of motion (such as "Line" or "Page") and the constant that indicates the direction, such as LEFT