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 SummaryFieldsModifier and TypeFieldDescriptionstatic final intThe identifier of the bottom container.static final intThe identifier of the top container.
- 
Method SummaryModifier and TypeMethodDescriptionvoidAllows to display an alert box.voidAllows to display an alert box and get notified on the CLICK event.voidcollapseSection(String identifier, boolean collapse) Show or collapse the content of a section in a formvoidconfirm(String message, com.axemble.vdp.ui.framework.components.listeners.ConfirmBoxListener listener) Allows to display a confirm box and interact with OK, CANCEL events.voidexecute(com.axemble.vdp.ui.framework.widgets.CtlButton button) Executes the button as if that was the logged on user.getAccessKey(String propertyName) Gets the access key.com.axemble.vdp.ui.framework.widgets.CtlButtongetBottomButton(String buttonName) Gets a button from the bottom container.com.axemble.vdp.ui.framework.widgets.CtlButtonGets a button from the specified container.com.axemble.vdp.ui.framework.runtime.NamedContainergetButtonContainer(int container) Gets a button container by selecting either the top or bottom container.com.axemble.vdp.ui.framework.foundation.WidgetgetDefaultWidget(String propertyName) Gets the first writable field.intgetTabIndex(String propertyName) Gets the tab index.com.axemble.vdp.ui.framework.widgets.CtlButtongetTopButton(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_CONTAINERstatic final int TOP_CONTAINERThe identifier of the top container.- See Also:
 
- 
BOTTOM_CONTAINERstatic final int BOTTOM_CONTAINERThe identifier of the bottom container.- See Also:
 
 
- 
- 
Method Details- 
getTopButtonGets a button from the top container.- Parameters:
- buttonName- the system name of the button.
- Returns:
- a CtlButtonobject.
 
- 
getBottomButtonGets a button from the bottom container.- Parameters:
- buttonName- the system name of the button.
- Returns:
- a CtlButtonobject.
 
- 
getButtonGets 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.
 
- 
getButtonContainercom.axemble.vdp.ui.framework.runtime.NamedContainer getButtonContainer(int container) 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.
 
- 
executevoid execute(com.axemble.vdp.ui.framework.widgets.CtlButton button) Executes the button as if that was the logged on user.- Parameters:
- button- the- CtlButtonobject.
 
- 
setMandatorySet to mandatory a specified field.- Parameters:
- propertyName- the system name of the field.
- mandatory- true or false.
 
- 
setMandatorySet to mandatory a specified field in a fragment.- Parameters:
- fragmentName- the system name of the fragment
- propertyName- the system name of the field.
- mandatory- true or false.
 
- 
isMandatoryChecks if a specified field is mandatory.- Parameters:
- propertyName- the system name of the field.
- Returns:
- true or false.
 
- 
isAllMandatoryChecks if all specified fields are mandatory in a specified fragment.- Parameters:
- fragmentName- the fragment's name
- propertyName- the system name of the field.
- Returns:
- true or false.
 
- 
setHiddenHide a specified field.- Parameters:
- propertyName- the system name of the field.
- hidden- true to hide
 
- 
setHiddenHide a specified field in a specified fragment.- Parameters:
- fragmentName- the system name of the fragment
- propertyName- the system name of the field.
- hidden- true to hide
 
- 
isHiddenChecks if a specified field is hidden.- Parameters:
- propertyName- the system name of the field.
- Returns:
- true or false.
 
- 
isAllHiddenChecks if all specified fields are hidden in a specified fragment.- Parameters:
- fragmentName- the fragment's name
- propertyName- the system name of the field.
- Returns:
- true or false.
 
- 
setEditableSets to writable a specified field.- Parameters:
- propertyName- the system name of the field.
- editable- true to be editable
 
- 
setEditableSets to writable a specified field in a fragment.- Parameters:
- fragmentName- the system name of the fragment
- propertyName- the system name of the field.
- editable- true to be editable
 
- 
isEditableChecks if a specified field is writable.- Parameters:
- propertyName- the property's name
- Returns:
- true or false.
 
- 
isAllEditableChecks if all specified fields are editable in a specified fragment.- Parameters:
- fragmentName- the fragment's name
- propertyName- the system name of the field.
- Returns:
- true or false.
 
- 
setThrowEventsAllow the field to post-back to the server.- Parameters:
- propertyName- the system name of the field.
- throwEvents- true or false.
 
- 
setThrowEventsAllow the field in a specified fragment to post-back to the server.- Parameters:
- fragment- the system name of the fragment
- propertyName- the system name of the field.
- throwEvents- true or false.
 
- 
informAllow to set a message underneath the field widget.- Parameters:
- propertyName- the system name of the field.
- message- the message to display.
 
- 
informAllow to set a message underneath the field widget in a specified fragment.- Parameters:
- fragmentName- the system name of the fragment
- propertyName- the system name of the field.
- message- the message to display.
 
- 
getTabIndexGets the tab index.- Parameters:
- propertyName- the system name of the field.
- Returns:
- the index of the tab.
 
- 
setTabIndexSets the tab index of the field.- Parameters:
- propertyName- the system name of the field.
- tabIndex- the index of the tab to set.
 
- 
getAccessKeyGets the access key.- Parameters:
- propertyName- the system name of the field.
- Returns:
- a Stringobject.
 
- 
setAccessKeySets the access key of the field.- Parameters:
- propertyName- the system name of the field.
- accessKey- the access key to set.
 
- 
getDefaultWidgetGets the first writable field.- Parameters:
- propertyName- the system name of the field.
- Returns:
- a Widgetobject.
 
- 
showHeaderBlockAllows 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.
 
- 
showBodyBlockAllows 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.
 
- 
showHeaderSectionvoid showHeaderSection(boolean show) Allows to hide or display the header section.- Parameters:
- show- true or false.
 
- 
showHistorySectionvoid showHistorySection(boolean show) Allows to hide or display the history section.- Parameters:
- show- true or false.
 
- 
collapseSectionShow or collapse the content of a section in a form- Parameters:
- identifier- the session's identifier (visible in the studio)
- collapse- true to collapse
 
- 
setDocumentTitleSets the process document title.- Parameters:
- newTitle- The new title to set.
 
- 
setDocumentInformationSets the process document information message.- Parameters:
- newInformation- The new information message to set.
 
- 
showHelpButtonvoid showHelpButton(boolean show) Allows to hide or display the main help section.- Parameters:
- show- true or false.
 
- 
showPrintButtonvoid showPrintButton(boolean show) Allows to hide or display the print button.- Parameters:
- show- true or false.
 
- 
showBackToParentButtonvoid showBackToParentButton(boolean show) Allows to hide or display the back to parent button.- Parameters:
- show- true or false.
 
- 
alertAllows to display an alert box.- Parameters:
- message- The message to display.
 
- 
alertvoid alert(String message, com.axemble.vdp.ui.framework.components.listeners.AlertBoxListener listener) 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.
 
- 
confirmvoid confirm(String message, com.axemble.vdp.ui.framework.components.listeners.ConfirmBoxListener listener) 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.
 
- 
popupAllows to open a child window (as a popup window).- Parameters:
- url- The url to load.
 
- 
popupAllows 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".
 
- 
setHtmlAllows to fill an tag with HTML content.- Parameters:
- id- Identifier of the tag.
- content- HTML description.
 
 
-