Changes between Version 26 and Version 27 of BASE_BOUND_CONTROLS_R0


Ignore:
Timestamp:
09/30/08 15:23:03 (17 years ago)
Author:
peko
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BASE_BOUND_CONTROLS_R0

    v26 v27  
    6666 * UML:  
    6767[[Image(source:/trunk/sophie2-platform/doc/uml-design-diagrams/Bound-Controls.png)]] 
    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 
    6976 
    7077