Class AbstractTextBasedUIEditor

java.lang.Object
de.hybris.platform.cockpit.model.editor.impl.AbstractUIEditor
de.hybris.platform.cockpit.model.editor.impl.AbstractTextBasedUIEditor
All Implemented Interfaces:
UIEditor
Direct Known Subclasses:
DefaultDateUIEditor, DefaultDecimalUIEditor, DefaultFloatUIEditor, DefaultIntegerUIEditor, DefaultLongUIEditor, DefaultPKUIEditor, DefaultTextUIEditor

public abstract class AbstractTextBasedUIEditor extends AbstractUIEditor
  • Field Details

    • originalValue

      protected String originalValue
  • Constructor Details

    • AbstractTextBasedUIEditor

      public AbstractTextBasedUIEditor()
  • Method Details

    • createViewComponentInternal

      protected AbstractUIEditor.CancelButtonContainer createViewComponentInternal(org.zkoss.zul.impl.InputElement editorView, EditorListener listener, Map<String,? extends Object> parameters)
    • 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.