|
Common DOM API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DOMImplementationCSS
This interface allows the DOM user to create a CSSStyleSheet
outside the context of a document. There is no way to associate the new
CSSStyleSheet with a document in DOM Level 2.
See also the Document Object Model (DOM) Level 2 Style Specification.
| Method Summary | |
|---|---|
CSSStyleSheet |
createCSSStyleSheet(String title,
String media)
Creates a new CSSStyleSheet. |
| Methods inherited from interface org.w3c.dom.DOMImplementation |
|---|
createDocument, createDocumentType, getFeature, hasFeature |
| Method Detail |
|---|
CSSStyleSheet createCSSStyleSheet(String title,
String media)
throws DOMException
CSSStyleSheet.
title - The advisory title. See also the section.media - The comma-separated list of media associated with the
new style sheet. See also the section.
DOMException - SYNTAX_ERR: Raised if the specified media string value has a syntax
error and is unparsable.
|
Common DOM API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright 2010 Sun Microsystems, Inc. All rights reserved. Use is subject to the terms of the GNU General Public License.