public abstract class AbstractReadOnlyTransformer<M,V> extends Object implements Transformer<M,V>
Transformer implementations.
A readonly transformer means one that is used on components just to show a value
and not to change it.
This is useful for labels, for example.| Constructor and Description |
|---|
AbstractReadOnlyTransformer() |
| Modifier and Type | Method and Description |
|---|---|
M |
viewToModel(V valueFromView)
Convert and/or validate a value coming from the view to the type and/or format needed in the model.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetModelType, getViewType, modelToViewpublic M viewToModel(V valueFromView)
TransformerviewToModel in interface Transformer<M,V>valueFromView - A value coming from de viewCopyright © 2015 Uqbar Project. All rights reserved.