aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/itmill/toolkit/ui/Component.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/itmill/toolkit/ui/Component.java')
-rw-r--r--src/com/itmill/toolkit/ui/Component.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/com/itmill/toolkit/ui/Component.java b/src/com/itmill/toolkit/ui/Component.java
index 7af0485e0e..eefa6ff11d 100644
--- a/src/com/itmill/toolkit/ui/Component.java
+++ b/src/com/itmill/toolkit/ui/Component.java
@@ -55,7 +55,7 @@ public interface Component extends Paintable, VariableOwner {
*
* @return the component's styleValue of property style.
*/
- public String getStyle();
+ public String getStyleName();
/**
* Sets and replaces all previous style names of the component. This method
@@ -65,12 +65,12 @@ public interface Component extends Paintable, VariableOwner {
* @param style
* the new style of the component.
*/
- public void setStyle(String style);
-
+ public void setStyleName(String style);
+
/**
- * Adds style name to component. Handeling additional style names is
- * terminal spesicif, but in web browser enviroment they will most likely
- * become CSS classes as given on server side.
+ * Adds style name to component. Handling additional style names is terminal
+ * specific, but in web browser environment they will most likely become CSS
+ * classes as given on server side.
*
* This method will trigger a
* {@link com.itmill.toolkit.terminal.Paintable.RepaintRequestEvent RepaintRequestEvent}.