Class DefaultFeatureUIEditor

All Implemented Interfaces:
UIEditor

public class DefaultFeatureUIEditor extends AbstractFeatureUIEditor
  • Constructor Details

    • DefaultFeatureUIEditor

      public DefaultFeatureUIEditor()
  • 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.
      Specified by:
      createViewComponent in interface UIEditor
      Overrides:
      createViewComponent in class AbstractFeatureUIEditor
      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
    • getValue

      public Object getValue()
      Description copied from interface: UIEditor
      Returns the value held by this editor.
      Specified by:
      getValue in interface UIEditor
      Overrides:
      getValue in class AbstractUIEditor
      Returns:
      this editor's value
    • isInline

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