public class MapCSSRule extends Object implements Comparable<MapCSSRule>
Modifier and Type | Class and Description |
---|---|
static class |
MapCSSRule.Declaration |
Modifier and Type | Field and Description |
---|---|
MapCSSRule.Declaration |
declaration |
Selector |
selector |
Constructor and Description |
---|
MapCSSRule(Selector selector,
MapCSSRule.Declaration declaration)
Constructs a new
MapCSSRule . |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(MapCSSRule o) |
void |
execute(Environment env)
Executes the instructions against the environment
env |
String |
toString() |
public final MapCSSRule.Declaration declaration
public MapCSSRule(Selector selector, MapCSSRule.Declaration declaration)
MapCSSRule
.selector
- The selectordeclaration
- The declarationpublic void execute(Environment env)
Executes the instructions against the environment env
env
- the environmentpublic int compareTo(MapCSSRule o)
compareTo
in interface Comparable<MapCSSRule>