ListSpinnerValueFactory

scalafx.scene.control.SpinnerValueFactory.ListSpinnerValueFactory
See theListSpinnerValueFactory companion object
class ListSpinnerValueFactory[T](val delegate: ListSpinnerValueFactory[T]) extends SpinnerValueFactory[T], SFXDelegate[ListSpinnerValueFactory[T]]

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

Type parameters

T

The type of the elements in the List.

Attributes

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

Members list

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 parameters

items

The list of items to step through with the Spinner.

Attributes

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.

Attributes

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.

Attributes

Inherited from:
SpinnerValueFactory
def converter_=(newValue: StringConverter[T]): Unit

Attributes

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 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
override def hashCode: Int

Attributes

Returns

The delegate hashcode

Definition Classes
SFXDelegate -> Any
Inherited from:
SFXDelegate
override def toString: String

Attributes

Returns

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

Definition Classes
SFXDelegate -> Any
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.

Attributes

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

Attributes

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).

Attributes

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

Attributes

Inherited from:
SpinnerValueFactory

Concrete fields

override val delegate: ListSpinnerValueFactory[T]

JavaFX object to be wrapped.

JavaFX object to be wrapped.

Attributes