summaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/ui/PopupDateField.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/vaadin/ui/PopupDateField.java')
-rw-r--r--src/com/vaadin/ui/PopupDateField.java52
1 files changed, 52 insertions, 0 deletions
diff --git a/src/com/vaadin/ui/PopupDateField.java b/src/com/vaadin/ui/PopupDateField.java
new file mode 100644
index 0000000000..5164601f0d
--- /dev/null
+++ b/src/com/vaadin/ui/PopupDateField.java
@@ -0,0 +1,52 @@
+/*
+@ITMillApache2LicenseForJavaFiles@
+ */
+
+package com.vaadin.ui;
+
+import java.util.Date;
+
+import com.vaadin.data.Property;
+
+/**
+ * <p>
+ * A date entry component, which displays the actual date selector as a popup.
+ *
+ * </p>
+ *
+ * @see DateField
+ * @see InlineDateField
+ * @author IT Mill Ltd.
+ * @version
+ * @VERSION@
+ * @since 5.0
+ */
+@SuppressWarnings("serial")
+public class PopupDateField extends DateField {
+
+ public PopupDateField() {
+ super();
+ type = TYPE_POPUP;
+ }
+
+ public PopupDateField(Property dataSource) throws IllegalArgumentException {
+ super(dataSource);
+ type = TYPE_POPUP;
+ }
+
+ public PopupDateField(String caption, Date value) {
+ super(caption, value);
+ type = TYPE_POPUP;
+ }
+
+ public PopupDateField(String caption, Property dataSource) {
+ super(caption, dataSource);
+ type = TYPE_POPUP;
+ }
+
+ public PopupDateField(String caption) {
+ super(caption);
+ type = TYPE_POPUP;
+ }
+
+}