public class MapCSSRule extends java.lang.Object implements java.lang.Comparable<MapCSSRule>
Modifier and Type | Class and Description |
---|---|
static class |
MapCSSRule.Declaration
A declaration is a set of
Instruction s |
Modifier and Type | Field and Description |
---|---|
MapCSSRule.Declaration |
declaration
The instructions for this selector
|
Selector |
selector
The 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 |
java.lang.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 java.lang.Comparable<MapCSSRule>
public java.lang.String toString()
toString
in class java.lang.Object