Class DialogAccess
java.lang.Object
org.openoffice.da.comp.w2lcommon.helper.DialogAccess
- Direct Known Subclasses:
DialogBase
This class provides some convenient methods to access a uno dialog
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final shortstatic final shortstatic final short -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionshortgetCheckBoxState(String sControlName) booleangetCheckBoxStateAsBoolean(String sControlName) getComboBoxText(String sControlName) booleangetControlEnabled(String sControlName) com.sun.star.beans.XPropertySetgetControlProperties(String sControlName) intgetDateFieldValue(String sControlName) protected com.sun.star.awt.XDialoggetFormattedFieldText(String sControlName) getLabelText(String sControlName) shortgetListBoxLineCount(String sControlName) shortgetListBoxSelectedItem(String sControlName) String[]getListBoxStringItemList(String sControlName) intgetNumericFieldValue(String sControlName) getTextFieldText(String sControlName) voidsetCheckBoxState(String sControlName, short nState) voidsetCheckBoxStateAsBoolean(String sControlName, boolean bChecked) voidsetComboBoxText(String sControlName, String sText) voidsetControlEnabled(String sControlName, boolean bEnabled) voidsetDateFieldValue(String sControlName, int nValue) protected voidsetDialog(com.sun.star.awt.XDialog xDialog) voidsetFormattedFieldText(String sControlName, String sText) voidsetLabelText(String sControlName, String sLabel) voidsetListBoxLineCount(String sControlName, short nLineCount) voidsetListBoxSelectedItem(String sControlName, short nIndex) voidsetListBoxStringItemList(String sControlName, String[] items) voidsetNumericFieldValue(String sControlName, int nValue) voidsetTextFieldText(String sControlName, String sText)
-
Field Details
-
CHECKBOX_NOT_CHECKED
public static final short CHECKBOX_NOT_CHECKED- See Also:
-
CHECKBOX_CHECKED
public static final short CHECKBOX_CHECKED- See Also:
-
CHECKBOX_DONT_KNOW
public static final short CHECKBOX_DONT_KNOW- See Also:
-
-
Constructor Details
-
DialogAccess
public DialogAccess(com.sun.star.awt.XDialog xDialog)
-
-
Method Details
-
setDialog
protected void setDialog(com.sun.star.awt.XDialog xDialog) -
getDialog
protected com.sun.star.awt.XDialog getDialog() -
getControlProperties
-
getControlEnabled
-
setControlEnabled
-
getCheckBoxState
-
getCheckBoxStateAsBoolean
-
setCheckBoxState
-
setCheckBoxStateAsBoolean
-
getListBoxStringItemList
-
setListBoxStringItemList
-
getListBoxSelectedItem
-
setListBoxSelectedItem
-
getListBoxLineCount
-
setListBoxLineCount
-
getComboBoxText
-
setComboBoxText
-
getLabelText
-
setLabelText
-
getTextFieldText
-
setTextFieldText
-
getFormattedFieldText
-
setFormattedFieldText
-
getDateFieldValue
-
setDateFieldValue
-
getNumericFieldValue
-
setNumericFieldValue
-