hoverMessage

open override fun hoverMessage(message: String, init: Text.() -> Unit)

Sets the text displayed as hover-message when the user hovers the mouse over the text.

See the overloaded method for setting a fully composed message as hover-message.

Parameters

message

The text to display

init

A function applied to the text for formatting. Used for declarative style text formatting.


open override fun hoverMessage(init: Message.() -> Unit)

Sets the hover message displayed when the user hovers the mouse over the text.

See the overloaded method for a simplified way of setting a single text element as hover-message.

Parameters

init

A function applied to the new message component. Used for declarative style message construction.