Top Description Fields Constructors Methods
javafx.beans.property

public Class SimpleFloatProperty

extends FloatPropertyBase
Class Inheritance
Known Direct Subclasses
javafx.beans.property.ReadOnlyFloatWrapper

This class provides a full implementation of a Property wrapping a float value.
Since
JavaFX 2.0
See Also
FloatPropertyBase

Field Summary

Modifier and TypeField and Description
private final Object
private static final Object
private static final String
private final String

Constructor Summary

AccessConstructor and Description
public
SimpleFloatProperty()

The constructor of FloatProperty

public
SimpleFloatProperty(float
the initial value of the wrapped value
initialValue
)

The constructor of FloatProperty

public
SimpleFloatProperty(Object
the bean of this FloatProperty
bean
,
String
the name of this FloatProperty
name
)

The constructor of FloatProperty

public
SimpleFloatProperty(Object
the bean of this FloatProperty
bean
,
String
the name of this FloatProperty
name
,
float
the initial value of the wrapped value
initialValue
)

The constructor of FloatProperty

Method Summary

Modifier and TypeMethod and Description
public Object
getBean()

Implements javafx.beans.property.ReadOnlyProperty.getBean.

Returns the Object that contains this property.

public String
getName()

Implements javafx.beans.property.ReadOnlyProperty.getName.

Returns the name of this property.

Inherited from javafx.beans.property.FloatPropertyBase:
addListeneraddListenerbindfireValueChangedEventgetinvalidatedisBoundremoveListenerremoveListenersettoStringunbind

Field Detail

beanback to summary
private final Object bean
DEFAULT_BEANback to summary
private static final Object DEFAULT_BEAN
DEFAULT_NAMEback to summary
private static final String DEFAULT_NAME
nameback to summary
private final String name

Constructor Detail

SimpleFloatPropertyback to summary
public SimpleFloatProperty()

The constructor of FloatProperty

SimpleFloatPropertyback to summary
public SimpleFloatProperty(float initialValue)

The constructor of FloatProperty

Parameters
initialValue:float

the initial value of the wrapped value

SimpleFloatPropertyback to summary
public SimpleFloatProperty(Object bean, String name)

The constructor of FloatProperty

Parameters
bean:Object

the bean of this FloatProperty

name:String

the name of this FloatProperty

SimpleFloatPropertyback to summary
public SimpleFloatProperty(Object bean, String name, float initialValue)

The constructor of FloatProperty

Parameters
bean:Object

the bean of this FloatProperty

name:String

the name of this FloatProperty

initialValue:float

the initial value of the wrapped value

Method Detail

getBeanback to summary
public Object getBean()

Implements javafx.beans.property.ReadOnlyProperty.getBean.

Doc from javafx.beans.property.ReadOnlyProperty.getBean.

Returns the Object that contains this property. If this property is not contained in an Object, null is returned.

Annotations
@Override
getNameback to summary
public String getName()

Implements javafx.beans.property.ReadOnlyProperty.getName.

Doc from javafx.beans.property.ReadOnlyProperty.getName.

Returns the name of this property. If the property does not have a name, this method returns an empty String.

Annotations
@Override