IntegerSpinnerValueFactory

class IntegerSpinnerValueFactory(val delegate: IntegerSpinnerValueFactory) extends SpinnerValueFactory[Integer] with SFXDelegate[IntegerSpinnerValueFactory]
Companion
object
class SpinnerValueFactory[Integer]
trait SFXDelegate[IntegerSpinnerValueFactory]
class Object
trait Matchable
class Any

Value members

Constructors

def this(min: Int, max: Int)

Constructs a new IntegerSpinnerValueFactory that sets the initial value to be equal to the min value, and a default amountToStepBy of one.

Constructs a new IntegerSpinnerValueFactory that sets the initial value to be equal to the min value, and a default amountToStepBy of one.

Value Params
max

The maximum allowed integer value for the Spinner.

min

The minimum allowed integer value for the Spinner.

def this(min: Int, max: Int, initialValue: Int)

Constructs a new IntegerSpinnerValueFactory with a default amountToStepBy of one.

Constructs a new IntegerSpinnerValueFactory with a default amountToStepBy of one.

Value Params
initialValue

The value of the Spinner when first instantiated, must be within the bounds of the min and max arguments, or else the min value will be used.

max

The maximum allowed integer value for the Spinner.

min

The minimum allowed integer value for the Spinner.

def this(min: Int, max: Int, initialValue: Int, amountToStepBy: Int)

Constructs a new IntegerSpinnerValueFactory.

Constructs a new IntegerSpinnerValueFactory.

Value Params
amountToStepBy

The amount to increment or decrement by, per step.

initialValue

The value of the Spinner when first instantiated, must be within the bounds of the min and max arguments, or else the min value will be used.

max

The maximum allowed integer value for the Spinner.

min

The minimum allowed integer value for the Spinner.

Concrete methods

Sets the amount to increment or decrement by, per step.

Sets the amount to increment or decrement by, per step.

def amountToStepBy_=(value: Int): Unit

Sets the maximum allowable value for this value factory

Sets the maximum allowable value for this value factory

def max_=(value: Int): Unit

Sets the minimum allowable value for this value factory

Sets the minimum allowable value for this value factory

def min_=(value: Int): Unit

Inherited methods

def converter: ObjectProperty[StringConverter[Integer]]

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[Integer]): 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
def value: ObjectProperty[Integer]

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: Integer): 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: IntegerSpinnerValueFactory