public class SimpleStringProperty extends StringPropertyBase
Property
wrapping a
String
value.StringPropertyBase
Modifier and Type | Field and Description |
---|---|
private java.lang.Object |
bean |
private static java.lang.Object |
DEFAULT_BEAN |
private static java.lang.String |
DEFAULT_NAME |
private java.lang.String |
name |
Constructor and Description |
---|
SimpleStringProperty()
The constructor of
StringProperty |
SimpleStringProperty(java.lang.Object bean,
java.lang.String name)
The constructor of
StringProperty |
SimpleStringProperty(java.lang.Object bean,
java.lang.String name,
java.lang.String initialValue)
The constructor of
StringProperty |
SimpleStringProperty(java.lang.String initialValue)
The constructor of
StringProperty |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getBean()
Returns the
Object that contains this property. |
java.lang.String |
getName()
Returns the name of this property.
|
addListener, addListener, bind, fireValueChangedEvent, get, invalidated, isBound, removeListener, removeListener, set, toString, unbind
bindBidirectional, bindBidirectional, bindBidirectional, setValue, unbindBidirectional, unbindBidirectional
private static final java.lang.Object DEFAULT_BEAN
private static final java.lang.String DEFAULT_NAME
private final java.lang.Object bean
private final java.lang.String name
public SimpleStringProperty()
StringProperty
public SimpleStringProperty(java.lang.String initialValue)
StringProperty
initialValue
- the initial value of the wrapped valuepublic SimpleStringProperty(java.lang.Object bean, java.lang.String name)
StringProperty
bean
- the bean of this StringProperty
name
- the name of this StringProperty
public SimpleStringProperty(java.lang.Object bean, java.lang.String name, java.lang.String initialValue)
StringProperty
bean
- the bean of this StringProperty
name
- the name of this StringProperty
initialValue
- the initial value of the wrapped valuepublic java.lang.Object getBean()
Object
that contains this property. If this property
is not contained in an Object
, null
is returned.Object
or null
public java.lang.String getName()
String
.String