openpss / com.hendraanggrian.openpss.control / StretchableButton

StretchableButton

@DefaultProperty("graphic") class StretchableButton : JFXButton, StretchableLabeled

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

Constructors

<init>

StretchableButton(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, StretchableButton will store its log as tooltip.

Inherited Properties

stretchPoint

open var stretchPoint: Double

stretchableText

open var stretchableText: String?

Functions

stretchPointProperty

fun stretchPointProperty(): DoubleProperty

stretchableTextProperty

fun stretchableTextProperty(): StringProperty

Inherited Functions

initialize

open fun initialize(): Unit