diff options
Diffstat (limited to 'src/com/vaadin/ui/Field.java')
-rw-r--r-- | src/com/vaadin/ui/Field.java | 27 |
1 files changed, 9 insertions, 18 deletions
diff --git a/src/com/vaadin/ui/Field.java b/src/com/vaadin/ui/Field.java index 0cd6cd2d87..3a66db47b0 100644 --- a/src/com/vaadin/ui/Field.java +++ b/src/com/vaadin/ui/Field.java @@ -9,30 +9,21 @@ import com.vaadin.data.Property; import com.vaadin.ui.Component.Focusable; /** + * TODO document + * * @author Vaadin Ltd. * + * @param T + * the type of values in the field, which might not be the same type + * as that of the data source if converters are used + * + * @author IT Mill Ltd. */ -public interface Field extends Component, BufferedValidatable, Property, +public interface Field<T> extends Component, BufferedValidatable, Property<T>, Property.ValueChangeNotifier, Property.ValueChangeListener, Property.Editor, Focusable { /** - * Sets the Caption. - * - * @param caption - */ - void setCaption(String caption); - - String getDescription(); - - /** - * Sets the Description. - * - * @param caption - */ - void setDescription(String caption); - - /** * Is this field required. * * Required fields must filled by the user. @@ -80,7 +71,7 @@ public interface Field extends Component, BufferedValidatable, Property, * @since 3.0 */ @SuppressWarnings("serial") - public class ValueChangeEvent extends Component.Event implements + public static class ValueChangeEvent extends Component.Event implements Property.ValueChangeEvent { /** |