BooleanProperty

class BooleanProperty(val delegate: BooleanProperty) extends ReadOnlyBooleanProperty with Property[Boolean, Boolean] with SFXDelegate[BooleanProperty]
Companion
object
trait Property[Boolean, Boolean]
trait ReadOnlyProperty[Boolean, Boolean]
trait ObservableValue[Boolean, Boolean]
trait SFXDelegate[BooleanProperty]
class Object
trait Matchable
class Any

Value members

Constructors

def this(bean: Object, name: String)
def this(bean: Object, name: String, initialValue: Boolean)

Concrete methods

def value_=(v: Boolean): Unit

Inherited methods

def &&(v: ObservableBooleanValue): BooleanBinding
Inherited from
BooleanExpression
def ->(endVal: Boolean): Tweenable[Boolean, Boolean]

Returns a new scalafx.animation.Tweenable from a End Value.

Returns a new scalafx.animation.Tweenable from a End Value.

Value Params
endVal

End Value

Returns

a new Tweenable with this Property and end value passed.

Inherited from
Property
def <==(v: ObservableValue[_ <: Boolean, _ <: Boolean]): Unit

Create a unidirectional binding for this Property.

Create a unidirectional binding for this Property.

Value Params
v

ScalaFX ObservableValue this Property should be bound to.

Inherited from
Property
def <==(v: ObservableValue[_ <: Boolean]): Unit

Create a unidirectional binding for this Property.

Create a unidirectional binding for this Property.

Value Params
v

JavaFX ObservableValue this Property should be bound to.

Inherited from
Property
def <==>(v: Property[Boolean]): Unit

Create a bidirectional binding between this Property and another JavaFX Property.

Create a bidirectional binding between this Property and another JavaFX Property.

Value Params
v

the other JavaFX Property

Inherited from
Property
def <==>(v: Property[Boolean, Boolean]): Unit

Create a bidirectional binding between this Property and another ScalaFX Property.

Create a bidirectional binding between this Property and another ScalaFX Property.

Value Params
v

the other ScalaFX Property

Inherited from
Property
def =!=(v: ObservableBooleanValue): BooleanBinding
Inherited from
BooleanExpression
def ===(v: ObservableBooleanValue): BooleanBinding
Inherited from
BooleanExpression
def apply(): Boolean

Returns ObservableValue

Returns ObservableValue

Returns

ObservableValue

Inherited from
ObservableValue
def bean: AnyRef

Returns the Object that contains this property.

Returns the Object that contains this property.

Inherited from
ReadOnlyProperty
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 Params
ref

Object to be compared.

Returns

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

Definition Classes
Inherited from
SFXDelegate
override def hashCode: Int
Returns

The delegate hashcode

Definition Classes
Inherited from
SFXDelegate
def name: String

Returns the name of this property.

Returns the name of this property.

Inherited from
ReadOnlyProperty
def onChange[J1 >: Boolean](op: => Unit): Subscription

Adds a function as a `ChangeListener`. This function has no arguments because it will not handle values changed.

Adds a function as a `ChangeListener`. This function has no arguments because it will not handle values changed.

Value Params
op

A Function with no arguments. It will be called when value changes.

Returns

A new scalafx.event.subscriptions.Subscription to remove ObservableValue.

Inherited from
ObservableValue
def onChange[J1 >: Boolean](op: (ObservableValue[Boolean, Boolean], J1, J1) => Unit): Subscription

Adds a function as a `ChangeListener`. This function has all arguments from T, T) `changed` method from ChangeListener.

Adds a function as a `ChangeListener`. This function has all arguments from T, T) `changed` method from ChangeListener.

Type Params
J1

J superclass.

Value Params
op

Function that receives a `ObservableValue`, the old value and the new value. It will be called when value changes.

Returns

A new scalafx.event.subscriptions.Subscription to remove ObservableValue.

Inherited from
ObservableValue
def onInvalidate(op: => Unit): Subscription

Adds a no argument function as a JavaFX `InvalidationListener`. This function has no arguments because it will not handle invalidated values.

Adds a no argument function as a JavaFX `InvalidationListener`. This function has no arguments because it will not handle invalidated values.

Value Params
op

A Function with no arguments. It will be called when value was invalidated.

Returns

A new scalafx.event.subscriptions.Subscription to remove JavaFX InvalidationListener.

Inherited from
Observable

Adds a function as a JavaFX `InvalidationListener`. This function has all arguments from `invalidated` method from InvalidationListener.

Adds a function as a JavaFX `InvalidationListener`. This function has all arguments from `invalidated` method from InvalidationListener.

Value Params
op

Function that receives a ScalaFX Observable. It will be called when value was invalidated.

Returns

A new scalafx.event.subscriptions.Subscription to remove JavaFX InvalidationListener.

Inherited from
Observable
override def toString: String
Returns

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

Definition Classes
Inherited from
SFXDelegate
def unbind(v: Property[Boolean]): Unit

Remove a bidirectional binding between this Property and another JavaFX one. If no bidirectional binding between the properties exists, calling this method has no effect.

Remove a bidirectional binding between this Property and another JavaFX one. If no bidirectional binding between the properties exists, calling this method has no effect.

Value Params
v
  • the other Property
Inherited from
Property
def unbind(v: Property[Boolean, Boolean]): Unit

Remove a bidirectional binding between this Property and another ScalaFX one. If no bidirectional binding between the properties exists, calling this method has no effect.

Remove a bidirectional binding between this Property and another ScalaFX one. If no bidirectional binding between the properties exists, calling this method has no effect.

Value Params
v
  • the other Property
Inherited from
Property
def unbind(): Unit

Remove the unidirectional binding for this Property. If the Property is not bound, calling this method has no effect.

Remove the unidirectional binding for this Property. If the Property is not bound, calling this method has no effect.

Inherited from
Property
def update(v: Boolean): Unit

Set the wrapped value.

Set the wrapped value.

Value Params
v

The new value

Inherited from
Property
override def value: Boolean
def ||(v: ObservableBooleanValue): BooleanBinding
Inherited from
BooleanExpression

Concrete fields

override val delegate: BooleanProperty