com.google.code.validationframework.swing.dataprovider
Class JSpinnerEditorTextProvider
java.lang.Object
com.google.code.validationframework.swing.dataprovider.JSpinnerEditorTextProvider
- All Implemented Interfaces:
- com.google.code.validationframework.api.dataprovider.DataProvider<String>
public class JSpinnerEditorTextProvider
- extends Object
- implements com.google.code.validationframework.api.dataprovider.DataProvider<String>
Data provider reading the text from the text editor of a spinner.
- See Also:
DataProvider,
JSpinner
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JSpinnerEditorTextProvider
public JSpinnerEditorTextProvider(JSpinner spinner)
- Constructor specifying the spinner to get the text from.
- Parameters:
spinner - Spinner to get the text from.
getComponent
public JSpinner getComponent()
- Gets the component providing the data to be validated.
- Returns:
- Component providing the data to be validated.
getData
public String getData()
- Specified by:
getData in interface com.google.code.validationframework.api.dataprovider.DataProvider<String>
- See Also:
DataProvider.getData()
Copyright © 2013. All Rights Reserved.