68 | | |
| 68 | * Usage: |
| 69 | * In order to have a bound control one should implement one of the three !BoundSpinner, !BoundTextField or !BoundComboBox. |
| 70 | * Implement the methods: |
| 71 | * protected abstract JComponent computeDataInputUI(); - this method should return the graphical representation of the component which is used for user input. |
| 72 | * protected abstract String computeContents(); - this method should return the String representation of the data value stored in the 'model'. |
| 73 | * protected abstract void submitData(String input); - this method should assign the new data value for the model. |
| 74 | * protected abstract Validation validate(String fieldString); - this method should validate the user input represented by 'fieldString'. |
| 75 | * NOTE: for the !BoundComboBox |