Package org.zkoss.zul

## Interface ComboitemRendererExt

-     public interface ComboitemRendererExt

  Provides additional control to `ComboitemRenderer`.
  Author:
    jumperchen

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `Comboitem` | `newComboitem​(Combobox combobox)` | Creates an instance of `Comboitem` for rendering.

- - ### Method Detail

    - #### newComboitem

          Comboitem newComboitem​(Combobox combobox)

      Creates an instance of `Comboitem` for rendering. The created component will be passed to `ComboitemRenderer.render(org.zkoss.zul.Comboitem, T, int)`.

      Note: remember to invoke `AbstractComponent.applyProperties()` to initialize the properties, defined in the component definition, properly.

      If null is returned, the default comboitem is created as follow.

                  final Comboitem item = new Comboitem();
                  item.applyProperties();
                  return item;

      Note: DO NOT call `AbstractComponent.setParent(org.zkoss.zk.ui.Component)`.

      Returns:
        the comboitem if you'd like to create it differently, or null if you want `Comboitem` to create it for you