From 2437bd812b8fbd46ee25d85a93f47cce546c42a7 Mon Sep 17 00:00:00 2001
From: Artur Signell
DateField
with no caption.
*/
public DateField() {
- setInvalidAllowed(false);
}
/**
@@ -143,7 +142,6 @@ public class DateField extends AbstractField implements
*/
public DateField(String caption) {
setCaption(caption);
- setInvalidAllowed(false);
}
/**
@@ -168,7 +166,6 @@ public class DateField extends AbstractField implements
* the Property to be edited with this editor.
*/
public DateField(Property dataSource) throws IllegalArgumentException {
- setInvalidAllowed(false);
if (!Date.class.isAssignableFrom(dataSource.getType())) {
throw new IllegalArgumentException("Can't use "
+ dataSource.getType().getName()
@@ -191,7 +188,6 @@ public class DateField extends AbstractField implements
* the Date value.
*/
public DateField(String caption, Date value) {
- setInvalidAllowed(false);
setValue(value);
setCaption(caption);
}
--
2.39.5