Class CompareViewLabelRendererWrapper

  • All Implemented Interfaces:
    CockpitEditorRenderer<java.lang.Object>

    public class CompareViewLabelRendererWrapper
    extends AbstractCockpitEditorRenderer<java.lang.Object>
    Label renderer for CompareView to create a string representation of collection value. It creates a container for each element that contains a string representation of it.
    • Field Detail

    • Constructor Detail

      • CompareViewLabelRendererWrapper

        public CompareViewLabelRendererWrapper()
    • Method Detail

      • render

        public void render​(org.zkoss.zk.ui.Component parent,
                           EditorContext<java.lang.Object> context,
                           EditorListener<java.lang.Object> listener)
        Description copied from interface: CockpitEditorRenderer
        Creates a new editor component and attaches it to the specified Component component.
        Parameters:
        parent - parent component the editor should be attached to
        context - the context for the editor creation
        listener - the listener to notify the rest of the world about value changes and other events
      • createNoValueLabel

        protected org.zkoss.zul.Label createNoValueLabel​(EditorContext<java.lang.Object> context)
      • setValueRenderer

        public void setValueRenderer​(CockpitEditorRenderer<java.lang.Object> valueRenderer)