public interface StyleSheet
CssStyleSheet
interface.Modifier and Type | Method and Description |
---|---|
java.lang.String |
getHref()
Getter for href attribute.
|
MediaList |
getMedia()
The intended destination media for style information.
|
Node |
getOwnerNode()
The node that associates this style sheet with the document.
|
StyleSheet |
getParentStyleSheet()
For style sheet languages that support the concept of style sheet inclusion, this attribute represents
the including style sheet, if one exists.
|
java.lang.String |
getTitle()
The advisory title.
|
java.lang.String |
getType()
This specifies the style sheet language for this style sheet.
|
boolean |
isDisabled()
Representing whether the current stylesheet has been applied or not.
|
void |
setDisabled(boolean disabled)
Setter used to set the disabled property which is used to indicate whether a stylesheet should be
applied
|
boolean isDisabled()
void setDisabled(boolean disabled)
disabled
- false if the style sheet is applied to the document. true if it is not. Modifying this
attribute may cause a new resolution of style for the document. A stylesheet only applies if
both an appropriate medium definition is present and the disabled attribute is false. So, if
the media doesn't apply to the current user agent, the disabled attribute is ignored.java.lang.String getHref()
MediaList getMedia()
Node getOwnerNode()
StyleSheet getParentStyleSheet()
java.lang.String getTitle()
java.lang.String getType()