Changes between Version 16 and Version 17 of BASE_BOUND_CONTROLS_R0


Ignore:
Timestamp:
09/28/08 23:05:51 (17 years ago)
Author:
peko
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BASE_BOUND_CONTROLS_R0

    v16 v17  
    4242 
    4343= Design = 
     44* A base class for bound controls. Different classes extending it and providing different UI for input of data. 
    4445 
    4546= Implementation = 
     47 
     48* BoundBaseControl: 
     49 * A base class for bound controls. 
     50 * A !JLabel to tell the user what the input is about. 
     51 * A !JPanel with an Icon - to inform about the validity of the input. 
     52 * When mouse is over the Icon - a tool-tip is displayed to tell what the current status of the validation is. 
     53* Three classes that extend !BoundBaseControl: 
     54 * !BoundSpinner - contains a !JSpinner for the input of the user. 
     55 * !BoundTextField - contains a !JTextField for the input of the user. 
     56 * !BoundComboBox - contains a !JComboBox for the input of the user. 
     57* The only difference in the tree classes is the GUI used for input of data. One should extend these classes and implement the corresponding methods.  
     58* All of the four classes mentioned above are abstract. If one wants to have a different UI for input of data they should extend the !BoundBaseControl class. Otherwise extend one of the other three. 
    4659 
    4760== Related ==