Item

class Item(val icon: Component, val label: TextComponent, val labelText: CharSequence) : LegendItem

Deprecated

Use `LegendItem` instead.

Defines the appearance of an item of a VerticalLegend.

Parameters

icon

the Component used as the item’s icon.

label

the TextComponent used for the label.

labelText

the text content of the label.

Constructors

Link copied to clipboard
constructor(icon: Component, label: TextComponent, labelText: CharSequence)

Properties

Link copied to clipboard
open override val icon: Component
Link copied to clipboard
open override val label: TextComponent
Link copied to clipboard
open override val labelText: CharSequence