Class DefaultAsMultiReferenceItemDetailRenderer<D extends AbstractEditorData,​V>

    • Constructor Detail

      • DefaultAsMultiReferenceItemDetailRenderer

        public DefaultAsMultiReferenceItemDetailRenderer()
    • Method Detail

      • canRender

        public boolean canRender​(MultiReferenceEditorLogic<D,​V> logic,
                                 org.zkoss.zk.ui.Component parent,
                                 D data)
        Description copied from interface: EditorRenderer
        Checks if a specific item can be rendered.
        Specified by:
        canRender in interface EditorRenderer<D extends AbstractEditorData,​V>
        Parameters:
        logic - - the editor logic
        parent - - the parent component
        data - - the item data
        Returns:
        true if the item can be rendered, false otherwise
      • render

        public void render​(MultiReferenceEditorLogic<D,​V> logic,
                           org.zkoss.zk.ui.Component parent,
                           D data)
        Description copied from interface: EditorRenderer
        Creates a new editor item component and attaches it to the specified parent component.
        Specified by:
        render in interface EditorRenderer<D extends AbstractEditorData,​V>
        Parameters:
        logic - - the editor logic
        parent - - the parent component
        data - - the item data