diff options
Diffstat (limited to 'src/com/vaadin/ui/CustomField.java')
-rw-r--r-- | src/com/vaadin/ui/CustomField.java | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/com/vaadin/ui/CustomField.java b/src/com/vaadin/ui/CustomField.java index c333309fbf..806ee91335 100644 --- a/src/com/vaadin/ui/CustomField.java +++ b/src/com/vaadin/ui/CustomField.java @@ -9,8 +9,6 @@ import java.lang.reflect.Method; import java.util.Iterator; import com.vaadin.data.Property; -import com.vaadin.terminal.PaintException; -import com.vaadin.terminal.PaintTarget; /** * A {@link Field} whose UI content can be constructed by the user, enabling the @@ -84,17 +82,6 @@ public abstract class CustomField<T> extends AbstractField<T> implements getContent().detach(); } - @Override - public void paintContent(PaintTarget target) throws PaintException { - if (getContent() == null) { - throw new IllegalStateException( - "Content component or layout of the field must be set before the " - + getClass().getName() + " can be painted"); - } - - getContent().paint(target); - } - /** * Returns the content (UI) of the custom component. * |