Class DialogAccess
java.lang.Object
org.openoffice.da.comp.w2lcommon.helper.DialogAccess
This class provides some convenient methods to access a uno dialog
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final short
static final short
static final short
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionshort
getCheckBoxState
(String sControlName) boolean
getCheckBoxStateAsBoolean
(String sControlName) getComboBoxText
(String sControlName) boolean
getControlEnabled
(String sControlName) com.sun.star.beans.XPropertySet
getControlProperties
(String sControlName) int
getDateFieldValue
(String sControlName) getFormattedFieldText
(String sControlName) getLabelText
(String sControlName) short
getListBoxLineCount
(String sControlName) short
getListBoxSelectedItem
(String sControlName) String[]
getListBoxStringItemList
(String sControlName) int
getNumericFieldValue
(String sControlName) getTextFieldText
(String sControlName) void
setCheckBoxState
(String sControlName, short nState) void
setCheckBoxStateAsBoolean
(String sControlName, boolean bChecked) void
setComboBoxText
(String sControlName, String sText) void
setControlEnabled
(String sControlName, boolean bEnabled) void
setDateFieldValue
(String sControlName, int nValue) void
setFormattedFieldText
(String sControlName, String sText) void
setLabelText
(String sControlName, String sLabel) void
setListBoxLineCount
(String sControlName, short nLineCount) void
setListBoxSelectedItem
(String sControlName, short nIndex) void
setListBoxStringItemList
(String sControlName, String[] items) void
setNumericFieldValue
(String sControlName, int nValue) void
setTextFieldText
(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
-
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
-