aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/itmill/toolkit/ui/AbstractComponent.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/itmill/toolkit/ui/AbstractComponent.java')
-rw-r--r--src/com/itmill/toolkit/ui/AbstractComponent.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/itmill/toolkit/ui/AbstractComponent.java b/src/com/itmill/toolkit/ui/AbstractComponent.java
index a641ef3bd8..7155c759c6 100644
--- a/src/com/itmill/toolkit/ui/AbstractComponent.java
+++ b/src/com/itmill/toolkit/ui/AbstractComponent.java
@@ -161,6 +161,7 @@ public abstract class AbstractComponent implements Component, MethodEventSource
* indicate that "style" should not be used to switch client
* side implementation, only to style the component.
*/
+ @Deprecated
public String getStyle() {
return getStyleName();
}
@@ -177,6 +178,7 @@ public abstract class AbstractComponent implements Component, MethodEventSource
* indicate that "style" should not be used to switch client
* side implementation, only to style the component.
*/
+ @Deprecated
public void setStyle(String style) {
setStyleName(style);
}