| java.lang.Object nextapp.echo2.app.MutableStyleSheet
MutableStyleSheet | public class MutableStyleSheet implements StyleSheet(Code) | | A mutable implementation of a StyleSheet .
|
addStyle | public void addStyle(Class componentClass, String styleName, Style style)(Code) | | Adds a Style to the StyleSheet .
Parameters: componentClass - the Class of the Component for which the style is to be used Parameters: styleName - the name of the style Parameters: style - the Style to be added |
addStyleSheet | public void addStyleSheet(MutableStyleSheet styleSheet)(Code) | | Adds the contents of another StyleSheet to this
StyleSheet . Future changes to the added
StyleSheet will not be reflected, unless it is re-added.
Parameters: styleSheet - the StyleSheet to add |
|
|