Renderer

abstract class Renderer[-A]

Item renderer for a list view. This is contravariant on the type of the items, so a more general renderer can be used in place of a more specific one. For instance, an Any renderer can be used for a list view of strings.

Item renderer for a list view. This is contravariant on the type of the items, so a more general renderer can be used in place of a more specific one. For instance, an Any renderer can be used for a list view of strings.

See also

javax.swing.ListCellRenderer

Companion
object
class Object
trait Matchable
class Any
class Wrapped[A]
class AbstractRenderer[A, C]

Value members

Abstract methods

def componentFor(list: ListView[_ <: A], isSelected: Boolean, focused: Boolean, a: A, index: Int): Component

Concrete methods

def peer: ListCellRenderer[_ >: A]