Package swiss.trustbroker.config.dto
Class Banner.BannerBuilder
java.lang.Object
swiss.trustbroker.config.dto.Banner.BannerBuilder
- Enclosing class:
Banner
-
Method Summary
Modifier and TypeMethodDescriptionbuild()collapseParagraphs(Boolean collapseParagraphs) Display banner paragraphs collapsed on a small screen.Banner is globally enabled, regardless tiles on the screen.Optional main image.Name of the banner used for referencing resources (texts, css class).Banner display order for global banners or if no order is defined for the CP.secondaryImages(List<String> secondaryImages) Optional list of secondary images.toString()
-
Method Details
-
name
Name of the banner used for referencing resources (texts, css class).- Returns:
this.
-
global
Banner is globally enabled, regardless tiles on the screen.- Returns:
this.
-
order
Banner display order for global banners or if no order is defined for the CP.
Influences which banners are shown if their number is limited.- Returns:
this.
-
collapseParagraphs
Display banner paragraphs collapsed on a small screen.
Default: true, disable if all information is required on small screens as well.- Returns:
this.- Since:
- v1.10.0 Previously named collapseParagraphsOnSmallScreen with default false.
-
mainImage
Optional main image.- Returns:
this.
-
secondaryImages
Optional list of secondary images.- Returns:
this.
-
build
-
toString
-