BasicTabProducer

open class BasicTabProducer<T>(val tabHeight: Double = 40.0, val tabRadius: Double = 10.0, val tabColor: Color = Color(0xdee1e6u), val selectedColorMapper: ColorMapper = { White }, val hoverColorMapper: ColorMapper = { it.darker(0.1f) }) : TabProducer<T> (source)

Constructors

Link copied to clipboard
constructor(tabHeight: Double = 40.0, tabRadius: Double = 10.0, tabColor: Color = Color(0xdee1e6u), selectedColorMapper: ColorMapper = { White }, hoverColorMapper: ColorMapper = { it.darker(0.1f) })

Properties

Link copied to clipboard
protected open val cancelMove: (TabbedPanel<T>, Int) -> Unit
Link copied to clipboard
Link copied to clipboard
protected open val move: (TabbedPanel<T>, Int, Double) -> Unit
Link copied to clipboard
Link copied to clipboard
open override val spacing: Double
Link copied to clipboard
protected val tabColor: Color
Link copied to clipboard
open override val tabHeight: Double = 40.0
Link copied to clipboard
protected val tabRadius: Double = 10.0

Functions

Link copied to clipboard
open operator override fun invoke(panel: TabbedPanel<T>, item: T, index: Int): BasicTab<T>