summaryrefslogtreecommitdiffstats
path: root/server/src/com/vaadin/ui/Component.java
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2012-08-24 08:44:20 +0300
committerArtur Signell <artur@vaadin.com>2012-08-24 13:23:16 +0300
commitda176c32c4d92676424021712a7f6d7ee8cedf76 (patch)
tree36e5c97e5c556dd882498516415663384db18185 /server/src/com/vaadin/ui/Component.java
parent86bbe59bb855b6cf57486322bca92e2ace88e8a2 (diff)
downloadvaadin-framework-da176c32c4d92676424021712a7f6d7ee8cedf76.tar.gz
vaadin-framework-da176c32c4d92676424021712a7f6d7ee8cedf76.zip
Renamed Root to UI, automatic rename (#8908)
Automatic rename in Eclipse of the class Root to UI with all rename options enabled, rename also embedded "Root" in variable and method names. The following classes/methods were excluded in the rename: - BootstrapHandler.getApplicationCSSClassName() - ComponentLocator - ConnectorMap - ItemClickEvent - KeepAllItemsVisible - MenuBarTest - MenuBarTooltips - TreeTableTest - TreeWithIcons - Trees - VDebugConsole.printLayoutProblems()
Diffstat (limited to 'server/src/com/vaadin/ui/Component.java')
-rw-r--r--server/src/com/vaadin/ui/Component.java14
1 files changed, 7 insertions, 7 deletions
diff --git a/server/src/com/vaadin/ui/Component.java b/server/src/com/vaadin/ui/Component.java
index 89e282d4e1..7406303af9 100644
--- a/server/src/com/vaadin/ui/Component.java
+++ b/server/src/com/vaadin/ui/Component.java
@@ -507,18 +507,18 @@ public interface Component extends ClientConnector, Sizeable, Serializable {
public void setIcon(Resource icon);
/**
- * Gets the Root the component is attached to.
+ * Gets the UI the component is attached to.
*
* <p>
- * If the component is not attached to a Root through a component
+ * If the component is not attached to a UI through a component
* containment hierarchy, <code>null</code> is returned.
* </p>
*
- * @return the Root of the component or <code>null</code> if it is not
- * attached to a Root
+ * @return the UI of the component or <code>null</code> if it is not
+ * attached to a UI
*/
@Override
- public Root getRoot();
+ public UI getRoot();
/**
* Gets the application object to which the component is attached.
@@ -574,8 +574,8 @@ public interface Component extends ClientConnector, Sizeable, Serializable {
* {@link #setParent(Component)}.
* </p>
* <p>
- * This method must call {@link Root#componentAttached(Component)} to let
- * the Root know that a new Component has been attached.
+ * This method must call {@link UI#componentAttached(Component)} to let
+ * the UI know that a new Component has been attached.
* </p>
*
*