DPO - Type of data in the formatted textfield.Object.public class JFormattedTextFieldLastValidValueProvider<DPO> extends Object implements com.google.code.validationframework.api.dataprovider.DataProvider<DPO>
DataProvider,
JFormattedTextField,
JFormattedTextField.getValue()| Constructor and Description |
|---|
JFormattedTextFieldLastValidValueProvider(JFormattedTextField formattedTextField)
Constructor specifying the formatted textfield to retrieve the last valid value from.
|
JFormattedTextFieldLastValidValueProvider(JFormattedTextField formattedTextField,
com.google.code.validationframework.api.transform.Transformer<Object,DPO> transformer)
Constructor specifying the formatted textfield to retrieve the last valid value from, and the transformer to
convert the formatted textfield value to DPO.
|
| Modifier and Type | Method and Description |
|---|---|
JFormattedTextField |
getComponent()
Gets the component providing the data to be validated.
|
DPO |
getData() |
public JFormattedTextFieldLastValidValueProvider(JFormattedTextField formattedTextField)
formattedTextField - Formatted textfield to retrieve the last valid value from.public JFormattedTextFieldLastValidValueProvider(JFormattedTextField formattedTextField, com.google.code.validationframework.api.transform.Transformer<Object,DPO> transformer)
formattedTextField - Formatted textfield to retrieve the last valid value from.transformer - Transformer to convert the formatted textfield value.public JFormattedTextField getComponent()
Copyright © 2015. All Rights Reserved.