summaryrefslogtreecommitdiffstats
path: root/server/src/com/vaadin/ui/Component.java
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2012-08-24 11:32:49 +0300
committerArtur Signell <artur@vaadin.com>2012-08-24 13:23:19 +0300
commit0b0ddb86876a965f68c6160fe7a499412b6c199d (patch)
tree636de4f5b01e38b4e7d460012438fe7a266e7596 /server/src/com/vaadin/ui/Component.java
parentff0761f787f94a157d12af2a37e10e808d43fc59 (diff)
downloadvaadin-framework-0b0ddb86876a965f68c6160fe7a499412b6c199d.tar.gz
vaadin-framework-0b0ddb86876a965f68c6160fe7a499412b6c199d.zip
Component.getRoot() -> Component.getUI() (#8908)
Diffstat (limited to 'server/src/com/vaadin/ui/Component.java')
-rw-r--r--server/src/com/vaadin/ui/Component.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/src/com/vaadin/ui/Component.java b/server/src/com/vaadin/ui/Component.java
index 7406303af9..400dd66cac 100644
--- a/server/src/com/vaadin/ui/Component.java
+++ b/server/src/com/vaadin/ui/Component.java
@@ -518,7 +518,7 @@ public interface Component extends ClientConnector, Sizeable, Serializable {
* attached to a UI
*/
@Override
- public UI getRoot();
+ public UI getUI();
/**
* Gets the application object to which the component is attached.
@@ -548,7 +548,7 @@ public interface Component extends ClientConnector, Sizeable, Serializable {
* <p>
* Reimplementing the {@code attach()} method is useful for tasks that need
* to get a reference to the parent, window, or application object with the
- * {@link #getParent()}, {@link #getRoot()}, and {@link #getApplication()}
+ * {@link #getParent()}, {@link #getUI()}, and {@link #getApplication()}
* methods. A component does not yet know these objects in the constructor,
* so in such case, the methods will return {@code null}. For example, the
* following is invalid: