IBM Rational Functional Tester
Version 8.1.1000
IBM Rational Functional Tester Proxy SDK Reference

Project Version 2.3

com.rational.test.ft.domain.java
Interface IComboBox

All Known Implementing Classes:
CComboProxy, ChoiceProxy, ComboProxy

public interface IComboBox

The ComboListBoxProxy uses this interface to access the text of the items from the proxy rather than dealing with formatting issues on the specific host.


Method Summary
 int getItemCount()
          Returns the number of items available in the associated ComboBox control.
 java.lang.String getItemText(int itemIndex)
          Returns the text of the item at the specified index.
 int getSelectedIndex()
          Returns the index of the selected item in the associated ComboBox control.
 boolean needMethodSpecForPoint()
          Returns true if getMethodSpecForPoint should return a coordinate based action for drags onto the popup.
 

Method Detail

getItemCount

int getItemCount()
Returns the number of items available in the associated ComboBox control.

Returns:
The number of items available in the associated ComboBox control.

getSelectedIndex

int getSelectedIndex()
Returns the index of the selected item in the associated ComboBox control.

Returns:
The index of the selected item in the associated ComboBox control.

getItemText

java.lang.String getItemText(int itemIndex)
Returns the text of the item at the specified index.

Parameters:
itemIndex - The zero-based index of the desired item.
Returns:
The text of the item at the specified index.

needMethodSpecForPoint

boolean needMethodSpecForPoint()
Returns true if getMethodSpecForPoint should return a coordinate based action for drags onto the popup.

Returns:
If getMethodSpecForPoint should be supported for the popup window.