Top Description Methods
javafx.beans.value

public Interface WritableFloatValue

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

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

Method Summary

Modifier and TypeMethod and Description
public float

Returns:

The current value
get
()

Get the wrapped value.

public void
set(float
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 float get()

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

Returns:float

The current value

setback to summary
public void set(float value)

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

Parameters
value:float

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.0" instead.

Parameters
value:Number

The new value

Annotations
@Override