Package com.axemble.vdoc.sdk.impl
Class ScreenResourceController
java.lang.Object
com.axemble.vdoc.sdk.impl.AbstractElement
com.axemble.vdoc.sdk.impl.BaseResourceController
com.axemble.vdoc.sdk.impl.ScreenResourceController
- All Implemented Interfaces:
- IController,- IResourceController,- Serializable
Resource controller for external IHM manipulation
- Author:
- vlygeros
- See Also:
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected com.axemble.vdp.ui.core.providers.INavigationListenerImplprotected GenericResourceFields inherited from class com.axemble.vdoc.sdk.impl.AbstractElementmoduleFields inherited from interface com.axemble.vdoc.sdk.interfaces.IResourceControllerBOTTOM_CONTAINER, TOP_CONTAINER
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidcollapseSection(String identifier, boolean collapse) Show or collapse the content of a section in a formcom.axemble.vdp.ui.framework.widgets.CtlButtongetBottomButton(String buttonName) Gets a button from the bottom 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.com.axemble.vdp.ui.framework.widgets.CtlButtongetTopButton(String buttonName) Gets a button from the top container.Collection<com.axemble.vdp.ui.framework.foundation.Widget> getWidgets(String propertyName) Collection<com.axemble.vdp.ui.framework.foundation.Widget> getWidgets(String marker, String propertyName) voidsetDocumentInformation(String newInformation) Sets the process document information message.voidsetDocumentTitle(String newTitle) Sets the process document title.voidAllows to fill an tag with HTML content.final voidsetMandatory(String propertyName, boolean mandatory) Set to mandatory a specified field.final voidsetMandatory(String fragmentName, String propertyName, boolean mandatory) Set to mandatory a specified field in a fragment.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.Methods inherited from class com.axemble.vdoc.sdk.impl.BaseResourceControlleralert, alert, confirm, execute, getAccessKey, getButton, getTabIndex, inform, inform, isAllEditable, isAllHidden, isAllMandatory, isEditable, isHidden, isMandatory, popup, popup, setAccessKey, setEditable, setEditable, setHidden, setHidden, setTabIndex, setThrowEvents, setThrowEventsMethods inherited from class com.axemble.vdoc.sdk.impl.AbstractElementgetModuleMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.axemble.vdoc.sdk.interfaces.IResourceControlleralert, alert, confirm, execute, getAccessKey, getButton, getTabIndex, inform, inform, isAllEditable, isAllHidden, isAllMandatory, isEditable, isHidden, isMandatory, popup, popup, setAccessKey, setEditable, setEditable, setHidden, setHidden, setTabIndex, setThrowEvents, setThrowEvents
- 
Field Details- 
resource
 
- 
- 
Constructor Details- 
ScreenResourceControllerConstructor- Parameters:
- module- the module
- resource- the resource
 
 
- 
- 
Method Details- 
getButtonContainerpublic com.axemble.vdp.ui.framework.runtime.NamedContainer getButtonContainer(int container) Description copied from interface:IResourceControllerGets a button container by selecting either the top or bottom container.- Specified by:
- getButtonContainerin interface- IResourceController
- Parameters:
- container- either one of the following values :- IResourceController.TOP_CONTAINER (value 1)
- IResourceController.BOTTOM_CONTAINER (value 2)
 
- Returns:
- a NamedContainerobject.
 
- 
getTopButtonDescription copied from interface:IResourceControllerGets a button from the top container.- Specified by:
- getTopButtonin interface- IResourceController
- Specified by:
- getTopButtonin class- BaseResourceController
- Parameters:
- buttonName- the system name of the button.
- Returns:
- a CtlButtonobject.
 
- 
getBottomButtonDescription copied from interface:IResourceControllerGets a button from the bottom container.- Specified by:
- getBottomButtonin interface- IResourceController
- Specified by:
- getBottomButtonin class- BaseResourceController
- Parameters:
- buttonName- the system name of the button.
- Returns:
- a CtlButtonobject.
 
- 
getDefaultWidgetDescription copied from interface:IResourceControllerGets the first writable field.- Specified by:
- getDefaultWidgetin interface- IResourceController
- Specified by:
- getDefaultWidgetin class- BaseResourceController
- Parameters:
- propertyName- the system name of the field.
- Returns:
- a Widgetobject.
 
- 
getWidgets- Specified by:
- getWidgetsin class- BaseResourceController
 
- 
getWidgetspublic Collection<com.axemble.vdp.ui.framework.foundation.Widget> getWidgets(String marker, String propertyName) - Specified by:
- getWidgetsin class- BaseResourceController
 
- 
setDocumentInformationDescription copied from interface:IResourceControllerSets the process document information message.- Specified by:
- setDocumentInformationin interface- IResourceController
- Parameters:
- newInformation- The new information message to set.
 
- 
setDocumentTitleDescription copied from interface:IResourceControllerSets the process document title.- Specified by:
- setDocumentTitlein interface- IResourceController
- Parameters:
- newTitle- The new title to set.
 
- 
showBodyBlockDescription copied from interface:IResourceControllerAllows to hide or display a specified element by its marker within the body.- Specified by:
- showBodyBlockin interface- IResourceController
- Parameters:
- marker- the system name of the marker.
- show- true or false.
 
- 
showHeaderBlockDescription copied from interface:IResourceControllerAllows to hide or display a specified element by its marker within the header.- Specified by:
- showHeaderBlockin interface- IResourceController
- Parameters:
- marker- the system name of the marker.
- show- true or false.
 
- 
showHeaderSectionpublic void showHeaderSection(boolean show) Description copied from interface:IResourceControllerAllows to hide or display the header section.- Specified by:
- showHeaderSectionin interface- IResourceController
- Parameters:
- show- true or false.
 
- 
showHelpButtonpublic void showHelpButton(boolean show) Description copied from interface:IResourceControllerAllows to hide or display the main help section.- Specified by:
- showHelpButtonin interface- IResourceController
- Parameters:
- show- true or false.
 
- 
showPrintButtonpublic void showPrintButton(boolean show) Description copied from interface:IResourceControllerAllows to hide or display the print button.- Specified by:
- showPrintButtonin interface- IResourceController
- Parameters:
- show- true or false.
 
- 
showBackToParentButtonpublic void showBackToParentButton(boolean show) Description copied from interface:IResourceControllerAllows to hide or display the back to parent button.- Specified by:
- showBackToParentButtonin interface- IResourceController
- Parameters:
- show- true or false.
 
- 
showHistorySectionpublic void showHistorySection(boolean show) Description copied from interface:IResourceControllerAllows to hide or display the history section.- Specified by:
- showHistorySectionin interface- IResourceController
- Parameters:
- show- true or false.
 
- 
collapseSectionDescription copied from interface:IResourceControllerShow or collapse the content of a section in a form- Specified by:
- collapseSectionin interface- IResourceController
- Parameters:
- identifier- the session's identifier (visible in the studio)
- collapse- true to collapse
 
- 
setHtmlDescription copied from interface:IResourceControllerAllows to fill an tag with HTML content.- Specified by:
- setHtmlin interface- IResourceController
- Parameters:
- id- Identifier of the tag.
- content- HTML description.
 
- 
setMandatoryDescription copied from interface:IResourceControllerSet to mandatory a specified field.- Specified by:
- setMandatoryin interface- IResourceController
- Parameters:
- propertyName- the system name of the field.
- mandatory- true or false.
 
- 
setMandatoryDescription copied from interface:IResourceControllerSet to mandatory a specified field in a fragment.- Specified by:
- setMandatoryin interface- IResourceController
- Parameters:
- fragmentName- the system name of the fragment
- propertyName- the system name of the field.
- mandatory- true or false.
 
 
-