Class ThemeConfiguration
java.lang.Object
io.goobi.viewer.model.viewer.themes.ThemeConfiguration
- Author:
- florian
-
Constructor Summary
ConstructorDescriptionCreates the internal lists for theme linksThemeConfiguration
(String themeName) sets the name and calls default constructor -
Method Summary
Modifier and TypeMethodDescriptiongetFooterLink
(ThemeLink.InternalService service) getFooterLinkUrlOrDefault
(ThemeLink.InternalService service, String defaultValue) getIcon()
getId()
getLabel()
getLogo()
getName()
getSocialMediaLinkUrlOrDefault
(ThemeLink.SocialMediaService service, String defaultValue) void
setFooterLinks
(List<ThemeLink> footerLinks) void
void
setSocialMediaUrls
(List<ThemeLink> socialMediaUrls) void
setStyleSheet
(String styleSheet)
-
Constructor Details
-
ThemeConfiguration
public ThemeConfiguration()Creates the internal lists for theme links -
ThemeConfiguration
sets the name and calls default constructor- Parameters:
themeName
-
-
ThemeConfiguration
- Parameters:
orig
-
-
-
Method Details
-
getLabel
- Returns:
- the label
-
setLabel
- Parameters:
label
- the label to set
-
getStyleSheet
- Returns:
- the styleSheet
-
setStyleSheet
- Parameters:
styleSheet
- the styleSheet to set
-
getSocialMediaUrls
- Returns:
- the socialMediaUrls
-
setSocialMediaUrls
- Parameters:
socialMediaUrls
- the socialMediaUrls to set
-
getName
- Returns:
- the name
-
getId
- Returns:
- the id
-
getSocialMediaLink
-
getSocialMediaLinkUrlOrDefault
public String getSocialMediaLinkUrlOrDefault(ThemeLink.SocialMediaService service, String defaultValue) -
getLogo
-
getFullscreenLogo
-
getIcon
-