org.w3c.dom.html2

Interface HTMLStyleElement

public interface HTMLStyleElement extends HTMLElement

Style information. See the STYLE element definition in HTML 4.01, the CSS module [DOM Level 2 Style Sheets and CSS] and the LinkStyle interface in the StyleSheets module [DOM Level 2 Style Sheets and CSS].

See also the Document Object Model (DOM) Level 2 HTML Specification.

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)
Enables/disables the style sheet.
voidsetMedia(String media)
Designed for use with one or more target media.
voidsetType(String type)
The content type of the style sheet language.

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.01.

getType

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

setDisabled

public void setDisabled(boolean disabled)
Enables/disables the style sheet.

setMedia

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

setType

public void setType(String type)
The content type of the style sheet language. See the type attribute definition in HTML 4.01.