diff options
Diffstat (limited to 'src/com/itmill/toolkit/ui/Component.java')
-rw-r--r-- | src/com/itmill/toolkit/ui/Component.java | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/src/com/itmill/toolkit/ui/Component.java b/src/com/itmill/toolkit/ui/Component.java index 234b8d9836..7af0485e0e 100644 --- a/src/com/itmill/toolkit/ui/Component.java +++ b/src/com/itmill/toolkit/ui/Component.java @@ -52,40 +52,42 @@ public interface Component extends Paintable, VariableOwner { /** * Gets style for component. Multiple styles are joined with spaces. - * + * * @return the component's styleValue of property style. */ public String getStyle(); /** - * Sets and replaces all previous style names of the component. This method will trigger a + * Sets and replaces all previous style names of the component. This method + * will trigger a * {@link com.itmill.toolkit.terminal.Paintable.RepaintRequestEvent RepaintRequestEvent}. * * @param style * the new style of the component. */ public void setStyle(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. Handeling additional style names is + * terminal spesicif, but in web browser enviroment 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}. * * @param style - * the new style to be added to the component + * the new style to be added to the component */ public void addStyleName(String style); - + /** * Removes given style name from component. * * @param style - * the style to be removed + * the style to be removed */ public void removeStyleName(String style); - + /** * <p> * Tests if the component is enabled or not. All the variable change events |