ListSpinnerValueFactory

class ListSpinnerValueFactory[T](val delegate: ListSpinnerValueFactory[T]) extends SpinnerValueFactory[T] with SFXDelegate[ListSpinnerValueFactory[T]]

A SpinnerValueFactory implementation designed to iterate through a list of values.

A SpinnerValueFactory implementation designed to iterate through a list of values.

Type Params
T

The type of the elements in the List.

Companion
object
trait SFXDelegate[ListSpinnerValueFactory[T]]
class Object
trait Matchable
class Any

Value members

Constructors

def this(items: ObservableBuffer[T])

Creates a new instance of the ListSpinnerValueFactory with the given list used as the list to step through.

Creates a new instance of the ListSpinnerValueFactory with the given list used as the list to step through.

Value Params
items

The list of items to step through with the Spinner.

Concrete methods

def items: ObjectProperty[ObservableList[T]]

The underlying data model for the ListView. Note that it has a generic type that must match the type of the ListView itself.

The underlying data model for the ListView. Note that it has a generic type that must match the type of the ListView itself.

def items_=(v: ObservableBuffer[T]): Unit

Inherited methods

def converter: ObjectProperty[StringConverter[T]]

Converts the user-typed input (when the Spinner is editable) to an object of type T, such that the input may be retrieved via the value property.

Converts the user-typed input (when the Spinner is editable) to an object of type T, such that the input may be retrieved via the value property.

Inherited from
SpinnerValueFactory
def converter_=(newValue: StringConverter[T]): Unit
Inherited from
SpinnerValueFactory
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
override def toString: String
Returns

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

Definition Classes
Inherited from
SFXDelegate

Represents the current value of the SpinnerValueFactory, or null if no value has been set.

Represents the current value of the SpinnerValueFactory, or null if no value has been set.

Inherited from
SpinnerValueFactory
def value_=(newValue: T): Unit
Inherited from
SpinnerValueFactory

The wrapAround property is used to specify whether the value factory should be circular. For example, should an integer-based value model increment from the maximum value back to the minimum value (and vice versa).

The wrapAround property is used to specify whether the value factory should be circular. For example, should an integer-based value model increment from the maximum value back to the minimum value (and vice versa).

Inherited from
SpinnerValueFactory
def wrapAround_=(value: Boolean): Unit
Inherited from
SpinnerValueFactory

Concrete fields

override val delegate: ListSpinnerValueFactory[T]