All Implemented Interfaces:
ReferenceUIEditor, UIEditor

public class MinimalReferenceUIEditor extends DefaultSimpleReferenceUIEditor
  • Constructor Details

    • MinimalReferenceUIEditor

      public MinimalReferenceUIEditor()
    • MinimalReferenceUIEditor

      public MinimalReferenceUIEditor(ObjectType rootType)
      Parameters:
      rootType -
  • Method Details

    • createViewComponent

      public org.zkoss.zk.ui.HtmlBasedComponent createViewComponent(Object initialValue, Map<String,?> 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 DefaultSimpleReferenceUIEditor
      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
    • isAllowActivateNew

      protected boolean isAllowActivateNew(Map<String,? extends Object> parameters)