diff options
author | Marc Englund <marc.englund@itmill.com> | 2007-11-19 13:17:37 +0000 |
---|---|---|
committer | Marc Englund <marc.englund@itmill.com> | 2007-11-19 13:17:37 +0000 |
commit | 93291f532db9d545cf2a8dd98e2671f27cd197b0 (patch) | |
tree | 443ea177fc27094fcde42fa7215b80bd0cc7544f /src/com/itmill/toolkit/ui/InlineDateField.java | |
parent | 19b539cbe5a8b8f4d362781021e6bf702d15fcec (diff) | |
download | vaadin-framework-93291f532db9d545cf2a8dd98e2671f27cd197b0.tar.gz vaadin-framework-93291f532db9d545cf2a8dd98e2671f27cd197b0.zip |
DateField styles ("calendar" etc) moved to subclasses. Fixes #890
(style = "text" removed, we'll implement a sane alternative sometime in the future)
svn changeset:2863/svn branch:trunk
Diffstat (limited to 'src/com/itmill/toolkit/ui/InlineDateField.java')
-rw-r--r-- | src/com/itmill/toolkit/ui/InlineDateField.java | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/src/com/itmill/toolkit/ui/InlineDateField.java b/src/com/itmill/toolkit/ui/InlineDateField.java new file mode 100644 index 0000000000..2219bb24a1 --- /dev/null +++ b/src/com/itmill/toolkit/ui/InlineDateField.java @@ -0,0 +1,50 @@ +/**
+ *
+ */
+package com.itmill.toolkit.ui;
+
+import java.util.Date;
+
+import com.itmill.toolkit.data.Property;
+
+/**
+ * <p>
+ * A date entry component, which displays the actual date selector inline.
+ *
+ * </p>
+ *
+ * @see DateField
+ * @see PopupDateField
+ * @author IT Mill Ltd.
+ * @version
+ * @VERSION@
+ * @since 5.0
+ */
+public class InlineDateField extends DateField {
+
+ public InlineDateField() {
+ super();
+ type = TYPE_INLINE;
+ }
+
+ public InlineDateField(Property dataSource) throws IllegalArgumentException {
+ super(dataSource);
+ type = TYPE_INLINE;
+ }
+
+ public InlineDateField(String caption, Date value) {
+ super(caption, value);
+ type = TYPE_INLINE;
+ }
+
+ public InlineDateField(String caption, Property dataSource) {
+ super(caption, dataSource);
+ type = TYPE_INLINE;
+ }
+
+ public InlineDateField(String caption) {
+ super(caption);
+ type = TYPE_INLINE;
+ }
+
+}
|