aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/main/java/com/vaadin/ui/AbstractTextField.java
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2016-09-06 22:29:20 +0300
committerArtur Signell <artur@vaadin.com>2016-09-07 08:48:17 +0000
commit0857fafb22eff83388ef4d9f208681e16191b190 (patch)
tree19b3edfc7bd00ed227cfda8cb85c2edf2ca39278 /server/src/main/java/com/vaadin/ui/AbstractTextField.java
parenta18552fb252e452ce93642a946db67af6708a91d (diff)
downloadvaadin-framework-0857fafb22eff83388ef4d9f208681e16191b190.tar.gz
vaadin-framework-0857fafb22eff83388ef4d9f208681e16191b190.zip
Remove strange TextField column API
Change-Id: I1cfa901b8699afafe490ec4e8045c643c7912e89
Diffstat (limited to 'server/src/main/java/com/vaadin/ui/AbstractTextField.java')
-rw-r--r--server/src/main/java/com/vaadin/ui/AbstractTextField.java26
1 files changed, 0 insertions, 26 deletions
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
@@ -213,32 +213,6 @@ public abstract class AbstractTextField extends AbstractField<String> {
}
/**
- * 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.
*
* @param mode