Class WysiwygUIEditor

java.lang.Object
de.hybris.platform.cockpit.model.editor.impl.AbstractUIEditor
de.hybris.platform.cockpit.model.editor.WysiwygUIEditor
All Implemented Interfaces:
UIEditor

public class WysiwygUIEditor extends AbstractUIEditor
  • Field Details

  • Constructor Details

    • WysiwygUIEditor

      public WysiwygUIEditor()
  • Method Details

    • getSpellcheckerPath

      @Deprecated protected String getSpellcheckerPath()
      Deprecated.
      since 6.7 Spellchecker was removed from WysiwygUIEditor due to security issues
    • createCockpitFCKEditor

      protected CockpitFCKEditor createCockpitFCKEditor(Map<String,? extends Object> editorParameters)
    • createWysiwygInline

      protected org.zkoss.zk.ui.HtmlBasedComponent createWysiwygInline(String html, EditorListener listener, Map<String,? extends Object> parameters)
    • createReadonlyRepresentation

      protected org.zkoss.zul.Div createReadonlyRepresentation(String html, String width, String height)
    • createPopupWysiwyg

      @Deprecated protected org.zkoss.zul.Window createPopupWysiwyg(org.zkoss.zul.Textbox textbox, EditorListener listener)
      Deprecated.
      since 6.3
    • createPopupWysiwyg

      protected org.zkoss.zul.Window createPopupWysiwyg(org.zkoss.zul.Textbox textbox, EditorListener listener, Map<String,? extends Object> parameters)
    • createViewComponent

      public org.zkoss.zk.ui.HtmlBasedComponent createViewComponent(Object initialValue, Map<String,? extends Object> parameters, EditorListener listener)
      Description copied from interface: UIEditor
      Creates a new editor component and attaches it to the specified Page page.
      Parameters:
      initialValue - editor's initial value
      parameters - parameters passed via configuration for particular editor
      listener - the EditorListener that will receive events when the editor's value is changed
      Returns:
      the editor component
    • getEditorType

      public String getEditorType()
    • isInline

      public boolean isInline()
      Description copied from interface: UIEditor
      Returns whether this editor is an inline editor or not.
      Returns:
      true, if inline
    • setFocus

      public void setFocus(org.zkoss.zk.ui.HtmlBasedComponent rootEditorComponent, boolean selectAll)
      Description copied from interface: UIEditor
      Sets the focus on the given input component which can be the rootEditorComponent or a child of it
      Specified by:
      setFocus in interface UIEditor
      Overrides:
      setFocus in class AbstractUIEditor
      Parameters:
      rootEditorComponent - the rootEditorComponent which is returned on method createViewComponent
      selectAll - if true, select the whole input field after focus. It is not guaranteed that the editor supports selection.
    • getDefaultToolbarConfig

      public String getDefaultToolbarConfig()