litesoft
@ 600
litesoft / trunk / GWT_Sandbox / FormEngine / src / com / temp / foundation / widgets / inputfieldsupport / InputFieldAccessor.java
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 |
package com.temp.foundation.widgets.inputfieldsupport; import com.google.gwt.user.client.ui.*; public class InputFieldAccessor<T> { private final Widget inputWidget; private final InputWidgetValidator<T> validator; private final InputWidgetChangeFilter<T> input; public InputFieldAccessor( InputWidgetChangeFilter<T> input, InputWidgetValidator<T> validator, Widget inputWidget ) { this.input = input; this.validator = validator; this.inputWidget = inputWidget; } public Widget getInputWidget() { return inputWidget; } /** * Get the Validator or null if the InputWidget CAN'T have an Error (e.g. RadioGroups). * * @return Validator or null */ public InputWidgetValidator<T> getValidator() { return validator; } public InputWidgetChangeFilter<T> getInput() { return input; } } |
Commits for litesoft/trunk/GWT_Sandbox/FormEngine/src/com/temp/foundation/widgets/inputfieldsupport/InputFieldAccessor.java
Revision | Author | Commited | Message |
---|---|---|---|
600 | GeorgeS | Sun 05 Feb, 2012 18:55:58 +0000 | Sync-n |