CommonTextButtonBehavior

constructor(textMetrics: TextMetrics, defaultFont: Font? = null, insets: Insets = None, focusManager: FocusManager? = null)(source)

Parameters

textMetrics

used for measuring the button's text

defaultFont

used for buttons without a Font

insets

that determine padding around text.

focusManager

used to request focus