public static class Bindings.ValueBinding extends Bindings.Binding
| Constructor and Description |
|---|
ValueBinding(BindMarker marker,
Object value) |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(BindTarget bindTarget)
Applies the binding to a
BindTarget. |
Object |
getValue()
Returns the value of this binding.
|
boolean |
hasValue()
Return true if there is a value present, otherwise false for a
NULL binding. |
getBindMarker, isNullpublic ValueBinding(BindMarker marker, Object value)
public boolean hasValue()
Bindings.BindingNULL binding.hasValue in class Bindings.BindingNULL binding.public Object getValue()
Bindings.BindingNULL binding.getValue in class Bindings.BindingNULL binding.public void apply(BindTarget bindTarget)
Bindings.BindingBindTarget.apply in class Bindings.BindingbindTarget - the target to apply bindings to.Copyright © 2018–2020 Pivotal Software, Inc.. All rights reserved.