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

Project Version 2.3

com.rational.test.ft.vp
Interface ITestDataMenu

All Superinterfaces:
ITestData

public interface ITestDataMenu
extends ITestData

Represents the necessary methods for supporting a menu-type verification point.

Since:
RFT1.0

Method Summary
 java.lang.String getAccelerator()
          Returns the value of the accelerator property associated with this verification point.
 java.lang.String getMnemonic()
          Returns the value of the mnemonic property associated with this verification point.
 java.lang.String getText()
          Accesses the text associated with this verification point.
 boolean isCheckboxMenuItem()
          Returns true if the menu item is a checkbox-type menu item.
 boolean isRadioMenuItem()
          Returns true if the menu item is a checkbox-type menu item.
 boolean isSelected()
          Returns the setting of the selected property associated with this verification point.
 void setAccelerator(java.lang.String accelerator)
          Sets the accelerator property associated with this verification point.
 void setCheckboxMenuItem(boolean isCheckbox)
          Sets the checkbox property associated with this verification point.
 void setMnemonic(java.lang.String mnemonic)
          Sets the mnemonic property associated with this verification point.
 void setRadioMenuItem(boolean isRadio)
          Sets the radio property associated with this verification point.
 void setSelected(boolean selected)
          Sets the Selected property associated with this verification point.
 void setText(java.lang.String text)
          Sets the text associated with this verification point.
 
Methods inherited from interface com.rational.test.ft.vp.ITestData
getData, getDataType, getDescription, getName, getProperty, getPropertyKeys, getType, setData, setDataType, setDescription, setName, setProperty, setType
 

Method Detail

getText

java.lang.String getText()
Accesses the text associated with this verification point.

Since:
RFT1.0

setText

void setText(java.lang.String text)
Sets the text associated with this verification point.

Parameters:
text - the text associated with this verification point

getMnemonic

java.lang.String getMnemonic()
Returns the value of the mnemonic property associated with this verification point.

See Also:
setMnemonic(String)

setMnemonic

void setMnemonic(java.lang.String mnemonic)
Sets the mnemonic property associated with this verification point.

Parameters:
mnemonic - the associated menu mnemonic
Since:
RFT1.0
See Also:
getMnemonic()

getAccelerator

java.lang.String getAccelerator()
Returns the value of the accelerator property associated with this verification point.

Since:
RFT1.0
See Also:
setMnemonic(String)

setAccelerator

void setAccelerator(java.lang.String accelerator)
Sets the accelerator property associated with this verification point.

Parameters:
accelerator - the associated menu accelerator
Since:
RFT1.0
See Also:
getAccelerator()

isCheckboxMenuItem

boolean isCheckboxMenuItem()
Returns true if the menu item is a checkbox-type menu item.

Since:
RFT1.0
See Also:
setCheckboxMenuItem(boolean)

setCheckboxMenuItem

void setCheckboxMenuItem(boolean isCheckbox)
Sets the checkbox property associated with this verification point.

Parameters:
isCheckbox - the new checkbox property value
Since:
RFT1.0
See Also:
isCheckboxMenuItem()

isRadioMenuItem

boolean isRadioMenuItem()
Returns true if the menu item is a checkbox-type menu item.

Since:
RFT1.0
See Also:
setRadioMenuItem(boolean)

setRadioMenuItem

void setRadioMenuItem(boolean isRadio)
Sets the radio property associated with this verification point.

Parameters:
isRadio - the new radio property value
Since:
RFT1.0
See Also:
isRadioMenuItem()

isSelected

boolean isSelected()
Returns the setting of the selected property associated with this verification point. This property is defined only for the isRadioMenuItem() and isCheckboxMenuItem() menu items.

Returns:
true if the checkbox or radio-style menu item is selected
Since:
RFT1.0
See Also:
setSelected(boolean)

setSelected

void setSelected(boolean selected)
Sets the Selected property associated with this verification point. This property is only defined for isRadioMenuItem() and isCheckboxMenuItem() menu items.

Parameters:
selected - the new radio property value
Since:
RFT1.0
See Also:
isSelected()