public class CSSStyleSheetImpl extends Object implements org.w3c.dom.css.CSSStyleSheet, CSSFormatable, Serializable
CSSStyleSheet.| Constructor and Description |
|---|
CSSStyleSheetImpl() |
public void setMedia(org.w3c.dom.stylesheets.MediaList media)
public void setBaseUri(String baseUri)
public String getType()
getType in interface org.w3c.dom.stylesheets.StyleSheetpublic boolean getDisabled()
getDisabled in interface org.w3c.dom.stylesheets.StyleSheetpublic void setDisabled(boolean disabled)
setDisabled in interface org.w3c.dom.stylesheets.StyleSheetpublic Node getOwnerNode()
getOwnerNode in interface org.w3c.dom.stylesheets.StyleSheetpublic org.w3c.dom.stylesheets.StyleSheet getParentStyleSheet()
getParentStyleSheet in interface org.w3c.dom.stylesheets.StyleSheetpublic String getHref()
getHref in interface org.w3c.dom.stylesheets.StyleSheetpublic String getTitle()
getTitle in interface org.w3c.dom.stylesheets.StyleSheetpublic org.w3c.dom.stylesheets.MediaList getMedia()
getMedia in interface org.w3c.dom.stylesheets.StyleSheetpublic org.w3c.dom.css.CSSRule getOwnerRule()
getOwnerRule in interface org.w3c.dom.css.CSSStyleSheetpublic org.w3c.dom.css.CSSRuleList getCssRules()
getCssRules in interface org.w3c.dom.css.CSSStyleSheetpublic int insertRule(String rule, int index) throws DOMException
insertRule in interface org.w3c.dom.css.CSSStyleSheetDOMExceptionpublic void deleteRule(int index)
throws DOMException
deleteRule in interface org.w3c.dom.css.CSSStyleSheetDOMExceptionpublic boolean isReadOnly()
public void setReadOnly(boolean b)
public void setOwnerNode(Node ownerNode)
public void setParentStyleSheet(org.w3c.dom.stylesheets.StyleSheet parentStyleSheet)
public void setHref(String href)
public void setTitle(String title)
public void setMediaText(String mediaText)
public void setOwnerRule(org.w3c.dom.css.CSSRule ownerRule)
public void setCssRules(org.w3c.dom.css.CSSRuleList rules)
public String getCssText()
getCssText(CSSFormat) but using the default format.public String getCssText(CSSFormat format)
getCssText in interface CSSFormatableformat - the formatting rulespublic void importImports(boolean recursive)
throws DOMException
recursive - true if the import should be done
recursively, false otherwiseDOMExceptionCopyright © 1999–2022. All rights reserved.