org.openoffice.da.comp.w2lcommon.helper
public abstract class DialogBase extends Object implements XTypeProvider, XServiceInfo, XServiceName, XExecutableDialog, XDialogEventHandler
| Field Summary | |
|---|---|
| protected static short | CHECKBOX_CHECKED |
| protected static short | CHECKBOX_DONT_KNOW |
| protected static short | CHECKBOX_NOT_CHECKED |
| protected XComponentContext | xContext |
| static String | __implementationName The component should also have an implementation name.
|
| static String | __serviceName The component will be registered under this name.
|
| Constructor Summary | |
|---|---|
| DialogBase(XComponentContext xContext) Create a new OptionsDialogBase | |
| Method Summary | |
|---|---|
| boolean | callHandlerMethod(XDialog xDialog, Object event, String sMethod) |
| short | execute() |
| protected abstract void | finalize() Finalize the dialog after execution (eg. save settings to the registry)
The subclass must implement this |
| protected short | getCheckBoxState(String sControlName) |
| protected boolean | getCheckBoxStateAsBoolean(String sControlName) |
| protected String | getComboBoxText(String sControlName) |
| abstract String | getDialogLibraryName() Return the name of the library containing the dialog
The subclass must override this to provide the name of the library |
| abstract String | getDialogName() Return the name of the dialog within the library
The subclass must override this to provide the name of the dialog |
| protected String | getFormattedFieldText(String sControlName) |
| byte[] | getImplementationId() |
| String | getImplementationName() |
| protected short | getListBoxLineCount(String sControlName) |
| protected short | getListBoxSelectedItem(String sControlName) |
| protected String[] | getListBoxStringItemList(String sControlName) |
| protected int | getNumericFieldValue(String sControlName) |
| protected Object | getPropertyValue(XPropertySet xProps, String sName) |
| protected boolean | getPropertyValueAsBoolean(XPropertySet xProps, String sName) |
| protected int | getPropertyValueAsInteger(XPropertySet xProps, String sName) |
| protected short | getPropertyValueAsShort(XPropertySet xProps, String sName) |
| protected String | getPropertyValueAsString(XPropertySet xProps, String sName) |
| String | getServiceName() |
| String[] | getSupportedMethodNames() |
| String[] | getSupportedServiceNames() |
| protected String | getTextFieldText(String sControlName) |
| Type[] | getTypes() |
| protected abstract void | initialize() Initialize the dialog (eg. with settings from the registry)
The subclass must implement this |
| protected void | setCheckBoxState(String sControlName, short nState) |
| protected void | setCheckBoxStateAsBoolean(String sControlName, boolean bChecked) |
| protected void | setComboBoxText(String sControlName, String sText) |
| protected void | setControlEnabled(String sControlName, boolean bEnabled) |
| protected void | setFormattedFieldText(String sControlName, String sText) |
| protected void | setListBoxLineCount(String sControlName, short nLineCount) |
| protected void | setListBoxSelectedItem(String sControlName, short nIndex) |
| protected void | setListBoxStringItemList(String sControlName, String[] items) |
| protected void | setNumericFieldValue(String sControlName, int nValue) |
| protected void | setPropertyValue(XPropertySet xProps, String sName, Object value) |
| protected void | setPropertyValue(XPropertySet xProps, String sName, int nValue) |
| protected void | setPropertyValue(XPropertySet xProps, String sName, short nValue) |
| protected void | setPropertyValue(XPropertySet xProps, String sName, boolean bValue) |
| protected void | setTextFieldText(String sControlName, String sText) |
| void | setTitle(String sTitle) |
| boolean | supportsService(String sServiceName) |