ButtonType

scalafx.scene.control.ButtonType
See theButtonType companion object
class ButtonType(val delegate: ButtonType) extends SFXDelegate[ButtonType]

The ButtonType is used to specify which buttons should be shown to users in the dialogs.

Wraps a $JFX $URL0 $TC]].

Attributes

Companion
object
Graph
Supertypes
trait SFXDelegate[ButtonType]
class Object
trait Matchable
class Any

Members list

Value members

Constructors

def this(text: String)
def this(text: String, buttonData: ButtonData)

Inherited methods

override def equals(ref: Any): Boolean

Verifies if a object is equals to this delegate.

Verifies if a object is equals to this delegate.

Value parameters

ref

Object to be compared.

Attributes

Returns

if the other object is equals to this delegate or not.

Definition Classes
SFXDelegate -> Any
Inherited from:
SFXDelegate
override def hashCode: Int

Attributes

Returns

The delegate hashcode

Definition Classes
SFXDelegate -> Any
Inherited from:
SFXDelegate
override def toString: String

Attributes

Returns

Returns the original delegate's toString() adding a [SFX] prefix.

Definition Classes
SFXDelegate -> Any
Inherited from:
SFXDelegate

Concrete fields

Returns the ButtonData specified for this ButtonType in the constructor.

Returns the ButtonData specified for this ButtonType in the constructor.

Attributes

override val delegate: ButtonType

JavaFX object to be wrapped.

JavaFX object to be wrapped.

Attributes

val text: String

Returns the text specified for this ButtonType in the constructor;

Returns the text specified for this ButtonType in the constructor;

Attributes