T - Type of property value.public class SimpleProperty<T> extends AbstractReadableProperty<T> implements WritableProperty<T>
| Constructor and Description |
|---|
SimpleProperty()
Default constructor using null as the initial property value.
|
SimpleProperty(T value)
Constructor specifying the initial property value.
|
| Modifier and Type | Method and Description |
|---|---|
T |
getValue()
Gets the value of the property.
|
void |
setValue(T value)
Sets the value of the property.
|
addChangeListener, notifyListeners, removeChangeListenerpublic SimpleProperty()
public SimpleProperty(T value)
value - Initial property value.public T getValue()
ReadablePropertyWritableProperty that is bound to it.getValue in interface ReadableProperty<T>ReadableProperty.getValue()public void setValue(T value)
WritablePropertyReadableProperty that is bound to it.setValue in interface WritableProperty<T>value - Property value.WritableProperty.setValue(Object)Copyright © 2013. All Rights Reserved.