From 97cb5b1cd160cfa9dc00e41b5206c83ce26a4c35 Mon Sep 17 00:00:00 2001
From: Artur Signell
* This method is rarely called directly. The * {@link ComponentContainer#addComponent(Component)} method is normally @@ -620,6 +619,11 @@ public interface Component extends ClientConnector, Paintable, VariableOwner, * application, the {@code attach()} is called immediately from * {@link #setParent(Component)}. *
+ *+ * This method must call {@link Root#componentAttached(Component)} to let + * the Root know that a new Component has been attached. + *
+ * * ** public class AttachExample extends CustomComponent { @@ -655,6 +659,11 @@ public interface Component extends ClientConnector, Paintable, VariableOwner, * * *+ * This method must call {@link Root#componentDetached(Component)} to let + * the Root know that a new Component has been attached. + *
+ * * + ** The caller of this method is {@link #setParent(Component)} if the parent * is in the application. When the parent is detached from the application * it is its response to call {@link #detach()} for all the children and to -- 2.39.5