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, isNull
public ValueBinding(BindMarker marker, Object value)
public boolean hasValue()
Bindings.Binding
NULL
binding.hasValue
in class Bindings.Binding
NULL
binding.public Object getValue()
Bindings.Binding
NULL
binding.getValue
in class Bindings.Binding
NULL
binding.public void apply(BindTarget bindTarget)
Bindings.Binding
BindTarget
.apply
in class Bindings.Binding
bindTarget
- the target to apply bindings to.Copyright © 2018–2022 Pivotal Software, Inc.. All rights reserved.