VALUE
- is the generic type of the value
.public interface UiFeatureValue<VALUE> extends UiFeature, AttributeWriteValueAdvanced<VALUE>
features
of an object that has a value
that can be changed
programmatic
as well as by the user (e.g. by typing in a text input field). Additionally, it allows to
add
and
remove
instances of
UiHandlerEventValueChange
.Modifier and Type | Method and Description |
---|---|
void |
addChangeHandler(UiHandlerEventValueChange<VALUE> handler)
This method adds the given
UiHandlerEventValueChange to this object. |
boolean |
removeChangeHandler(UiHandlerEventValueChange<VALUE> handler)
This method removes the given
UiHandlerEventValueChange from this object. |
resetValue, setValue, setValue, setValueForUser
getOriginalValue, getValue, getValueOrException
void addChangeHandler(UiHandlerEventValueChange<VALUE> handler)
UiHandlerEventValueChange
to this object.handler
- is the UiHandlerEventValueChange
to add.boolean removeChangeHandler(UiHandlerEventValueChange<VALUE> handler)
UiHandlerEventValueChange
from this object.handler
- is the UiHandlerEventValueChange
to remove.true
if the handler
has been removed successfully, false
if it was NOT registered
and nothing has
changed.Copyright © 2001–2016 mmm-Team. All rights reserved.