Class AbstractLocalizedEditor

    • Field Detail

      • LOCALIZED_EDITOR_LOCALE

        public static final java.lang.String LOCALIZED_EDITOR_LOCALE
        See Also:
        Constant Field Values
      • YW_LOCEDITOR_CAPTION

        public static final java.lang.String YW_LOCEDITOR_CAPTION
        See Also:
        Constant Field Values
      • SCLASS_CELL_LABEL

        public static final java.lang.String SCLASS_CELL_LABEL
        See Also:
        Constant Field Values
      • SCLASS_MANDATORY_ATTRIBUTE_LABEL

        public static final java.lang.String SCLASS_MANDATORY_ATTRIBUTE_LABEL
        See Also:
        Constant Field Values
    • Constructor Detail

      • AbstractLocalizedEditor

        public AbstractLocalizedEditor()
    • Method Detail

      • createEditorLabel

        protected org.zkoss.zul.Div createEditorLabel​(EditorContext editorContext)
      • prepareSubEditor

        protected Editor prepareSubEditor​(EditorContext<java.lang.Object> editorContext,
                                          java.lang.Object currentValue)
        Parameters:
        editorContext - context
        currentValue - editors's value
        Returns:
        the editor
      • prepareSubEditor

        protected Editor prepareSubEditor​(EditorContext<java.lang.Object> editorContext,
                                          java.lang.Object currentValue,
                                          java.util.Locale locale)
        Parameters:
        editorContext - context
        currentValue - editors's value
        locale - sub editor's locale
        Returns:
        the editor
        Since:
        2.1.0
      • getActiveLocales

        protected java.util.List<java.util.Locale> getActiveLocales()
      • setCockpitLocaleService

        public void setCockpitLocaleService​(CockpitLocaleService cockpitLocaleService)
      • setCockpitUserService

        public void setCockpitUserService​(CockpitUserService cockpitUserService)
      • setLabelService

        public void setLabelService​(LabelService labelService)
      • setEditorRegistry

        public void setEditorRegistry​(EditorRegistry editorRegistry)