Class ButtonDelegateDS
java.lang.Object
com.aquima.interactions.foundation.report.ReportingDelegateDS
com.aquima.interactions.composer.ds.delegate.ButtonDelegateDS
- All Implemented Interfaces:
IButtonDS
,IElementDS
,IReportingDS
- Direct Known Subclasses:
ButtonDS
Delegate datasource for easy datasource extension. All method calls are delegated to the delegate datasource without
adding any functionality.
- Since:
- 8.4
- Author:
- Jon van Leuven
-
Constructor Summary
ConstructorsConstructorDescriptionButtonDelegateDS
(IButtonDS datasource) Construct a datasource that delegates all method calls to the provided datasource. -
Method Summary
Modifier and TypeMethodDescriptionThis method returns the text object that should be used as caption for the button.getName()
This method returns the (unique) name of the element.String[]
This method returns the presentation styles that should be used when including the content element that is referred to.Methods inherited from class com.aquima.interactions.foundation.report.ReportingDelegateDS
addMessage
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.aquima.interactions.foundation.report.IReportingDS
addMessage
-
Constructor Details
-
ButtonDelegateDS
Construct a datasource that delegates all method calls to the provided datasource.- Parameters:
datasource
- The delegate visitor, may not be null
-
-
Method Details
-
getCaption
Description copied from interface:IButtonDS
This method returns the text object that should be used as caption for the button. The text object may contain expressions, as it will be parsed during initialization to a IDynamicText object.- Specified by:
getCaption
in interfaceIButtonDS
- Returns:
- the text object that should be used as caption for the button.
-
getName
Description copied from interface:IElementDS
This method returns the (unique) name of the element. The name is required when adding the content as a definition to the composer, but it is optional when the element is added directly as inline sub-content.- Specified by:
getName
in interfaceIElementDS
- Returns:
- the (unique) name of the element.
-
getPresentationStyles
Description copied from interface:IElementDS
This method returns the presentation styles that should be used when including the content element that is referred to.- Specified by:
getPresentationStyles
in interfaceIElementDS
- Returns:
- the presentation styles that should be used when including the content element that is referred to.
-