インタフェース
org.w3c.dom.css.CSSStyleSheetの使用
パッケージ | 説明 |
---|---|
org.w3c.dom.css |
DOM Level 2スタイル仕様のインタフェースを提供します。
|
-
org.w3c.dom.cssでのCSSStyleSheetの使用
CSSStyleSheetを返すorg.w3c.dom.cssのメソッド 修飾子と型 メソッド 説明 CSSStyleSheet
DOMImplementationCSS. createCSSStyleSheet(String title, String media)
新しいCSSStyleSheet
を作成します。CSSStyleSheet
CSSRule. getParentStyleSheet()
このルールを含んでいるスタイル・シートです。CSSStyleSheet
CSSImportRule. getStyleSheet()
このルールによって参照されているスタイル・シート(ロードされている場合)です。