Packagenet.systemeD.halcyon.styleparser
Classpublic class RuleChain

A descendant list of MapCSS selectors (Rules). For example, relation[type=route] way[highway=primary] ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ first Rule second Rule |------------|---------| | one RuleChain



Public Properties
 PropertyDefined by
  length : int
[read-only]
RuleChain
  rules : Array
RuleChain
  subpart : String = "default"
RuleChain
Public Methods
 MethodDefined by
  
RuleChain
  
addRule(e:String = ""):void
RuleChain
  
addZoomToLast(z1:uint, z2:uint):void
RuleChain
  
setSubpart(s:String):void
RuleChain
  
test(pos:int, obj:Entity, tags:Object, zoom:uint):Boolean
RuleChain
Property detail
lengthproperty
length:int  [read-only]Implementation
    public function get length():int
rulesproperty 
public var rules:Array
subpartproperty 
public var subpart:String = "default"
Method detail
addConditionToLast()method
public function addConditionToLast(c:Condition):voidParameters
c:Condition
addRule()method 
public function addRule(e:String = ""):voidParameters
e:String (default = "")
addZoomToLast()method 
public function addZoomToLast(z1:uint, z2:uint):voidParameters
z1:uint
 
z2:uint
setSubpart()method 
public function setSubpart(s:String):voidParameters
s:String
test()method 
public function test(pos:int, obj:Entity, tags:Object, zoom:uint):BooleanParameters
pos:int
 
obj:Entity
 
tags:Object
 
zoom:uint

Returns
Boolean