TreeRenderers

class Object
trait Matchable
class Any
object Tree.type
Tree.type

Type members

Classlikes

abstract class AbstractRenderer[-A, C <: Component](val component: C) extends Renderer[A]

Renderer implementation where the component used in rendering is provided by the user. The preconfigure() and configure() methods can be overridden to provide additional configuration.

Renderer implementation where the component used in rendering is provided by the user. The preconfigure() and configure() methods can be overridden to provide additional configuration.

class DefaultRenderer[-A] extends Label with Renderer[A]

Default renderer for a tree, with many configurable settings.

Default renderer for a tree, with many configurable settings.

Companion:
class
trait Renderer[-A] extends CellRenderer[A]

Base trait of Tree cell renderers, in which the user provides the rendering component by overriding the componentFor() method.

Base trait of Tree cell renderers, in which the user provides the rendering component by overriding the componentFor() method.

See also:

javax.swing.tree.TreeCellRenderer

Companion:
object

Inherited classlikes

trait CellRenderer[-A] extends Publisher

Types

override protected type Owner = Tree[_]

Implicits

Inherited implicits

implicit val GenericRenderer: Renderer[Any]

A generic renderer that uses Swing's built-in renderers. If there is no specific renderer for a type, this renderer falls back to a renderer that renders the string returned from an item's toString.

A generic renderer that uses Swing's built-in renderers. If there is no specific renderer for a type, this renderer falls back to a renderer that renders the string returned from an item's toString.

Inherited from:
RenderableCellsCompanion