summaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/ui
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2012-03-30 19:51:04 +0300
committerArtur Signell <artur@vaadin.com>2012-03-30 19:51:04 +0300
commitbe7ba6da82c72636b4ce85f240ae3fbfcef8ad2a (patch)
treeff97858639984b418da2ed4bff0eba89bd4102e6 /src/com/vaadin/ui
parentc9b7b7db307d1ff3bc920af75f8bd37ff051dc3c (diff)
downloadvaadin-framework-be7ba6da82c72636b4ce85f240ae3fbfcef8ad2a.tar.gz
vaadin-framework-be7ba6da82c72636b4ce85f240ae3fbfcef8ad2a.zip
Converted CustomComponent to use only connector hierarchy change event
Diffstat (limited to 'src/com/vaadin/ui')
-rw-r--r--src/com/vaadin/ui/CustomComponent.java13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/com/vaadin/ui/CustomComponent.java b/src/com/vaadin/ui/CustomComponent.java
index c11a96101a..691c9d3c32 100644
--- a/src/com/vaadin/ui/CustomComponent.java
+++ b/src/com/vaadin/ui/CustomComponent.java
@@ -7,8 +7,6 @@ package com.vaadin.ui;
import java.io.Serializable;
import java.util.Iterator;
-import com.vaadin.terminal.PaintException;
-import com.vaadin.terminal.PaintTarget;
import com.vaadin.terminal.gwt.client.ui.CustomComponentConnector;
import com.vaadin.ui.ClientWidget.LoadStyle;
@@ -102,17 +100,6 @@ public class CustomComponent extends AbstractComponentContainer {
/* Basic component features ------------------------------------------ */
- @Override
- public void paintContent(PaintTarget target) throws PaintException {
- if (root == null) {
- throw new IllegalStateException("Composition root must be set to"
- + " non-null value before the " + getClass().getName()
- + " can be painted");
- }
-
- root.paint(target);
- }
-
private class ComponentIterator implements Iterator<Component>,
Serializable {
boolean first = getCompositionRoot() != null;