| org.wings.style.Style
All known Subclasses: org.wings.style.CSSStyle,
Style | public interface Style extends Renderable,Serializable,Cloneable(Code) | | A CSS Style definition.
A Style is collection of CSS property/value pairs that are applied to a specified component or component
element. This target is defined by the CSS selector.
So this object can be understood as the OO equivalent of a CSS style definition likw i.e.
A.myStyle { color: red; background: #fff; }
which consists of a CSS selector before the braces and the CSS property/value list inside the braces.
author: Holger Engels author: Benjamin Schmid |
getSelector | Selector getSelector()(Code) | | A object defining on what this styles applies to.
The CSS selector which defines to which elements this style applies to. |
put | String put(CSSProperty styleProperty, String styleValue)(Code) | | Defines a CSS property/value pair in this style.
The previous style property value. |
putAll | boolean putAll(CSSAttributeSet attributes)(Code) | | Adds a set of CSS property/value pairs to this style definition.
Parameters: attributes - Set of CSS property/value pairs to add to this style definition true if the style was changed, false if no modification was necessary |
remove | String remove(CSSProperty name)(Code) | | Removes an attribute from the list.
Parameters: name - the attribute name The previous value for this CSS property |
|
|