Class ThemeSettingController

java.lang.Object
org.zkoss.zk.ui.event.GenericEventListener
org.zkoss.zk.ui.util.GenericComposer<T>
org.zkoss.zk.ui.util.GenericAutowireComposer<T>
org.zkoss.zk.ui.util.GenericForwardComposer<org.zkoss.zk.ui.Component>
com.hybris.cockpitng.util.ViewAnnotationAwareComposer
com.hybris.cockpitng.util.DefaultWidgetController
com.hybris.backoffice.widgets.branding.themesetting.ThemeSettingController
All Implemented Interfaces:
com.hybris.cockpitng.core.WidgetController, com.hybris.cockpitng.dnd.WidgetDragAndDropAware, com.hybris.cockpitng.engine.WidgetInstanceManagerAware, Serializable, org.zkoss.zk.ui.event.EventListener, org.zkoss.zk.ui.event.SerializableEventListener, org.zkoss.zk.ui.util.ComponentActivationListener, org.zkoss.zk.ui.util.ComponentCloneListener, org.zkoss.zk.ui.util.Composer<org.zkoss.zk.ui.Component>, org.zkoss.zk.ui.util.ComposerExt<org.zkoss.zk.ui.Component>

public class ThemeSettingController extends com.hybris.cockpitng.util.DefaultWidgetController
See Also:
  • Field Details

    • SOCKET_INPUT_CUSTOM_THEME_CHANGED

      protected static final String SOCKET_INPUT_CUSTOM_THEME_CHANGED
      See Also:
    • SAVE_BUTTON

      protected static final String SAVE_BUTTON
      See Also:
    • CANCEL_BUTTON

      protected static final String CANCEL_BUTTON
      See Also:
    • NOTIFICATION_AREA

      protected static final String NOTIFICATION_AREA
      See Also:
    • NOTIFICATION_TYPE_THEME_CHANGED

      protected static final String NOTIFICATION_TYPE_THEME_CHANGED
      See Also:
    • availableSystemThemes

      protected transient org.zkoss.zul.ListModelList<ThemeModel> availableSystemThemes
    • availableUserThemes

      protected transient org.zkoss.zul.ListModelList<ThemeModel> availableUserThemes
    • currentSystemTheme

      protected transient ThemeModel currentSystemTheme
    • currentUserTheme

      protected transient ThemeModel currentUserTheme
    • currentThemeLevel

      protected BackofficeThemeLevel currentThemeLevel
    • systemThemeList

      protected org.zkoss.zul.Listbox systemThemeList
    • userThemeList

      protected org.zkoss.zul.Listbox userThemeList
    • systemThemeContent

      protected org.zkoss.zul.Div systemThemeContent
    • userThemeContent

      protected org.zkoss.zul.Div userThemeContent
    • themeLevelRadioGroup

      protected org.zkoss.zul.Radiogroup themeLevelRadioGroup
    • systemRadio

      protected org.zkoss.zul.Radio systemRadio
    • userRadio

      protected org.zkoss.zul.Radio userRadio
    • saveButton

      protected org.zkoss.zul.Button saveButton
    • cancelButton

      protected org.zkoss.zul.Button cancelButton
  • Constructor Details

    • ThemeSettingController

      public ThemeSettingController()
  • Method Details

    • initialize

      public void initialize(org.zkoss.zk.ui.Component comp)
      Overrides:
      initialize in class com.hybris.cockpitng.util.DefaultWidgetController
    • reset

      protected void reset()
    • onThemeClick

      public void onThemeClick(ThemeModel theme)
    • onThemeLevelCheck

      public void onThemeLevelCheck(String levelName)
    • onCustomThemeChanged

      public void onCustomThemeChanged()
    • onSave

      public void onSave()
    • onCancel

      public void onCancel()
    • doRefreshTheUI

      protected void doRefreshTheUI()
    • getBackofficeThemeService

      public BackofficeThemeService getBackofficeThemeService()
    • getNotificationService

      public com.hybris.cockpitng.util.notifications.NotificationService getNotificationService()
    • setNotificationService

      public void setNotificationService(com.hybris.cockpitng.util.notifications.NotificationService notificationService)
    • getUserService

      public UserService getUserService()
    • setUserService

      public void setUserService(UserService userService)
    • setBackofficeThemeService

      public void setBackofficeThemeService(BackofficeThemeService backofficeThemeService)