Package org.zkoss.web.servlet
Class StyleSheet
- java.lang.Object
-
- org.zkoss.html.StyleSheet
-
- org.zkoss.web.servlet.StyleSheet
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable
public class StyleSheet extends org.zkoss.html.StyleSheetDeprecated.As of release 6.0.0, replaced withStyleSheet. Represents a style sheet.- Author:
- tomyeh
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StyleSheet(java.lang.String href, java.lang.String type)Deprecated.Creates by specifying the file to contain the style sheets.StyleSheet(java.lang.String content, java.lang.String type, boolean byContent)Deprecated.Creates by assigning the content (style sheets).StyleSheet(java.lang.String content, java.lang.String type, java.lang.String media, boolean byContent)Deprecated.Creates by assigning the content (style sheets).
-
-
-
Constructor Detail
-
StyleSheet
public StyleSheet(java.lang.String href, java.lang.String type)Deprecated.Creates by specifying the file to contain the style sheets.- Parameters:
href- URI of the file containing the style sheets.type- the type. If null, "text/css" is assumed.
-
StyleSheet
public StyleSheet(java.lang.String content, java.lang.String type, boolean byContent)Deprecated.Creates by assigning the content (style sheets).- Parameters:
content- the style content or an URI to an external file.type- the type. If null, "text/css" is assumed.byContent- the content argument is the style content, or an URI to an external content
-
StyleSheet
public StyleSheet(java.lang.String content, java.lang.String type, java.lang.String media, boolean byContent)Deprecated.Creates by assigning the content (style sheets).- Parameters:
content- the style content or an URI to an external file.type- the type. If null, "text/css" is assumed.media- the media. If null, it is omitted.byContent- the content argument is the style content, or an URI to an external content- Since:
- 5.0.3
-
-