Package com.axemble.vdoc.sdk.interfaces
Interface IResourceController
- All Superinterfaces:
IController,Serializable
- All Known Implementing Classes:
ProcessResourceController,ScreenResourceController
This class allows to interact with the user interface.
- Since:
- 1.0, 15/04/2008
- Author:
- vlygeros
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe identifier of the bottom container.static final intThe identifier of the top container. -
Method Summary
Modifier and TypeMethodDescriptionvoidAllows to display an alert box.voidalert(String message, IAlertBoxListener listener) Allows to display an alert box and get notified on the CLICK event.voidDeprecated, for removal: This API element is subject to removal in a future version.recompilation needed in 2026voidcollapseSection(String identifier, boolean collapse) Show or collapse the content of a section in a formvoidconfirm(String message, IConfirmBoxListener listener) Allows to display a confirm box and interact with OK, CANCEL events.voidconfirm(String message, com.axemble.vdp.ui.framework.components.listeners.ConfirmBoxListener listener) Deprecated, for removal: This API element is subject to removal in a future version.recompilation needed in 2026voidExecutes the button as if that was the logged on user.voidexecute(com.axemble.vdp.ui.framework.widgets.CtlButton button) Deprecated, for removal: This API element is subject to removal in a future version.recompilation needed in 2026getAccessKey(String propertyName) Gets the access key.com.axemble.vdp.ui.framework.widgets.CtlButtongetBottomButton(String buttonName) Deprecated, for removal: This API element is subject to removal in a future version.Use com.axemble.vdoc.sdk.interfaces.IResourceController#getBottomIButton(java.lang.String) instead.getBottomIButton(String buttonName) Gets a button from the bottom container.com.axemble.vdp.ui.framework.widgets.CtlButtonDeprecated, for removal: This API element is subject to removal in a future version.Use com.axemble.vdoc.sdk.interfaces.IResourceController#getIButton(java.lang.String, int) instead.com.axemble.vdp.ui.framework.runtime.NamedContainergetButtonContainer(int container) Deprecated, for removal: This API element is subject to removal in a future version.Use com.axemble.vdoc.sdk.interfaces.IResourceController#getButtonIContainer(int) instead.getButtonIContainer(int container) Gets a button container by selecting either the top or bottom container.getDefaultIWidget(String propertyName) Gets the first writable field.com.axemble.vdp.ui.framework.foundation.WidgetgetDefaultWidget(String propertyName) Deprecated, for removal: This API element is subject to removal in a future version.Use com.axemble.vdoc.sdk.interfaces.IResourceController#getDefaultIWidget(java.lang.String) instead.getIButton(String buttonName, int container) Gets a button from the specified container.intgetTabIndex(String propertyName) Gets the tab index.com.axemble.vdp.ui.framework.widgets.CtlButtongetTopButton(String buttonName) Deprecated, for removal: This API element is subject to removal in a future version.Use com.axemble.vdoc.sdk.interfaces.IResourceController#getTopIButton(java.lang.String) instead.getTopIButton(String buttonName) Gets a button from the top container.voidAllow to set a message underneath the field widget.voidAllow to set a message underneath the field widget in a specified fragment.booleanisAllEditable(String fragmentName, String propertyName) Checks if all specified fields are editable in a specified fragment.booleanisAllHidden(String fragmentName, String propertyName) Checks if all specified fields are hidden in a specified fragment.booleanisAllMandatory(String fragmentName, String propertyName) Checks if all specified fields are mandatory in a specified fragment.booleanisEditable(String propertyName) Checks if a specified field is writable.booleanChecks if a specified field is hidden.booleanisMandatory(String propertyName) Checks if a specified field is mandatory.voidAllows to open a child window (as a popup window).voidAllows to open a child window (as a popup window) and specify the window.open parameters.voidsetAccessKey(String propertyName, String accessKey) Sets the access key of the field.voidsetDocumentInformation(String newInformation) Sets the process document information message.voidsetDocumentTitle(String newTitle) Sets the process document title.voidsetEditable(String propertyName, boolean editable) Sets to writable a specified field.voidsetEditable(String fragmentName, String propertyName, boolean editable) Sets to writable a specified field in a fragment.voidHide a specified field.voidHide a specified field in a specified fragment.voidAllows to fill an tag with HTML content.voidsetMandatory(String propertyName, boolean mandatory) Set to mandatory a specified field.voidsetMandatory(String fragmentName, String propertyName, boolean mandatory) Set to mandatory a specified field in a fragment.voidsetTabIndex(String propertyName, int tabIndex) Sets the tab index of the field.voidsetThrowEvents(String propertyName, boolean throwEvents) Allow the field to post-back to the server.voidsetThrowEvents(String fragment, String propertyName, boolean throwEvents) Allow the field in a specified fragment to post-back to the server.voidshowBackToParentButton(boolean show) Allows to hide or display the back to parent button.voidshowBodyBlock(String marker, boolean show) Allows to hide or display a specified element by its marker within the body.voidshowHeaderBlock(String marker, boolean show) Allows to hide or display a specified element by its marker within the header.voidshowHeaderSection(boolean show) Allows to hide or display the header section.voidshowHelpButton(boolean show) Allows to hide or display the main help section.voidshowHistorySection(boolean show) Allows to hide or display the history section.voidshowPrintButton(boolean show) Allows to hide or display the print button.
-
Field Details
-
TOP_CONTAINER
static final int TOP_CONTAINERThe identifier of the top container.- See Also:
-
BOTTOM_CONTAINER
static final int BOTTOM_CONTAINERThe identifier of the bottom container.- See Also:
-
-
Method Details
-
getTopButton
@Deprecated(since="2025.1", forRemoval=true) com.axemble.vdp.ui.framework.widgets.CtlButton getTopButton(String buttonName) Deprecated, for removal: This API element is subject to removal in a future version.Use com.axemble.vdoc.sdk.interfaces.IResourceController#getTopIButton(java.lang.String) instead.Gets a button from the top container.- Parameters:
buttonName- the system name of the button.- Returns:
- a
CtlButtonobject.
-
getTopIButton
Gets a button from the top container.- Parameters:
buttonName- the system name of the button.- Returns:
- a
IButtonobject.
-
getBottomButton
@Deprecated(since="2025.1", forRemoval=true) com.axemble.vdp.ui.framework.widgets.CtlButton getBottomButton(String buttonName) Deprecated, for removal: This API element is subject to removal in a future version.Use com.axemble.vdoc.sdk.interfaces.IResourceController#getBottomIButton(java.lang.String) instead.Gets a button from the bottom container.- Parameters:
buttonName- the system name of the button.- Returns:
- a
CtlButtonobject.
-
getBottomIButton
Gets a button from the bottom container.- Parameters:
buttonName- the system name of the button.- Returns:
- a
IButtonobject.
-
getButton
@Deprecated(since="2025.1", forRemoval=true) com.axemble.vdp.ui.framework.widgets.CtlButton getButton(String buttonName, int container) Deprecated, for removal: This API element is subject to removal in a future version.Use com.axemble.vdoc.sdk.interfaces.IResourceController#getIButton(java.lang.String, int) instead.Gets a button from the specified container.- Parameters:
buttonName- the system name of the button.container- either one of the following values :- IResourceController.TOP_CONTAINER (value 1)
- IResourceController.BOTTOM_CONTAINER (value 2)
- Returns:
- a
CtlButtonobject.
-
getIButton
Gets a button from the specified container.- Parameters:
buttonName- the system name of the button.container- either one of the following values :- IResourceController.TOP_CONTAINER (value 1)
- IResourceController.BOTTOM_CONTAINER (value 2)
- Returns:
- a
IButtonobject.
-
getButtonContainer
@Deprecated(since="2025.1", forRemoval=true) com.axemble.vdp.ui.framework.runtime.NamedContainer getButtonContainer(int container) Deprecated, for removal: This API element is subject to removal in a future version.Use com.axemble.vdoc.sdk.interfaces.IResourceController#getButtonIContainer(int) instead.Gets a button container by selecting either the top or bottom container.- Parameters:
container- either one of the following values :- IResourceController.TOP_CONTAINER (value 1)
- IResourceController.BOTTOM_CONTAINER (value 2)
- Returns:
- a
NamedContainerobject.
-
getButtonIContainer
Gets a button container by selecting either the top or bottom container.- Parameters:
container- either one of the following values :- IResourceController.TOP_CONTAINER (value 1)
- IResourceController.BOTTOM_CONTAINER (value 2)
- Returns:
- a
INamedContainerobject.
-
execute
@Deprecated(since="2025.1", forRemoval=true) void execute(com.axemble.vdp.ui.framework.widgets.CtlButton button) Deprecated, for removal: This API element is subject to removal in a future version.recompilation needed in 2026Executes the button as if that was the logged on user.- Parameters:
button- theIButtonobject.
-
execute
Executes the button as if that was the logged on user.- Parameters:
button- theIButtonobject.
-
setMandatory
Set to mandatory a specified field.- Parameters:
propertyName- the system name of the field.mandatory- true or false.
-
setMandatory
Set to mandatory a specified field in a fragment.- Parameters:
fragmentName- the system name of the fragmentpropertyName- the system name of the field.mandatory- true or false.
-
isMandatory
Checks if a specified field is mandatory.- Parameters:
propertyName- the system name of the field.- Returns:
- true or false.
-
isAllMandatory
Checks if all specified fields are mandatory in a specified fragment.- Parameters:
fragmentName- the fragment's namepropertyName- the system name of the field.- Returns:
- true or false.
-
setHidden
Hide a specified field.- Parameters:
propertyName- the system name of the field.hidden- true to hide
-
setHidden
Hide a specified field in a specified fragment.- Parameters:
fragmentName- the system name of the fragmentpropertyName- the system name of the field.hidden- true to hide
-
isHidden
Checks if a specified field is hidden.- Parameters:
propertyName- the system name of the field.- Returns:
- true or false.
-
isAllHidden
Checks if all specified fields are hidden in a specified fragment.- Parameters:
fragmentName- the fragment's namepropertyName- the system name of the field.- Returns:
- true or false.
-
setEditable
Sets to writable a specified field.- Parameters:
propertyName- the system name of the field.editable- true to be editable
-
setEditable
Sets to writable a specified field in a fragment.- Parameters:
fragmentName- the system name of the fragmentpropertyName- the system name of the field.editable- true to be editable
-
isEditable
Checks if a specified field is writable.- Parameters:
propertyName- the property's name- Returns:
- true or false.
-
isAllEditable
Checks if all specified fields are editable in a specified fragment.- Parameters:
fragmentName- the fragment's namepropertyName- the system name of the field.- Returns:
- true or false.
-
setThrowEvents
Allow the field to post-back to the server.- Parameters:
propertyName- the system name of the field.throwEvents- true or false.
-
setThrowEvents
Allow the field in a specified fragment to post-back to the server.- Parameters:
fragment- the system name of the fragmentpropertyName- the system name of the field.throwEvents- true or false.
-
inform
Allow to set a message underneath the field widget.- Parameters:
propertyName- the system name of the field.message- the message to display.
-
inform
Allow to set a message underneath the field widget in a specified fragment.- Parameters:
fragmentName- the system name of the fragmentpropertyName- the system name of the field.message- the message to display.
-
getTabIndex
Gets the tab index.- Parameters:
propertyName- the system name of the field.- Returns:
- the index of the tab.
-
setTabIndex
Sets the tab index of the field.- Parameters:
propertyName- the system name of the field.tabIndex- the index of the tab to set.
-
getAccessKey
Gets the access key.- Parameters:
propertyName- the system name of the field.- Returns:
- a
Stringobject.
-
setAccessKey
Sets the access key of the field.- Parameters:
propertyName- the system name of the field.accessKey- the access key to set.
-
getDefaultWidget
@Deprecated(since="2025.1", forRemoval=true) com.axemble.vdp.ui.framework.foundation.Widget getDefaultWidget(String propertyName) Deprecated, for removal: This API element is subject to removal in a future version.Use com.axemble.vdoc.sdk.interfaces.IResourceController#getDefaultIWidget(java.lang.String) instead.Gets the first writable field.- Parameters:
propertyName- the system name of the field.- Returns:
- a
Widgetobject.
-
getDefaultIWidget
Gets the first writable field.- Parameters:
propertyName- the system name of the field.- Returns:
- a
IWidgetobject.
-
showHeaderBlock
Allows to hide or display a specified element by its marker within the header.- Parameters:
marker- the system name of the marker.show- true or false.
-
showBodyBlock
Allows to hide or display a specified element by its marker within the body.- Parameters:
marker- the system name of the marker.show- true or false.
-
showHeaderSection
void showHeaderSection(boolean show) Allows to hide or display the header section.- Parameters:
show- true or false.
-
showHistorySection
void showHistorySection(boolean show) Allows to hide or display the history section.- Parameters:
show- true or false.
-
collapseSection
Show or collapse the content of a section in a form- Parameters:
identifier- the session's identifier (visible in the studio)collapse- true to collapse
-
setDocumentTitle
Sets the process document title.- Parameters:
newTitle- The new title to set.
-
setDocumentInformation
Sets the process document information message.- Parameters:
newInformation- The new information message to set.
-
showHelpButton
void showHelpButton(boolean show) Allows to hide or display the main help section.- Parameters:
show- true or false.
-
showPrintButton
void showPrintButton(boolean show) Allows to hide or display the print button.- Parameters:
show- true or false.
-
showBackToParentButton
void showBackToParentButton(boolean show) Allows to hide or display the back to parent button.- Parameters:
show- true or false.
-
alert
Allows to display an alert box.- Parameters:
message- The message to display.
-
alert
Allows to display an alert box and get notified on the CLICK event.- Parameters:
message- The message to display.listener- The listener object to handle events. Use AlertBoxListener
-
alert
@Deprecated(since="2025.1", forRemoval=true) void alert(String message, com.axemble.vdp.ui.framework.components.listeners.AlertBoxListener listener) Deprecated, for removal: This API element is subject to removal in a future version.recompilation needed in 2026 -
confirm
Allows to display a confirm box and interact with OK, CANCEL events.- Parameters:
message- The message to display.listener- The listener object to handle events. Use ConfirmBoxListener
-
confirm
@Deprecated(since="2025.1", forRemoval=true) void confirm(String message, com.axemble.vdp.ui.framework.components.listeners.ConfirmBoxListener listener) Deprecated, for removal: This API element is subject to removal in a future version.recompilation needed in 2026 -
popup
Allows to open a child window (as a popup window).- Parameters:
url- The url to load.
-
popup
Allows to open a child window (as a popup window) and specify the window.open parameters.- Parameters:
url- The url to load.parameters- The parameters of the window.open() method. Example : "800 ,600, 1, 1, 1, 0".
-
setHtml
Allows to fill an tag with HTML content.- Parameters:
id- Identifier of the tag.content- HTML description.
-