|
OOoRunner test harness | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--util.UITools
Constructor Summary | |
UITools(XMultiServiceFactory msf,
XModel xModel)
|
|
UITools(XMultiServiceFactory msf,
XWindow xWindow)
|
Method Summary | |
boolean |
activateToggleButton(String buttonName)
Activates toggle button via Accessibility |
void |
clickButton(String buttonName)
Helper method: gets button via accessibility and 'click' it |
boolean |
deactivateToggleButton(String buttonName)
Deactivates toggle button via Accessibility |
XWindow |
getActiveTopWindow()
|
Integer |
getCheckBoxValue(String CheckBoxName)
returns the value of the named check box |
XInterface |
getGraphic(String GraphicName)
|
String[] |
getListBoxItems(String ListBoxName)
Helper method: returns the entries of a List-Box |
Double |
getNumericFieldNumericValue(String NumericFieldName)
returns the numeric value of a numeric filed. |
String |
getNumericFieldValue(String NumericFieldName)
returns the value of a numeric field |
Integer |
getRadioButtonValue(String buttonName)
returns the value of named radio button |
XAccessible |
getRoot()
|
String |
getTextBoxText(String TextFieldName)
returns the content of an TextBox |
void |
printAccessibleTree(PrintWriter log)
|
void |
selectListboxItem(String ListBoxName,
int nChildIndex)
select an item in nanmed listbox |
void |
setCheckBoxValue(String CheckBoxName,
Integer Value)
set the value to the named check box |
void |
setNumericFieldValue(String NumericFieldName,
String cValue)
set some Text into an Text Field |
void |
setRadioButtonValue(String buttonName,
int iValue)
|
void |
setTextEditFiledText(String textfiledName,
String stringToSet)
Helper mathod: set a text into AccessibleEdit field |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public UITools(XMultiServiceFactory msf, XModel xModel)
public UITools(XMultiServiceFactory msf, XWindow xWindow)
Method Detail |
public XAccessible getRoot()
public void setTextEditFiledText(String textfiledName, String stringToSet) throws Exception
public void clickButton(String buttonName) throws Exception
public boolean deactivateToggleButton(String buttonName)
buttonName
- The name of the button in the Accessibility treepublic boolean activateToggleButton(String buttonName)
buttonName
- The name of the button in the Accessibility treepublic Integer getRadioButtonValue(String buttonName) throws Exception
public XInterface getGraphic(String GraphicName) throws Exception
public void setRadioButtonValue(String buttonName, int iValue) throws Exception
public void selectListboxItem(String ListBoxName, int nChildIndex) throws Exception
public String[] getListBoxItems(String ListBoxName) throws Exception
public void setNumericFieldValue(String NumericFieldName, String cValue) throws Exception
public String getNumericFieldValue(String NumericFieldName) throws Exception
public Double getNumericFieldNumericValue(String NumericFieldName) throws Exception
public String getTextBoxText(String TextFieldName) throws Exception
public void setCheckBoxValue(String CheckBoxName, Integer Value) throws Exception
public Integer getCheckBoxValue(String CheckBoxName) throws Exception
public XWindow getActiveTopWindow() throws Exception
public void printAccessibleTree(PrintWriter log)
|
OOoRunner test harness | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |