litesoft
@ 593
litesoft / trunk / Documents / FormEngine.txt
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 |
FormEngine manages Buttons and FormComponents. FormComponents manage input validation and Change State. While a FormEngine is a FormComponent, most FormComponents are a combination of: (Optional) Input Label (w/ Optional extended description), Input Field (w/ Optional example text), (Optional) Help Widget, & (Optional) Error Display Label. With the ability to indicate which of the following state it is in: Unchanged w/ No Problem, Empty & Required, Changed w/ a Problem, Changed w/ No Problem, Read Only, & Disabled. All FormComponents must also support the following Capabilities: Enablement, RO / RW, hasChanges, hasProblems. FormEngines may support: Hide/Show, Visually Show/Remove Input Based FormComponents will support: Hide/Show, Visually Show/Remove, setBaseValue, getCurrentValue, addValidator, setRequired, getInputLabel, getInputField, addFocusListener, addChangeListener FormEngines support: reset, revert, setFocus, addInputFormComponent, addFormEngine, removeFormEngine, addButton, addEnableControledButton, addCrossFieldValidator, In support of the above the following is needed: Validator Interface and some simple implimentations as Singletons EnablementDeterminer Interface and the implimentation Singletons for the different desired Button states CrossFieldValidator Interface TextInputChangeHelper that monitors the currently focused Text Input Widget for changes based on a background Timer. ChangeListener (See GWT) FocusListener (See GWT) Input Form Components will be needed for Input Types of: TextField, TextArea, Password, SelectBox, RadioGroup, CheckBox, UploadWidgets, |
Commits for litesoft/trunk/Documents/FormEngine.txt
Revision | Author | Commited | Message |
---|---|---|---|
589 | GeorgeS | Wed 18 Jan, 2012 19:16:02 +0000 | Unchecked & FE |