Class DefaultFeatureUIEditor

    • Constructor Detail

      • DefaultFeatureUIEditor

        public DefaultFeatureUIEditor()
    • Method Detail

      • createViewComponent

        public org.zkoss.zk.ui.HtmlBasedComponent createViewComponent​(java.lang.Object initialValue,
                                                                      java.util.Map<java.lang.String,​? extends java.lang.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 java.lang.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