public abstract class PropertyBinding extends Object
Modifier and Type | Method and Description |
---|---|
abstract String |
getPropertyName()
Name of the property this binding represents.
|
abstract Object |
getValue()
Obtains current value of the property this binding represents.
|
abstract boolean |
isConstant()
Is this property constant?.
|
abstract boolean |
isReadOnly()
Is this property read only?.
|
abstract void |
setValue(Object v)
Changes value of the property.
|
abstract PropertyBinding |
weak()
Returns identical version of the binding, but one that holds on the
original model object via weak reference.
|
public abstract String getPropertyName()
public abstract void setValue(Object v)
Technology.runSafe(java.lang.Runnable)
.v
- new value of the propertypublic abstract Object getValue()
Technology.runSafe(java.lang.Runnable)
.null
public abstract boolean isReadOnly()
PropertyBinding.setValue(java.lang.Object)
?
The property can still change, but only as a result of other
properties being changed, just like ComputedProperty
can.public abstract boolean isConstant()
public abstract PropertyBinding weak()
Copyright © 2018 NetBeans. All rights reserved.