org.w3c.dom.html

Interface HTMLStyleElement

public interface HTMLStyleElement extends HTMLElement

Style information. A more detailed style sheet object model is planned to be defined in a separate document. See the STYLE element definition in HTML 4.0.

See also the Document Object Model (DOM) Level 1 Specification (Second Edition).

Method Summary
booleangetDisabled()
Enables/disables the style sheet.
StringgetMedia()
Designed for use with one or more target media.
StringgetType()
The content type of the style sheet language.
voidsetDisabled(boolean disabled)
voidsetMedia(String media)
voidsetType(String type)

Method Detail

getDisabled

public boolean getDisabled()
Enables/disables the style sheet.

getMedia

public String getMedia()
Designed for use with one or more target media. See the media attribute definition in HTML 4.0.

getType

public String getType()
The content type of the style sheet language. See the type attribute definition in HTML 4.0.

setDisabled

public void setDisabled(boolean disabled)

setMedia

public void setMedia(String media)

setType

public void setType(String type)