summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorDenis Anisimov <denis@vaadin.com>2014-03-16 15:47:20 +0200
committerJuho Nurminen <juho@vaadin.com>2014-03-31 16:59:46 +0000
commit42789ab0836451aea7bc1964e0572178ef0f8ded (patch)
tree2c16476ea364ee087086cda7c447343e6b8ef04e /client
parent99de80ae526d507d1fb0f90a27d1e401f3f76850 (diff)
downloadvaadin-framework-42789ab0836451aea7bc1964e0572178ef0f8ded.tar.gz
vaadin-framework-42789ab0836451aea7bc1964e0572178ef0f8ded.zip
VDateField shoud implement HasEnabled (#13124).
Change-Id: I5b8cd173f3b4646240c224090843583175eca93d
Diffstat (limited to 'client')
-rw-r--r--client/src/com/vaadin/client/ui/VDateField.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/client/src/com/vaadin/client/ui/VDateField.java b/client/src/com/vaadin/client/ui/VDateField.java
index 5b49711df1..cd9052dc73 100644
--- a/client/src/com/vaadin/client/ui/VDateField.java
+++ b/client/src/com/vaadin/client/ui/VDateField.java
@@ -19,11 +19,12 @@ package com.vaadin.client.ui;
import java.util.Date;
import com.google.gwt.user.client.ui.FlowPanel;
+import com.google.gwt.user.client.ui.HasEnabled;
import com.vaadin.client.ApplicationConnection;
import com.vaadin.client.DateTimeService;
import com.vaadin.shared.ui.datefield.Resolution;
-public class VDateField extends FlowPanel implements Field {
+public class VDateField extends FlowPanel implements Field, HasEnabled {
public static final String CLASSNAME = "v-datefield";
@@ -161,10 +162,12 @@ public class VDateField extends FlowPanel implements Field {
this.readonly = readonly;
}
+ @Override
public boolean isEnabled() {
return enabled;
}
+ @Override
public void setEnabled(boolean enabled) {
this.enabled = enabled;
}