Class ElementReference
java.lang.Object
com.aquima.interactions.test.templates.AbstractReportingTemplate
com.aquima.interactions.test.templates.composer.ElementReference
- Direct Known Subclasses:
AssetReference
,ButtonReference
,Reference
Base class for reference templates.
- Since:
- 6.0
- Author:
- O. Kerpershoek
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
ElementReference
(com.aquima.interactions.foundation.report.IInitializationReport report, String name) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addPresentationStyle
(String style) This method may be used to add a style of the referred element.void
addPresentationStyle
(String precondition, String style) protected String
protected String
protected String
getName()
protected String
getPresentationStyleCondition
(String presentationStyle) protected String[]
protected String
void
setCondition
(String condition) This method may be used to override the condition that should be used to determine if the referred element is visible.void
setPresentationStyle
(String style) This method may be used to override the style of the referred element.void
setPresentationStyle
(String precondition, String style) void
setReadonly
(boolean readOnly) This method may be used to specify if the referred element is read-only.void
setReadonlyCondition
(String condition) This method may be used to override the condition that should be used to determine if the referred element is read-only.abstract com.aquima.interactions.composer.ds.IReferenceDS
This method converts the template to a data source that can be used to initialize a containment reference.Methods inherited from class com.aquima.interactions.test.templates.AbstractReportingTemplate
getInitializationReport
-
Constructor Details
-
ElementReference
protected ElementReference(com.aquima.interactions.foundation.report.IInitializationReport report, String name)
-
-
Method Details
-
setPresentationStyle
This method may be used to override the style of the referred element.- Parameters:
style
- the style of the referred element.
-
setPresentationStyle
-
addPresentationStyle
This method may be used to add a style of the referred element.- Parameters:
style
- add the style of the referred element.
-
addPresentationStyle
-
getPresentationStyles
-
getPresentationStyleCondition
-
setReadonly
public void setReadonly(boolean readOnly) This method may be used to specify if the referred element is read-only.- Parameters:
readOnly
- Boolean indicating if the referred element is read-only.
-
getReadonlyCondition
-
setReadonlyCondition
This method may be used to override the condition that should be used to determine if the referred element is read-only.- Parameters:
condition
- the condition that should be used to determine if the referred element is read-only.
-
getCondition
-
setCondition
This method may be used to override the condition that should be used to determine if the referred element is visible.- Parameters:
condition
- the condition that should be used to determine if the referred element is visible.
-
getName
-
toDataSource
public abstract com.aquima.interactions.composer.ds.IReferenceDS toDataSource()This method converts the template to a data source that can be used to initialize a containment reference.- Returns:
- a data source that can be used to initialize a containment reference.
-
getContentStyle
-