Interface Stylesheet
public interface Stylesheet
CSS style sheet
- 
Method Summary
 
- 
Method Details
- 
getLength
int getLength()Gets the amount of rules in this stylesheet- Returns:
 - Rule count
 
 - 
getRule
Gets the rule at a specific index- Parameters:
 index- Rule index- Returns:
 - Rule
 - Throws:
 IndexOutOfBoundsException- If theindexis less than 0, or greater/equal togetLength().
 - 
getSource
String getSource()Get the stylesheet's source.Return values Stylesheet type Return value Inline stylesheet inlineProgrammatically created stylesheet programmaticDefault styles sheet default-stylesheetStylesheet loaded from a file (URI the stylesheet was loaded from) - Returns:
 - Stylesheet source
 
 
 -