Generic trait that defines the methods common to all readable properties independent of their type.
Generic trait that defines the methods common to all readable properties independent of their type.
- Type Params
- J
Indicates Java type to be wrapped by T. Eventually T and J could be the same.
- T
Indicates Scala type that will be returned for this property.
- Companion
- object
Value members
Concrete methods
Inherited methods
Returns ObservableValue
Returns ObservableValue
- Returns
ObservableValue
- Inherited from
- ObservableValue
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
- SFXDelegate -> Any
- Inherited from
- SFXDelegate
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
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
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
- Returns
Returns the original delegate's
toString()
adding a[SFX]
prefix.- Definition Classes
- SFXDelegate -> Any
- Inherited from
- SFXDelegate
Returns ObservableValue
Returns ObservableValue
- Returns
ObservableValue
- Inherited from
- ObservableValue