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
Modifier and TypeFieldDescriptionprotected com.axemble.vdp.ui.core.providers.INavigationListenerImpl
protected GenericResource
Fields inherited from class com.axemble.vdoc.sdk.impl.AbstractElement
module
Fields inherited from interface com.axemble.vdoc.sdk.interfaces.IResourceController
BOTTOM_CONTAINER, TOP_CONTAINER
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
collapseSection
(String identifier, boolean collapse) Show or collapse the content of a section in a formcom.axemble.vdp.ui.framework.widgets.CtlButton
getBottomButton
(String buttonName) Gets a button from the bottom container.com.axemble.vdp.ui.framework.runtime.NamedContainer
getButtonContainer
(int container) Gets a button container by selecting either the top or bottom container.com.axemble.vdp.ui.framework.foundation.Widget
getDefaultWidget
(String propertyName) Gets the first writable field.com.axemble.vdp.ui.framework.widgets.CtlButton
getTopButton
(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) void
setDocumentInformation
(String newInformation) Sets the process document information message.void
setDocumentTitle
(String newTitle) Sets the process document title.void
Allows to fill an tag with HTML content.final void
setMandatory
(String propertyName, boolean mandatory) Set to mandatory a specified field.final void
setMandatory
(String fragmentName, String propertyName, boolean mandatory) Set to mandatory a specified field in a fragment.void
showBackToParentButton
(boolean show) Allows to hide or display the back to parent button.void
showBodyBlock
(String marker, boolean show) Allows to hide or display a specified element by its marker within the body.void
showHeaderBlock
(String marker, boolean show) Allows to hide or display a specified element by its marker within the header.void
showHeaderSection
(boolean show) Allows to hide or display the header section.void
showHelpButton
(boolean show) Allows to hide or display the main help section.void
showHistorySection
(boolean show) Allows to hide or display the history section.void
showPrintButton
(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, setThrowEvents
Methods inherited from class com.axemble.vdoc.sdk.impl.AbstractElement
getModule
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:IResourceController
Gets a button container by selecting either the top or bottom container.- Specified by:
getButtonContainer
in interfaceIResourceController
- Parameters:
container
- either one of the following values :- IResourceController.TOP_CONTAINER (value 1)
- IResourceController.BOTTOM_CONTAINER (value 2)
- Returns:
- a
NamedContainer
object.
-
getTopButton
Description copied from interface:IResourceController
Gets a button from the top container.- Specified by:
getTopButton
in interfaceIResourceController
- Specified by:
getTopButton
in classBaseResourceController
- Parameters:
buttonName
- the system name of the button.- Returns:
- a
CtlButton
object.
-
getBottomButton
Description copied from interface:IResourceController
Gets a button from the bottom container.- Specified by:
getBottomButton
in interfaceIResourceController
- Specified by:
getBottomButton
in classBaseResourceController
- Parameters:
buttonName
- the system name of the button.- Returns:
- a
CtlButton
object.
-
getDefaultWidget
Description copied from interface:IResourceController
Gets the first writable field.- Specified by:
getDefaultWidget
in interfaceIResourceController
- Specified by:
getDefaultWidget
in classBaseResourceController
- Parameters:
propertyName
- the system name of the field.- Returns:
- a
Widget
object.
-
getWidgets
- Specified by:
getWidgets
in classBaseResourceController
-
getWidgets
public Collection<com.axemble.vdp.ui.framework.foundation.Widget> getWidgets(String marker, String propertyName) - Specified by:
getWidgets
in classBaseResourceController
-
setDocumentInformation
Description copied from interface:IResourceController
Sets the process document information message.- Specified by:
setDocumentInformation
in interfaceIResourceController
- Parameters:
newInformation
- The new information message to set.
-
setDocumentTitle
Description copied from interface:IResourceController
Sets the process document title.- Specified by:
setDocumentTitle
in interfaceIResourceController
- Parameters:
newTitle
- The new title to set.
-
showBodyBlock
Description copied from interface:IResourceController
Allows to hide or display a specified element by its marker within the body.- Specified by:
showBodyBlock
in interfaceIResourceController
- Parameters:
marker
- the system name of the marker.show
- true or false.
-
showHeaderBlock
Description copied from interface:IResourceController
Allows to hide or display a specified element by its marker within the header.- Specified by:
showHeaderBlock
in interfaceIResourceController
- Parameters:
marker
- the system name of the marker.show
- true or false.
-
showHeaderSection
public void showHeaderSection(boolean show) Description copied from interface:IResourceController
Allows to hide or display the header section.- Specified by:
showHeaderSection
in interfaceIResourceController
- Parameters:
show
- true or false.
-
showHelpButton
public void showHelpButton(boolean show) Description copied from interface:IResourceController
Allows to hide or display the main help section.- Specified by:
showHelpButton
in interfaceIResourceController
- Parameters:
show
- true or false.
-
showPrintButton
public void showPrintButton(boolean show) Description copied from interface:IResourceController
Allows to hide or display the print button.- Specified by:
showPrintButton
in interfaceIResourceController
- Parameters:
show
- true or false.
-
showBackToParentButton
public void showBackToParentButton(boolean show) Description copied from interface:IResourceController
Allows to hide or display the back to parent button.- Specified by:
showBackToParentButton
in interfaceIResourceController
- Parameters:
show
- true or false.
-
showHistorySection
public void showHistorySection(boolean show) Description copied from interface:IResourceController
Allows to hide or display the history section.- Specified by:
showHistorySection
in interfaceIResourceController
- Parameters:
show
- true or false.
-
collapseSection
Description copied from interface:IResourceController
Show or collapse the content of a section in a form- Specified by:
collapseSection
in interfaceIResourceController
- Parameters:
identifier
- the session's identifier (visible in the studio)collapse
- true to collapse
-
setHtml
Description copied from interface:IResourceController
Allows to fill an tag with HTML content.- Specified by:
setHtml
in interfaceIResourceController
- Parameters:
id
- Identifier of the tag.content
- HTML description.
-
setMandatory
Description copied from interface:IResourceController
Set to mandatory a specified field.- Specified by:
setMandatory
in interfaceIResourceController
- Parameters:
propertyName
- the system name of the field.mandatory
- true or false.
-
setMandatory
Description copied from interface:IResourceController
Set to mandatory a specified field in a fragment.- Specified by:
setMandatory
in interfaceIResourceController
- Parameters:
fragmentName
- the system name of the fragmentpropertyName
- the system name of the field.mandatory
- true or false.
-