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 Summary
FieldsModifier and TypeFieldDescriptionprotected com.axemble.vdp.ui.core.providers.INavigationListenerImplprotected GenericResourceFields inherited from class com.axemble.vdoc.sdk.impl.AbstractElement
moduleFields inherited from interface com.axemble.vdoc.sdk.interfaces.IResourceController
BOTTOM_CONTAINER, TOP_CONTAINER -
Constructor Summary
Constructors -
Method Summary
Modifier 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.BaseResourceController
alert, 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.AbstractElement
getModuleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.axemble.vdoc.sdk.interfaces.IResourceController
alert, 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
-
ScreenResourceController
Constructor- Parameters:
module- the moduleresource- the resource
-
-
Method Details
-
getButtonContainer
public 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 interfaceIResourceController- Parameters:
container- either one of the following values :- IResourceController.TOP_CONTAINER (value 1)
- IResourceController.BOTTOM_CONTAINER (value 2)
- Returns:
- a
NamedContainerobject.
-
getTopButton
Description copied from interface:IResourceControllerGets a button from the top container.- Specified by:
getTopButtonin interfaceIResourceController- Specified by:
getTopButtonin classBaseResourceController- Parameters:
buttonName- the system name of the button.- Returns:
- a
CtlButtonobject.
-
getBottomButton
Description copied from interface:IResourceControllerGets a button from the bottom container.- Specified by:
getBottomButtonin interfaceIResourceController- Specified by:
getBottomButtonin classBaseResourceController- Parameters:
buttonName- the system name of the button.- Returns:
- a
CtlButtonobject.
-
getDefaultWidget
Description copied from interface:IResourceControllerGets the first writable field.- Specified by:
getDefaultWidgetin interfaceIResourceController- Specified by:
getDefaultWidgetin classBaseResourceController- Parameters:
propertyName- the system name of the field.- Returns:
- a
Widgetobject.
-
getWidgets
- Specified by:
getWidgetsin classBaseResourceController
-
getWidgets
public Collection<com.axemble.vdp.ui.framework.foundation.Widget> getWidgets(String marker, String propertyName) - Specified by:
getWidgetsin classBaseResourceController
-
setDocumentInformation
Description copied from interface:IResourceControllerSets the process document information message.- Specified by:
setDocumentInformationin interfaceIResourceController- Parameters:
newInformation- The new information message to set.
-
setDocumentTitle
Description copied from interface:IResourceControllerSets the process document title.- Specified by:
setDocumentTitlein interfaceIResourceController- Parameters:
newTitle- The new title to set.
-
showBodyBlock
Description copied from interface:IResourceControllerAllows to hide or display a specified element by its marker within the body.- Specified by:
showBodyBlockin interfaceIResourceController- Parameters:
marker- the system name of the marker.show- true or false.
-
showHeaderBlock
Description copied from interface:IResourceControllerAllows to hide or display a specified element by its marker within the header.- Specified by:
showHeaderBlockin interfaceIResourceController- Parameters:
marker- the system name of the marker.show- true or false.
-
showHeaderSection
public void showHeaderSection(boolean show) Description copied from interface:IResourceControllerAllows to hide or display the header section.- Specified by:
showHeaderSectionin interfaceIResourceController- Parameters:
show- true or false.
-
showHelpButton
public void showHelpButton(boolean show) Description copied from interface:IResourceControllerAllows to hide or display the main help section.- Specified by:
showHelpButtonin interfaceIResourceController- Parameters:
show- true or false.
-
showPrintButton
public void showPrintButton(boolean show) Description copied from interface:IResourceControllerAllows to hide or display the print button.- Specified by:
showPrintButtonin interfaceIResourceController- Parameters:
show- true or false.
-
showBackToParentButton
public void showBackToParentButton(boolean show) Description copied from interface:IResourceControllerAllows to hide or display the back to parent button.- Specified by:
showBackToParentButtonin interfaceIResourceController- Parameters:
show- true or false.
-
showHistorySection
public void showHistorySection(boolean show) Description copied from interface:IResourceControllerAllows to hide or display the history section.- Specified by:
showHistorySectionin interfaceIResourceController- Parameters:
show- true or false.
-
collapseSection
Description copied from interface:IResourceControllerShow or collapse the content of a section in a form- Specified by:
collapseSectionin interfaceIResourceController- Parameters:
identifier- the session's identifier (visible in the studio)collapse- true to collapse
-
setHtml
Description copied from interface:IResourceControllerAllows to fill an tag with HTML content.- Specified by:
setHtmlin interfaceIResourceController- Parameters:
id- Identifier of the tag.content- HTML description.
-
setMandatory
Description copied from interface:IResourceControllerSet to mandatory a specified field.- Specified by:
setMandatoryin interfaceIResourceController- Parameters:
propertyName- the system name of the field.mandatory- true or false.
-
setMandatory
Description copied from interface:IResourceControllerSet to mandatory a specified field in a fragment.- Specified by:
setMandatoryin interfaceIResourceController- Parameters:
fragmentName- the system name of the fragmentpropertyName- the system name of the field.mandatory- true or false.
-