Package io.jmix.ui.app.themesettings
Class ThemeSettingsScreen
java.lang.Object
io.jmix.ui.screen.Screen
io.jmix.ui.app.themesettings.ThemeSettingsScreen
- All Implemented Interfaces:
FrameOwner
@Route("theme-settings")
@UiController("themeSettingsScreen")
@UiDescriptor("theme-settings-screen.xml")
public class ThemeSettingsScreen
extends Screen
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.ui.screen.Screen
Screen.AfterCloseEvent, Screen.AfterDetachEvent, Screen.AfterInitEvent, Screen.AfterShowEvent, Screen.BeforeCloseEvent, Screen.BeforeShowEvent, Screen.InitEvent
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
protected CheckBoxGroup<String>
protected ScrollBoxLayout
protected MessageBundle
protected RadioButtonGroup<String>
protected Notifications
protected GroupBoxLayout
protected RadioButtonGroup<String>
protected boolean
protected RadioButtonGroup<String>
protected TabSheet
protected TabSheet
protected UiComponents
protected UiThemeProperties
protected ThemeVariantsManager
Fields inherited from interface io.jmix.ui.screen.FrameOwner
NO_OPTIONS, WINDOW_CLOSE_ACTION, WINDOW_COMMIT_AND_CLOSE_ACTION, WINDOW_DISCARD_AND_CLOSE_ACTION
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected void
protected void
protected void
protected void
protected void
protected void
protected String
void
onAfterShow
(Screen.AfterShowEvent event) void
onApplyBtnClick
(Button.ClickEvent event) void
onInit
(Screen.InitEvent event) void
void
protected String
Methods inherited from class io.jmix.ui.screen.Screen
addAfterCloseListener, addAfterDetachListener, addAfterInitListener, addAfterShowListener, addBeforeCloseListener, addBeforeShowListener, addInitListener, addUrlParamsChangeListener, close, close, closeWithDefaultAction, fireEvent, getApplicationContext, getEventHub, getExtensions, getId, getScreenData, getUiEventListeners, getWindow, isMultipleOpen, isSameScreen, isScreenAction, setApplicationContext, setExtensions, setId, setScreenData, setUiEventListeners, setWindow, show
-
Field Details
-
modeField
-
sizeField
-
previewBox
-
innerPreviewBox
-
requiredComboBox
-
comboBox
-
radioButtonGroup
-
checkBoxGroup
-
tabSheet
-
tabSheetFramed
-
variantsManager
-
uiComponents
-
messageBundle
-
notifications
-
uiThemeProperties
-
appWindowTheme
-
settingsAvailable
protected boolean settingsAvailable
-
-
Constructor Details
-
ThemeSettingsScreen
public ThemeSettingsScreen()
-
-
Method Details
-
onInit
-
onAfterShow
-
checkSettingsAvailable
protected void checkSettingsAvailable() -
initOptions
protected void initOptions() -
generateSampleOptions
-
initModeField
protected void initModeField() -
modeFieldOptionCaptionProvider
-
initSizeField
protected void initSizeField() -
sizeFieldOptionCaptionProvider
-
initTabSheets
protected void initTabSheets() -
onApplyBtnClick
-
applyThemeMode
protected void applyThemeMode() -
applyThemeSize
protected void applyThemeSize() -
onModeFieldValueChange
-
onSizeFieldValueChange
-