summaryrefslogtreecommitdiffstats
path: root/server/src/com/vaadin/ui
diff options
context:
space:
mode:
authorJohannes Dahlström <johannesd@vaadin.com>2012-11-20 19:04:55 +0200
committerJohannes Dahlström <johannesd@vaadin.com>2012-11-21 15:48:44 +0200
commit741758d24ff4803ce674eacf79a3ecaaa8f26ed6 (patch)
tree2b15446ac053a7d1504cb5379474f2be8556375b /server/src/com/vaadin/ui
parent5085308ae1619f8c68900379077b581df526eb94 (diff)
downloadvaadin-framework-741758d24ff4803ce674eacf79a3ecaaa8f26ed6.tar.gz
vaadin-framework-741758d24ff4803ce674eacf79a3ecaaa8f26ed6.zip
Add attach and detach listeners and events to ClientConnector (#8579, #10251)
Change-Id: Ifda4b4a770fb7d330f0fe5d606f8415961a574a2
Diffstat (limited to 'server/src/com/vaadin/ui')
-rw-r--r--server/src/com/vaadin/ui/Component.java8
1 files changed, 1 insertions, 7 deletions
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)}.
* </p>
- * <p>
- * This method must call {@link UI#componentAttached(Component)} to let the
- * UI know that a new Component has been attached.
- * </p>
- *
*
* <pre>
* 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.