1 12 13 package org.w3c.dom.css; 14 15 import org.w3c.dom.DOMException ; 16 17 26 public interface CSSRule { 27 31 public static final short UNKNOWN_RULE = 0; 32 35 public static final short STYLE_RULE = 1; 36 39 public static final short CHARSET_RULE = 2; 40 43 public static final short IMPORT_RULE = 3; 44 47 public static final short MEDIA_RULE = 4; 48 51 public static final short FONT_FACE_RULE = 5; 52 55 public static final short PAGE_RULE = 6; 56 57 63 public short getType(); 64 65 77 public String getCssText(); 78 public void setCssText(String cssText) 79 throws DOMException ; 80 81 84 public CSSStyleSheet getParentStyleSheet(); 85 86 91 public CSSRule getParentRule(); 92 93 } 94 | Popular Tags |