Uses of Class
io.mindspice.simplypages.builders.BannerBuilder
Packages that use BannerBuilder
-
Uses of BannerBuilder in io.mindspice.simplypages.builders
Methods in io.mindspice.simplypages.builders that return BannerBuilderModifier and TypeMethodDescriptionstatic BannerBuilderBannerBuilder.create()Creates a new builder.BannerBuilder.withBackgroundColor(String color) Sets a trusted CSS background-color value.BannerBuilder.withBackgroundImage(String imageUrl) Sets a background image for IMAGE_OVERLAY.Add custom CSS class.BannerBuilder.withCustomContent(Component content) Add custom content to the banner (overrides title/subtitle).Adds an image/logo for HORIZONTAL layout.BannerBuilder.withImageSize(int width, int height) Set image dimensions.BannerBuilder.withLayout(BannerBuilder.BannerLayout layout) Set the banner layout mode.BannerBuilder.withMinHeight(int height) Set minimum height in pixels (useful for IMAGE_OVERLAY).BannerBuilder.withSubtitle(String subtitle) Set the banner subtitle.BannerBuilder.withTextAlignment(BannerBuilder.TextAlignment alignment) Set text alignment (used with IMAGE_OVERLAY layout).BannerBuilder.withTextColor(String color) Sets a trusted CSS color value.Set the banner title.