listItemRenderer

Renders the items of the component this modifier applies to through renderer.

Takes a renderer the caller already has, written against the Swing interface, or one rememberListItemRenderer built from a composable cell body. As in Swing, the renderer is handed whatever the component's own model holds.

The renderer the component carried before this element is written back when the element detaches. The element serves a component that renders a flat list of items through one cell renderer: a JList or a JComboBox. Any other component is refused as the element attaches.

Anything measured through the renderer - a prototype cell - is declared after this.

Return

this modifier with the renderer declared on it.

Parameters

renderer

the renderer the component stamps its items through.

See also