APIdia Launch Partner
Top Description Methods
javafx.beans.value

public Interface WritableIntegerValue

extends WritableNumberValue
Known Direct Implementers
javafx.beans.property.IntegerProperty

A writable int value.
Since
JavaFX 2.0
See Also
WritableValue, WritableNumberValue

Method Summary

Modifier and TypeMethod and Description
public int

Returns:

The current value
get
()

Get the wrapped value.

public void
set(int
The new value
value
)

Set the wrapped value.

public void
setValue(Number
The new value
value
)

Redeclares javafx.beans.value.WritableValue.setValue.

Set the wrapped value.

Method Detail

getback to summary
public int get()

Get the wrapped value. Unlike getValue(), this method returns primitive int. Needs to be identical to getValue().

Returns:int

The current value

setback to summary
public void set(int value)

Set the wrapped value. Unlike setValue(java.lang.Number), this method uses primitive int.

Parameters
value:int

The new value

setValueback to summary
public void setValue(Number value)

Redeclares javafx.beans.value.WritableValue.setValue.

Set the wrapped value.

Note

this method should accept null without throwing an exception, setting "0" instead.

Parameters
value:Number

The new value

Annotations
@Override