fi.hut.tml.xsmiles.dom
Interface XSmilesStyleSheet

All Known Implementing Classes:
CSSImpl, CSSImpl2

public interface XSmilesStyleSheet


Method Summary
 void addXMLDefaultStyleSheet(java.net.URL defaultUrl)
          Add a default (user agent) style sheet
 void addXMLStyleSheet(java.lang.String stylesheetText, java.net.URL baseUrl)
          Add a author style sheet
 void addXMLStyleSheet(java.net.URL stylesheetUrl)
          Add a author style sheet
 Selectors getCSSSelectors()
           
 org.w3c.dom.css.CSSStyleDeclaration getParsedStyle(StylableElement elem)
          get parsed and combined style for an element
 void prepareStyleSheet(org.w3c.dom.css.CSSStyleSheet ss)
          prepare a parsed stylesheet (add mediaqueryevaluator + do sorting)
 

Method Detail

addXMLDefaultStyleSheet

public void addXMLDefaultStyleSheet(java.net.URL defaultUrl)
Add a default (user agent) style sheet


addXMLStyleSheet

public void addXMLStyleSheet(java.net.URL stylesheetUrl)
Add a author style sheet


addXMLStyleSheet

public void addXMLStyleSheet(java.lang.String stylesheetText,
                             java.net.URL baseUrl)
Add a author style sheet


getParsedStyle

public org.w3c.dom.css.CSSStyleDeclaration getParsedStyle(StylableElement elem)
get parsed and combined style for an element


prepareStyleSheet

public void prepareStyleSheet(org.w3c.dom.css.CSSStyleSheet ss)
prepare a parsed stylesheet (add mediaqueryevaluator + do sorting)


getCSSSelectors

public Selectors getCSSSelectors()


X-Smiles 1.2