Spec-Zone .ru
спецификации, руководства, описания, API
Java FX 2.0

Package javafx.beans.value

The package javafx.beans.value contains the two fundamental interfaces ObservableValue and WritableValue and all of its sub-interfaces.

See: Description

Package javafx.beans.value Description

The package javafx.beans.value contains the two fundamental interfaces ObservableValue and WritableValue and all of its sub-interfaces.

ObservableValue

An ObservableValue wraps a value that can be read and observed for invalidations and changes. Listeners have to implement either InvalidationListener or ChangeListener. To allow working with primitive types directly a number of sub-interfaces are defined.
Type Sub-interface of ObservableValue
boolean ObservableBooleanValue
double ObservableDoubleValue
float ObservableFloatValue
int ObservableIntegerValue
long ObservableLongValue
double, float, int, long ObservableNumberValue
Object ObservableObjectValue
String ObservableStringValue

WritableValue

A WritableValue wraps a value that can be read and set. As with ObservableValues, a number of sub-interfaces are defined to work with primitive types directly.
Type Sub-interface of WritableValue
boolean WritableBooleanValue
double WritableDoubleValue
float WritableFloatValue
int WritableIntegerValue
long WritableLongValue
double, float, int, long WritableNumberValue
Object WritableObjectValue
String WritableStringValue
Java FX 2.0

Copyright (c) 2008, 2011, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms.