@@ -0,0 +1,1375 @@
+/*%0A * Copyright 2009-2013 the original author or authors.%0A *%0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A *%0A *      http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A */%0Apackage org.jdal.vaadin.ui.bind;%0A%0Aimport org.jdal.ui.bind.AbstractControlAccessor;%0A%0Aimport com.vaadin.ui.TextField;%0A%0A/**%0A * Control accessor for Vaadin TextField.%0A * %0A * @author Jose Luis Martin%0A * @since 2.0%0A */%0Apublic class TextFieldAccessor extends AbstractControlAccessor %7B%0A%0A%09/**%0A%09 * @param control%0A%09 */%0A%09public TextFieldAccessor(Object control) %7B%0A%09%09super(control);%0A%09%7D%0A%0A%09/**%0A%09 * %7B@inheritDoc%7D%0A%09 */%0A%09public Object getControlValue() %7B%0A%09%09return getControl().getValue();%0A%09%7D%0A%0A%09/**%0A%09 * %7B@inheritDoc%7D%0A%09 */%0A%09public void setControlValue(Object value) %7B%0A%09%09getControl().setValue(value.toString());%0A%09%09%0A%09%7D%0A%09%0A%09@Override%0A%09public TextField getControl() %7B%0A%09%09return (TextField) super.getControl();%0A%09%7D%0A%09%0A%09@Override%0A%09public boolean isTextControl() %7B%0A%09%09return true;%0A%09%7D%0A%7D%0A

Add ControlAccessor for vaadin TextField