From 741758d24ff4803ce674eacf79a3ecaaa8f26ed6 Mon Sep 17 00:00:00 2001 From: Johannes Dahlström Date: Tue, 20 Nov 2012 19:04:55 +0200 Subject: Add attach and detach listeners and events to ClientConnector (#8579, #10251) Change-Id: Ifda4b4a770fb7d330f0fe5d606f8415961a574a2 --- server/src/com/vaadin/ui/Component.java | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'server/src/com/vaadin/ui') diff --git a/server/src/com/vaadin/ui/Component.java b/server/src/com/vaadin/ui/Component.java index 85140a8351..afde1cdbdf 100644 --- a/server/src/com/vaadin/ui/Component.java +++ b/server/src/com/vaadin/ui/Component.java @@ -18,7 +18,6 @@ package com.vaadin.ui; import java.io.Serializable; import java.util.EventListener; -import java.util.EventObject; import java.util.Locale; import com.vaadin.event.FieldEvents; @@ -580,11 +579,6 @@ public interface Component extends ClientConnector, Sizeable, Serializable { * application, the {@code attach()} is called immediately from * {@link #setParent(Component)}. *

- *

- * This method must call {@link UI#componentAttached(Component)} to let the - * UI know that a new Component has been attached. - *

- * * *
      * public class AttachExample extends CustomComponent {
@@ -735,7 +729,7 @@ public interface Component extends ClientConnector, Sizeable, Serializable {
      * @see Component.Listener
      */
     @SuppressWarnings("serial")
-    public static class Event extends EventObject {
+    public static class Event extends ConnectorEvent {
 
         /**
          * Constructs a new event with the specified source component.
-- 
cgit v1.2.3