APIdia Launch Partner
Top Description Fields Constructors Methods
javafx.beans.property

public Class SimpleStringProperty

extends StringPropertyBase
Class Inheritance
Known Direct Subclasses
javafx.beans.property.ReadOnlyStringWrapper

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

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
SimpleStringProperty()

The constructor of StringProperty

public
SimpleStringProperty(String
the initial value of the wrapped value
initialValue
)

The constructor of StringProperty

public
SimpleStringProperty(Object
the bean of this StringProperty
bean
,
String
the name of this StringProperty
name
)

The constructor of StringProperty

public
SimpleStringProperty(Object
the bean of this StringProperty
bean
,
String
the name of this StringProperty
name
,
String
the initial value of the wrapped value
initialValue
)

The constructor of StringProperty

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.StringPropertyBase:
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

SimpleStringPropertyback to summary
public SimpleStringProperty()

The constructor of StringProperty

SimpleStringPropertyback to summary
public SimpleStringProperty(String initialValue)

The constructor of StringProperty

Parameters
initialValue:String

the initial value of the wrapped value

SimpleStringPropertyback to summary
public SimpleStringProperty(Object bean, String name)

The constructor of StringProperty

Parameters
bean:Object

the bean of this StringProperty

name:String

the name of this StringProperty

SimpleStringPropertyback to summary
public SimpleStringProperty(Object bean, String name, String initialValue)

The constructor of StringProperty

Parameters
bean:Object

the bean of this StringProperty

name:String

the name of this StringProperty

initialValue:String

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