You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

InlineDateField.java 1.0KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. /*
  2. @ITMillApache2LicenseForJavaFiles@
  3. */
  4. package com.vaadin.ui;
  5. import java.util.Date;
  6. import com.vaadin.data.Property;
  7. /**
  8. * <p>
  9. * A date entry component, which displays the actual date selector inline.
  10. *
  11. * </p>
  12. *
  13. * @see DateField
  14. * @see PopupDateField
  15. * @author IT Mill Ltd.
  16. * @version
  17. * @VERSION@
  18. * @since 5.0
  19. */
  20. @SuppressWarnings("serial")
  21. public class InlineDateField extends DateField {
  22. public InlineDateField() {
  23. super();
  24. type = TYPE_INLINE;
  25. }
  26. public InlineDateField(Property dataSource) throws IllegalArgumentException {
  27. super(dataSource);
  28. type = TYPE_INLINE;
  29. }
  30. public InlineDateField(String caption, Date value) {
  31. super(caption, value);
  32. type = TYPE_INLINE;
  33. }
  34. public InlineDateField(String caption, Property dataSource) {
  35. super(caption, dataSource);
  36. type = TYPE_INLINE;
  37. }
  38. public InlineDateField(String caption) {
  39. super(caption);
  40. type = TYPE_INLINE;
  41. }
  42. }