diff options
author | Pekka Hyvönen <pekka@vaadin.com> | 2012-08-28 10:16:58 +0300 |
---|---|---|
committer | Artur Signell <artur@vaadin.com> | 2012-08-28 11:31:52 +0300 |
commit | 05964e7adaed15b7bda6ba3c49ce226ec4ff723a (patch) | |
tree | b76381be637511581aa2b0d9e578c6eb925ccf8e /shared/src/com | |
parent | c6d43cc88fb0ef4853e07be54fc76a6aa1dc9e23 (diff) | |
download | vaadin-framework-05964e7adaed15b7bda6ba3c49ce226ec4ff723a.tar.gz vaadin-framework-05964e7adaed15b7bda6ba3c49ce226ec4ff723a.zip |
Renamed Component.debugId to id (#3700)
Applied patch from Pekka with minor changes
(@deprecation javadoc, call the real methods from deprecated methods in AbstractComponent)
Diffstat (limited to 'shared/src/com')
-rw-r--r-- | shared/src/com/vaadin/shared/ComponentState.java | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/shared/src/com/vaadin/shared/ComponentState.java b/shared/src/com/vaadin/shared/ComponentState.java index 92afad0520..ac6f1185bf 100644 --- a/shared/src/com/vaadin/shared/ComponentState.java +++ b/shared/src/com/vaadin/shared/ComponentState.java @@ -42,7 +42,7 @@ public class ComponentState extends SharedState { private boolean visible = true; private URLReference icon = null; private List<String> styles = null; - private String debugId = null; + private String id = null; /** * A set of event identifiers with registered listeners. */ @@ -293,25 +293,25 @@ public class ComponentState extends SharedState { } /** - * Gets the debug id for the component. The debugId is added as DOM id for - * the component. + * Gets the id for the component. The id is added as DOM id for the + * component. * - * @return The debug id for the component or null if not set + * @return The id for the component or null if not set */ - public String getDebugId() { - return debugId; + public String getId() { + return id; } /** - * Sets the debug id for the component. The debugId is added as DOM id for - * the component. + * Sets the id for the component. The id is added as DOM id for the + * component. * - * @param debugId - * The new debugId for the component or null for no debug id + * @param id + * The new id for the component or null for no id * */ - public void setDebugId(String debugId) { - this.debugId = debugId; + public void setId(String id) { + this.id = id; } /** |