public interface CssFile
Modifier and Type | Method and Description |
---|---|
boolean |
add(String selector,
Map<String,String> props)
Add CSS to this CssFile.
|
List<CssRule> |
get(Tag t)
Return CSS declarations for the given tag.
|
boolean |
isPersistent() |
void |
isPersistent(boolean b)
Indicates that this file should be kept.
|
boolean add(String selector, Map<String,String> props)
selector
- the CSS selectorprops
- the properties for the given selectorList<CssRule> get(Tag t)
t
- the tag for searching rulesboolean isPersistent()
void isPersistent(boolean b)
b
- true if this file should be kept.Copyright © 2017. All rights reserved.