Class StyleSheet

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable

    public class StyleSheet
    extends org.zkoss.html.StyleSheet
    Deprecated.
    As of release 6.0.0, replaced with StyleSheet. 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).
    • Method Summary

      • Methods inherited from class org.zkoss.html.StyleSheet

        clone, equals, getContent, getHref, getMedia, getType, hashCode, isDisabled, toString
      • Methods inherited from class java.lang.Object

        finalize, getClass, notify, notifyAll, wait, wait, wait
    • 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