|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.code.validationframework.swing.dataprovider.JFormattedTextFieldLastValidValueProvider<DPO>
DPO - Type of data in the formatted textfield.Object.public class JFormattedTextFieldLastValidValueProvider<DPO>
Data provider retrieving the last valid value from a formatted textfield.
DataProvider,
JFormattedTextField,
JFormattedTextField.getValue()| Constructor Summary | |
|---|---|
JFormattedTextFieldLastValidValueProvider(JFormattedTextField formattedTextField)
Constructor specifying the formatted textfield to retrieve the last valid value from. By default, the formatted textfield will be cast to DPO. |
|
JFormattedTextFieldLastValidValueProvider(JFormattedTextField formattedTextField,
com.google.code.validationframework.base.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. |
|
| Method Summary | |
|---|---|
JFormattedTextField |
getComponent()
Gets the component providing the data to be validated. |
DPO |
getData()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JFormattedTextFieldLastValidValueProvider(JFormattedTextField formattedTextField)
formattedTextField - Formatted textfield to retrieve the last valid value from.
public JFormattedTextFieldLastValidValueProvider(JFormattedTextField formattedTextField,
com.google.code.validationframework.base.transform.Transformer<Object,DPO> transformer)
formattedTextField - Formatted textfield to retrieve the last valid value from.transformer - Transformer to convert the formatted textfield value.| Method Detail |
|---|
public JFormattedTextField getComponent()
public DPO getData()
getData in interface com.google.code.validationframework.api.dataprovider.DataProvider<DPO>DataProvider.getData()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||