summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/com/vaadin/ui/Field.java17
-rw-r--r--tests/testbench/com/vaadin/tests/tickets/Ticket736.java2
2 files changed, 1 insertions, 18 deletions
diff --git a/src/com/vaadin/ui/Field.java b/src/com/vaadin/ui/Field.java
index 72dc3130c3..1f9bea311f 100644
--- a/src/com/vaadin/ui/Field.java
+++ b/src/com/vaadin/ui/Field.java
@@ -10,29 +10,12 @@ import com.vaadin.ui.Component.Focusable;
/**
* @author IT Mill Ltd.
- *
*/
public interface Field extends Component, BufferedValidatable, Property,
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.
diff --git a/tests/testbench/com/vaadin/tests/tickets/Ticket736.java b/tests/testbench/com/vaadin/tests/tickets/Ticket736.java
index c530b7ca99..407242e06c 100644
--- a/tests/testbench/com/vaadin/tests/tickets/Ticket736.java
+++ b/tests/testbench/com/vaadin/tests/tickets/Ticket736.java
@@ -50,7 +50,7 @@ public class Ticket736 extends Application {
// Add some validators for the form
f.getField("zip").addValidator(new IsInteger());
- f.getField("zip").setDescription("Jepjep");
+ ((AbstractComponent) f.getField("zip")).setDescription("Jepjep");
((AbstractComponent) f.getField("zip")).setIcon(new ThemeResource(
"../runo/icons/16/folder.png"));
f.getField("state").addValidator(new IsValidState());