com.rational.test.ft.domain.html

Interface IHtmlGraphicalSubitem

  • All Known Implementing Classes:
    ImageProxy, SelectProxy, TableProxy


    public interface IHtmlGraphicalSubitem
    Defines methods that enable access to actions replayed by the mouse or keyboard.
    Since:
    RFT1.0
    • Method Detail

      • getSubobject

        HtmlGuiProxy getSubobject(com.rational.test.ft.script.Subitem subitem)
        Returns the subobject specified by the subitem
        Parameters:
        subitem - The subitem which identifies the subobject to be returned.
        Since:
        RFT1.0
      • getScreenRectangle

        java.awt.Rectangle getScreenRectangle(HtmlGuiProxy subObject)
        Returns the rectangle that contains the component being evaluated relative to the top left corner of the screen. This will commonly be two operations: (getScreenRectangle for the parent object, and then adjusting for the specified subitem) combined into a single operation. The rectangle is exposed so that actions may be directly scripted against a visible subitem. null is returned if the subitem is not showing.
        Since:
        RFT1.0
      • getScreenPoint

        java.awt.Point getScreenPoint(HtmlGuiProxy subObject)
        Returns the screen relative point to the center of the supplied subitem.
        Parameters:
        subitem - The subitem the resultant screen point is relative to.
        Since:
        RFT1.0
      • getScreenPoint

        java.awt.Point getScreenPoint(HtmlGuiProxy subObject,
                                      java.awt.Point pt)
        Returns the screen relative point given a subitem and a subitem relative point.
        Parameters:
        subitem - The subitem the resultant screen point is relative to.
        pt - The subitem relative point.
        Since:
        RFT1.0