openpss / com.hendraanggrian.openpss.control / StretchableSplitMenuButton

StretchableSplitMenuButton

@DefaultProperty("graphic") class StretchableSplitMenuButton : SplitMenuButton, StretchableLabeled, MenuItemInvokable

A button that will display log when the window have sufficient width. When it doesn't, StretchableSplitMenuButton will store its log as tooltip.

Constructors

<init>

StretchableSplitMenuButton(stretchPoint: Double = -1.0, stretchableText: String? = null, graphic: Node? = null)

A button that will display log when the window have sufficient width. When it doesn't, StretchableSplitMenuButton will store its log as tooltip.

Inherited Properties

stretchPoint

open var stretchPoint: Double

stretchableText

open var stretchableText: String?

Functions

invoke

fun <R : MenuItem> R.invoke(): R
operator fun String.invoke(graphic: ImageView? = null, init: MenuItem.() -> Unit = null): MenuItem

stretchPointProperty

fun stretchPointProperty(): DoubleProperty

stretchableTextProperty

fun stretchableTextProperty(): StringProperty

Inherited Functions

initialize

open fun initialize(): Unit