Wraps a JavaFX ReadOnlyListProperty.
Wraps a JavaFX ReadOnlyListProperty.
- Companion
- object
Value members
Concrete methods
Creates a content binding between the ObservableBuffer, that is wrapped in this ReadOnlyBufferProperty, and another ObservableBuffer.
Creates a content binding between the ObservableBuffer, that is wrapped in this ReadOnlyBufferProperty, and another ObservableBuffer.
A content binding ensures that the content of the wrapped ObservableBuffers is the same as that of the other buffer. If the content of the other buffer changes, the wrapped buffer will be updated automatically. Once the wrapped buffer is bound to another buffer, you must not change it directly.
- Value Params
- buffer
the ObservableBuffer this property should be bound to
Creates a bidirectional content binding of the ObservableBuffer, that is wrapped in this ReadOnlyBufferProperty, and another ObservableBuffer.
Creates a bidirectional content binding of the ObservableBuffer, that is wrapped in this ReadOnlyBufferProperty, and another ObservableBuffer.
A bidirectional content binding ensures that the content of two ObservableBuffers is the same. If the content of one of the buffers changes, the other one will be updated automatically.
- Value Params
- buffer
the ObservableBuffer this property should be bound to
Deletes a content binding between the ObservableBuffer, that is wrapped in this ReadOnlyBufferProperty, and another Object.
Deletes a content binding between the ObservableBuffer, that is wrapped in this ReadOnlyBufferProperty, and another Object.
This is a helper method that calls the JavaFX counterpart with a delegate rather than the original object.
- Value Params
- sfx
the SFXDelegate object to which the binding should be removed
Deletes a bidirectional content binding between the ObservableBuffer, that is wrapped in this ReadOnlyBufferProperty, and another Object.
Deletes a bidirectional content binding between the ObservableBuffer, that is wrapped in this ReadOnlyBufferProperty, and another Object.
This is a helper method that calls the JavaFX counterpart with a delegate rather than the original object.
- Value Params
- sfx
the SFXDelegate object to which the binding should be removed
Inherited methods
Returns ObservableValue
Returns ObservableValue
- Returns
ObservableValue
- Inherited from
- ObservableValue
Returns the Object that contains this property.
Returns the Object that contains this property.
- Inherited from
- ReadOnlyProperty
A boolean property that is true
, if the the buffer is empty.
A boolean property that is true
, if the the buffer is empty.
- Inherited from
- BufferExpression
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
Creates a new BooleanBinding that holds true if this list is equal to another ObservableBuffer.
Creates a new BooleanBinding that holds true if this list is equal to another ObservableBuffer.
- Value Params
- other
the other ObservableList
- Returns
the new BooleanBinding
- Inherited from
- BufferExpression
Creates a new BooleanBinding that holds true if this list is not equal to another ObservableBuffer.
Creates a new BooleanBinding that holds true if this list is not equal to another ObservableBuffer.
- Value Params
- other
the other ObservableList
- Returns
the new BooleanBinding
- Inherited from
- BufferExpression
Returns the name of this property.
Returns the name of this property.
- Inherited from
- ReadOnlyProperty
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
Clears the ObservableBuffer and add all elements from the collection.
Clears the ObservableBuffer and add all elements from the collection.
- Inherited from
- BufferExpression
Clears the ObservableBuffer and add all the elements passed as var-args.
Clears the ObservableBuffer and add all the elements passed as var-args.
- Inherited from
- BufferExpression
An integer property that represents the size of the buffer.
An integer property that represents the size of the buffer.
- Inherited from
- BufferExpression
- Returns
Returns the original delegate's
toString()
adding a[SFX]
prefix.- Definition Classes
- SFXDelegate -> Any
- Inherited from
- SFXDelegate