|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.steadystate.css.dom.CSSImportRuleImpl
public class CSSImportRuleImpl
TODO: Implement getStyleSheet()
| Field Summary |
|---|
| Fields inherited from interface org.w3c.dom.css.CSSRule |
|---|
CHARSET_RULE, FONT_FACE_RULE, IMPORT_RULE, MEDIA_RULE, PAGE_RULE, STYLE_RULE, UNKNOWN_RULE |
| Constructor Summary | |
|---|---|
CSSImportRuleImpl(CSSStyleSheetImpl parentStyleSheet,
CSSRule parentRule,
java.lang.String href,
MediaList media)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getCssText()
The parsable textual representation of the rule. |
java.lang.String |
getHref()
The location of the style sheet to be imported. |
MediaList |
getMedia()
A list of media types for which this style sheet may be used. |
CSSRule |
getParentRule()
If this rule is contained inside another rule (e.g. |
CSSStyleSheet |
getParentStyleSheet()
The style sheet that contains this rule. |
CSSStyleSheet |
getStyleSheet()
The style sheet referred to by this rule, if it has been loaded. |
short |
getType()
The type of the rule, as defined above. |
void |
setCssText(java.lang.String cssText)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CSSImportRuleImpl(CSSStyleSheetImpl parentStyleSheet,
CSSRule parentRule,
java.lang.String href,
MediaList media)
| Method Detail |
|---|
public short getType()
CSSRuleCSSRule interface to the specific
derived interface implied by the type.
getType in interface CSSRulepublic java.lang.String getCssText()
CSSRule
getCssText in interface CSSRule
public void setCssText(java.lang.String cssText)
throws org.w3c.dom.DOMException
setCssText in interface CSSRuleorg.w3c.dom.DOMExceptionpublic CSSStyleSheet getParentStyleSheet()
CSSRule
getParentStyleSheet in interface CSSRulepublic CSSRule getParentRule()
CSSRulenull.
getParentRule in interface CSSRulepublic java.lang.String getHref()
CSSImportRule"url(...)" specifier around the URI.
getHref in interface CSSImportRulepublic MediaList getMedia()
CSSImportRule
getMedia in interface CSSImportRulepublic CSSStyleSheet getStyleSheet()
CSSImportRulenull if the style sheet has
not yet been loaded or if it will not be loaded (e.g. if the style
sheet is for a media type not supported by the user agent).
getStyleSheet in interface CSSImportRulepublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||