Class DefaultTextUIEditor

All Implemented Interfaces:
UIEditor
Direct Known Subclasses:
ClassUIEditor, ProductCodeReferenceUIEditor, ProductCodeReferenceUIEditor

public class DefaultTextUIEditor extends AbstractTextBasedUIEditor
Simple text editor.
  • Constructor Details

    • DefaultTextUIEditor

      public DefaultTextUIEditor()
  • Method Details

    • 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
    • fireValueChanged

      protected void fireValueChanged(EditorListener listener)
      Overrides:
      fireValueChanged in class AbstractUIEditor
    • isInline

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

      public String getEditorType()