From 0857fafb22eff83388ef4d9f208681e16191b190 Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Tue, 6 Sep 2016 22:29:20 +0300 Subject: Remove strange TextField column API Change-Id: I1cfa901b8699afafe490ec4e8045c643c7912e89 --- .../main/java/com/vaadin/ui/AbstractTextField.java | 26 ---------------------- 1 file changed, 26 deletions(-) (limited to 'server/src/main') diff --git a/server/src/main/java/com/vaadin/ui/AbstractTextField.java b/server/src/main/java/com/vaadin/ui/AbstractTextField.java index e447fd6724..e1b0273c6c 100644 --- a/server/src/main/java/com/vaadin/ui/AbstractTextField.java +++ b/server/src/main/java/com/vaadin/ui/AbstractTextField.java @@ -212,32 +212,6 @@ public abstract class AbstractTextField extends AbstractField { listener); } - /** - * Gets the number of columns in the editor. If the number of columns is set - * 0, the actual number of displayed columns is determined implicitly by the - * adapter. - * - * @return the number of columns in the editor. - */ - public int getColumns() { - return getState(false).columns; - } - - /** - * Sets the number of columns in the editor. If the number of columns is set - * 0, the actual number of displayed columns is determined implicitly by the - * adapter. - * - * @param columns - * the number of columns to set. - */ - public void setColumns(int columns) { - if (columns < 0) { - columns = 0; - } - getState().columns = columns; - } - /** * Sets the mode how the TextField triggers {@link ValueChange}s. * -- cgit v1.2.3