Package org.springframework.shell.style
Class ThemeSettings
java.lang.Object
org.springframework.shell.style.ThemeSettings
Base class defining a settings for themes.
-
Constructor Summary
ConstructorDescriptionCreates theme settings with dump styles and figures.ThemeSettings
(StyleSettings styleSettings) Creates theme settings with styles.ThemeSettings
(StyleSettings styleSettings, FigureSettings figureSettings) Creates theme settings with styles and figures.ThemeSettings
(StyleSettings styleSettings, FigureSettings figureSettings, SpinnerSettings spinnerSettings) Creates theme settings with styles, figures and spinners. -
Method Summary
Modifier and TypeMethodDescriptionstatic ThemeSettings
defaults()
Gets a default theme settings.static ThemeSettings
dump()
Gets a dump theme settings.figures()
Gets aFigureSettings
.spinners()
Gets aSpinnerSettings
.styles()
Gets aStyleSettings
.
-
Constructor Details
-
ThemeSettings
public ThemeSettings()Creates theme settings with dump styles and figures. -
ThemeSettings
Creates theme settings with styles.- Parameters:
styleSettings
- style settings
-
ThemeSettings
Creates theme settings with styles and figures.- Parameters:
styleSettings
- style settingsfigureSettings
- figure settings
-
ThemeSettings
public ThemeSettings(StyleSettings styleSettings, FigureSettings figureSettings, SpinnerSettings spinnerSettings) Creates theme settings with styles, figures and spinners.- Parameters:
styleSettings
- style settingsfigureSettings
- figure settingsspinnerSettings
- spinner settings
-
-
Method Details
-
styles
Gets aStyleSettings
.- Returns:
- style settings
-
figures
Gets aFigureSettings
.- Returns:
- figure settings
-
spinners
Gets aSpinnerSettings
.- Returns:
- spinner settings
-
defaults
Gets a default theme settings.- Returns:
- default theme settings
-
dump
Gets a dump theme settings.- Returns:
- dump theme settings
-