org.kde.koala
Class CSSImportRule

java.lang.Object
  extended by org.kde.koala.CSSRule
      extended by org.kde.koala.CSSImportRule
All Implemented Interfaces:
org.kde.qt.QtSupport

public class CSSImportRule
extends CSSRule

The CSSImportRule interface represents a \@import rule within a CSS style sheet. The \@import rule is used to import style rules from other style sheets.


Constructor Summary
  CSSImportRule()
           
protected CSSImportRule(java.lang.Class dummy)
           
  CSSImportRule(CSSImportRule other)
           
  CSSImportRule(CSSRule other)
           
 
Method Summary
 java.lang.String href()
          The location of the style sheet to be imported.
 java.util.ArrayList media()
          A list of media types for which this style sheet may be used.
 CSSStyleSheet styleSheet()
          The style sheet referred to by this rule, if it has been loaded.
 
Methods inherited from class org.kde.koala.CSSRule
cssText, isNull, parentRule, parentStyleSheet, setCssText, type
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CSSImportRule

protected CSSImportRule(java.lang.Class dummy)

CSSImportRule

public CSSImportRule()

CSSImportRule

public CSSImportRule(CSSImportRule other)

CSSImportRule

public CSSImportRule(CSSRule other)
Method Detail

href

public java.lang.String href()
The location of the style sheet to be imported. The attribute will not contain the "url(...)" specifier around the URI.


media

public java.util.ArrayList media()
A list of media types for which this style sheet may be used.


styleSheet

public CSSStyleSheet styleSheet()
The style sheet referred to by this rule, if it has been loaded. The value of this attribute is null 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).