Wrapper class to JavaFX's ObservableIntegerArray
.
Value parameters
- delegate
-
Wrapped JavaFX $OIA providing implementation.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Observabletrait SFXDelegate[ObservableIntegerArray]trait Clearableclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Constructors
Create ObservableIntegerArray
with specified capacity.
Create ObservableIntegerArray
with specified capacity.
Elements will be zeroed out.
Value parameters
- n
-
Size of new
ObservableIntegerArray
. This value cannot be negative.
Attributes
- Throws
-
NegativeArraySizeException
if
n
is negative.
Concrete methods
Append given elements
to the end of this array.
Append given elements
to the end of this array.
Capacity is increased, if necessary, to match the new size of the data.
Attributes
- Definition Classes
Append given observable array to the end of this array.
Append given observable array to the end of this array.
Capacity is increased, if necessary, to match the new size of the data.
Attributes
- Definition Classes
Append portion of given regular array to the end of this array.
Append portion of given regular array to the end of this array.
Capacity is increased, if necessary, to match the new size of the data.
Attributes
- Definition Classes
Append portion of given regular array to the end of this array.
Append portion of given regular array to the end of this array.
Capacity is increased, if necessary, to match the new size of the data.
Attributes
- Definition Classes
Copy specified portion of this observable array to dest
regular array.
Copy specified portion of this observable array to dest
regular array.
Attributes
- Definition Classes
Copy specified portion of this observable array to dest
observable array.
Copy specified portion of this observable array to dest
observable array.
Attributes
- Definition Classes
Select the element at idx
in the array.
Set the element at idx
in the array to value
.
Copy a portion of given regular array into this array, replacing affected contents.
Copy a portion of given regular array into this array, replacing affected contents.
Attributes
- Definition Classes
Copy a portion of given observable array into this array, replacing affected contents.
Copy a portion of given observable array into this array, replacing affected contents.
Attributes
- Definition Classes
Replace the contents of this array with the given elements
.
Replace the contents of this array with the given elements
.
Capacity is increased, if necessary, to match the new size of the data.
Attributes
- Definition Classes
Replace the contents of this array with the given observable array.
Replace the contents of this array with the given observable array.
Capacity is increased, if necessary, to match the new size of the data.
Attributes
- Definition Classes
Replace the contents of this array with portion of the given regular array.
Replace the contents of this array with portion of the given regular array.
Capacity is increased, if necessary, to match the new size of the data.
Attributes
- Definition Classes
Replace the contents of this array with portion of the given observable array.
Replace the contents of this array with portion of the given observable array.
Capacity is increased, if necessary, to match the new size of the data.
Attributes
- Definition Classes
Write the contents of this array into the specified array, if it is large enough, or a new array if it is not.
Write the contents of this array into the specified array, if it is large enough, or a new array if it is not.
Attributes
- Definition Classes
Write a portion of this array's contents into the specified array, if it is large enough, or a new array if it is not.
Write a portion of this array's contents into the specified array, if it is large enough, or a new array if it is not.
Attributes
- Definition Classes
Inherited methods
Append another observable array to this array.
Append another observable array to this array.
Value parameters
- src
-
Array to be appended to this array.
Attributes
- Returns
-
This array, expanded to contain the indicated array.
- Inherited from:
- ObservableArray
Append another array to this array.
Append another array to this array.
Value parameters
- src
-
Array to be appended to this array.
Attributes
- Returns
-
This array, expanded to contain the indicated array.
- Inherited from:
- ObservableArray
Append new element to this ObservableArray
.
Append new element to this ObservableArray
.
Value parameters
- elem
-
Element to be added to end of this array.
Attributes
- Returns
-
This
ObservableArray
. - Definition Classes
- Inherited from:
- ObservableArray
Select an element by its index in the array.
Select an element by its index in the array.
Value parameters
- idx
-
Index of selected element.
Attributes
- Returns
-
Element at given
idx
. - Throws
-
java.lang.ArrayIndexOutOfBoundsException
if
idx
does not satisfy0 <= idx < length
. - Inherited from:
- ObservableArray
Empty array, clearing builder contents, resizing it to zero.
Empty array, clearing builder contents, resizing it to zero.
Capacity is unchanged.
Attributes
- Definition Classes
- Inherited from:
- ObservableArray
Grow array capacity if currently smaller than given capacity
; do nothing otherwise.
Grow array capacity if currently smaller than given capacity
; do nothing otherwise.
Value parameters
- capacity
-
Required capacity.
Attributes
- Inherited from:
- ObservableArray
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
Attributes
- Returns
-
The delegate hashcode
- Definition Classes
-
SFXDelegate -> Any
- Inherited from:
- SFXDelegate
Tests whether the collection is empty.
Tests whether the collection is empty.
Attributes
- Returns
-
true
if the collection contains no elements,false
otherwise. - Inherited from:
- ObservableArray
Alias for size
Attributes
- Inherited from:
- Builder
Tests whether the collection is not empty.
Tests whether the collection is not empty.
Attributes
- Returns
-
true
if the collection contains at least one element,false
otherwise. - Inherited from:
- ObservableArray
Add a listener function to Array
's changes.
Add a listener function to Array
's changes.
Value parameters
- op
-
Function that will handle this
ObservableArray
's modifications data, to be activated when some change is made.
Attributes
- Note
-
This function '''will not handle''' this array's modifications data. That is, it will be notified that an array it is associated with has changed, but not which array the which data within it was changed.
- Inherited from:
- ObservableArray
Add a listener function to Array
's changes.
Add a listener function to Array
's changes.
Value parameters
- op
-
Function that will handle this
ObservableArray
's modifications data, to be activated when some change is made.
Attributes
- Note
-
This function '''will handle''' this array's modifications data. That is, it will be notified which array has been modified and which array elements have been changed.
- Inherited from:
- ObservableArray
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 parameters
- op
-
A Function with no arguments. It will be called when value was invalidated.
Attributes
- 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 parameters
- op
-
Function that receives a ScalaFX
Observable
. It will be called when value was invalidated.
Attributes
- Returns
-
A new scalafx.event.subscriptions.Subscription to remove JavaFX
InvalidationListener
. - Inherited from:
- Observable
Produces collection from builder.
Produces collection from builder.
Attributes
- Returns
-
This
ObservableArray
. - Definition Classes
- Inherited from:
- ObservableArray
Retrieve length of data in this array.
Retrieve length of data in this array.
Attributes
- Returns
-
Length of data in this array.
- Inherited from:
- ObservableArray
Attributes
- Inherited from:
- Builder
Translate this observable array to a regular array.
Translate this observable array to a regular array.
Attributes
- Returns
-
Regular array containing this array's contents.
- Inherited from:
- ObservableArray
Attributes
- Returns
-
Returns the original delegate's
toString()
adding a[SFX]
prefix. - Definition Classes
-
SFXDelegate -> Any
- Inherited from:
- SFXDelegate
Shrinks capacity to current length of data in this array.
Shrinks capacity to current length of data in this array.
Attributes
- Inherited from:
- ObservableArray
Set the element at idx
in the array to value
.
Set the element at idx
in the array to value
.
Value parameters
- idx
-
Index of element to be changed.
- value
-
New value for element at
idx
.
Attributes
- Throws
-
java.lang.ArrayIndexOutOfBoundsException
if
idx
does not satisfy0 <= idx < length
. - Inherited from:
- ObservableArray