com.google.code.validationframework.swing.dataprovider
Class JTableTextEditorTextProvider
java.lang.Object
com.google.code.validationframework.swing.dataprovider.JTableTextEditorTextProvider
- All Implemented Interfaces:
- com.google.code.validationframework.api.dataprovider.DataProvider<String>
public class JTableTextEditorTextProvider
- extends Object
- implements com.google.code.validationframework.api.dataprovider.DataProvider<String>
Provider of the text of the current text editor component from a given table.
Note that if the table is not in
editing state, no text can be provided.
- See Also:
DataProvider,
JTable,
JTable.getCellEditor()
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JTableTextEditorTextProvider
public JTableTextEditorTextProvider(JTable table)
- Constructor specifying the table holding the editor component to get the text from.
- Parameters:
table - Editable table.
getComponent
public JTable 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.