public interface ValueRef
Modifier and Type | Interface and Description |
---|---|
static class |
ValueRef.NullValueRef
A ValueRef for the null value.
|
static class |
ValueRef.TypedValueHolderValueRef
A ValueRef holder for a single value, which cannot be set.
|
Modifier and Type | Method and Description |
---|---|
TypedValue |
getValue()
Returns the value this ValueRef points to, it should not require expression
component re-evaluation.
|
boolean |
isWritable()
Indicates whether calling setValue(Object) is supported.
|
void |
setValue(java.lang.Object newValue)
Sets the value this ValueRef points to, it should not require expression component
re-evaluation.
|
TypedValue getValue()
void setValue(@Nullable java.lang.Object newValue)
newValue
- the new valueboolean isWritable()