APIdia Launch Partner
Top Description Methods
javafx.beans.value

public Interface WritableLongValue

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

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

Method Summary

Modifier and TypeMethod and Description
public long

Returns:

The current value
get
()

Get the wrapped value.

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

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

Returns:long

The current value

setback to summary
public void set(long value)

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

Parameters
value:long

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