R - Type of data that can be read from this property.W - Type of data that can be written from this property.public class TransformerProperty<R,W>
extends com.google.code.validationframework.base.property.AbstractReadableWritableProperty<R,W>
| Constructor and Description |
|---|
TransformerProperty(com.google.code.validationframework.api.transform.Transformer<W,R> transformer)
Constructor specifying the transformer to be used to transform input values, using null as the initial input
value.
|
TransformerProperty(com.google.code.validationframework.api.transform.Transformer<W,R> transformer,
W value)
Constructor specifying the transformer to be used to transform input values, and the initial input value.
|
| Modifier and Type | Method and Description |
|---|---|
R |
getValue() |
void |
setValue(W value) |
addValueChangeListener, getValueChangeListeners, isInhibited, isNotifyingListeners, maybeNotifyListeners, removeValueChangeListener, setInhibitedpublic TransformerProperty(com.google.code.validationframework.api.transform.Transformer<W,R> transformer)
transformer - Transformer to transform input values.public TransformerProperty(com.google.code.validationframework.api.transform.Transformer<W,R> transformer, W value)
transformer - Transformer to transform input values.value - Initial property value.Copyright © 2015. All Rights Reserved.