|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.code.validationframework.swing.dataprovider.JTableTextEditorValueProvider<DPO>
DPO - Type of data in the text editor.Object.public class JTableTextEditorValueProvider<DPO>
Provider of the value of the current formatted text editor component from a given table.
Note that if the table is
not in editing state, no value can be provided.
DataProvider,
JTable,
JTable.getCellEditor()| Constructor Summary | |
|---|---|
JTableTextEditorValueProvider(JTable table)
Constructor specifying the table holding the editor component to get the value from. |
|
JTableTextEditorValueProvider(JTable table,
com.google.code.validationframework.base.transform.Transformer<Object,DPO> transformer)
Constructor specifying the table holding the editor component to get the value from and the transformer to be used to convert the text to convert the value to the required type. |
|
| Method Summary | |
|---|---|
JTable |
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 JTableTextEditorValueProvider(JTable table)
table - Editable table.
public JTableTextEditorValueProvider(JTable table,
com.google.code.validationframework.base.transform.Transformer<Object,DPO> transformer)
table - Editable table.transformer - Transformer used to convert the object parsed from the formatted text editor component to the
expected type.| Method Detail |
|---|
public JTable 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 | |||||||||