VALUE
- is the generic type of the value
.public interface AttributeWriteValueAdvanced<VALUE> extends AttributeReadValueAdvanced<VALUE>, AttributeWriteValue<VALUE>
Modifier and Type | Method and Description |
---|---|
void |
resetValue()
This method resets this widget.
|
void |
setValue(VALUE value)
This method sets the
value . |
void |
setValue(VALUE value,
boolean forUser)
This is the generic variant of
setValue(Object) and setValueForUser(Object) . |
void |
setValueForUser(VALUE value)
This method is like
setValue(Object) but will NOT set the original
value and will set the modified to true (instead
of false ). |
getOriginalValue, getValue, getValueOrException
void setValue(VALUE value)
setValue
in interface AttributeWriteValue<VALUE>
value
- is the new value
. May be null
unless otherwise stated.void setValue(VALUE value, boolean forUser)
setValue(Object)
and setValueForUser(Object)
. forUser
is dynamic.value
- is the new value to set.forUser
- true
for the semantics of setValueForUser(Object)
,
false
for setValue(Object)
.void setValueForUser(VALUE value)
setValue(Object)
but will NOT set the original
value
and will set the modified
to true
(instead
of false
).value
- is the value
to set.void resetValue()
setValue
(AttributeReadValueAdvanced.getOriginalValue()
)
Copyright © 2001–2016 mmm-Team. All rights reserved.