diff options
Diffstat (limited to 'server/src/com/vaadin/ui/Component.java')
-rw-r--r-- | server/src/com/vaadin/ui/Component.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/server/src/com/vaadin/ui/Component.java b/server/src/com/vaadin/ui/Component.java index 0559cc5e6a..f0993aac6d 100644 --- a/server/src/com/vaadin/ui/Component.java +++ b/server/src/com/vaadin/ui/Component.java @@ -136,8 +136,9 @@ public interface Component extends ClientConnector, Sizeable, Serializable { public void setStyleName(String style); /** - * Adds a style name to component. The style name will be rendered as a HTML - * class name, which can be used in a CSS definition. + * Adds one or more style names to this component. Multiple styles can be + * specified as a space-separated list of style names. The style name will + * be rendered as a HTML class name, which can be used in a CSS definition. * * <pre> * Label label = new Label("This text has style"); |