Packageorg.omoa.layer
Classpublic class SymbolLayer
InheritanceSymbolLayer Inheritance AbstractLayer Inheritance flash.events.EventDispatcher

This layer visualizes a SpaceModel through one or more Symbols.



Public Properties
 PropertyDefined By
  customIterator : ISpaceModelIterator
SymbolLayer
 Inheriteddescription : String
[read-only]
AbstractLayer
 Inheritedid : String
[read-only]
AbstractLayer
 Inheritedlegend : ILegend
[read-only]
AbstractLayer
 InheritedspaceModel : ISpaceModel
[read-only]
AbstractLayer
 Inheritedtitle : String
[read-only]
AbstractLayer
 Inheritedtype : String
[read-only]
AbstractLayer
Protected Properties
 PropertyDefined By
 Inherited_description : String
AbstractLayer
 Inherited_id : String
AbstractLayer
 Inherited_legend : ILegend
AbstractLayer
 Inherited_spaceModel : ISpaceModel
AbstractLayer
  _symbols : Vector.<ISymbol>
SymbolLayer
 Inherited_title : String
AbstractLayer
 Inherited_type : String = AbstractLayer
AbstractLayer
Public Methods
 MethodDefined By
  
SymbolLayer(id:String, spaceModel:ISpaceModel)
SymbolLayer
  
addSymbol(symbol:ISymbol):void
SymbolLayer
  
cleanup(sprite:Sprite):void
[override]
SymbolLayer
 Inherited
create(className:String, name:String, spacemodel:ISpaceModel):ILayer
[static] Creates an ILayer instance.
AbstractLayer
  
getEntityForSprite(displayObject:DisplayObject):SpaceModelEntity
SymbolLayer
  
getSymbolForSprite(displayObject:DisplayObject):SpaceModelEntity
SymbolLayer
  
isSetup(sprite:Sprite):Boolean
[override]
SymbolLayer
  
recenter(sprite:Sprite, displayExtent:Rectangle, viewportBounds:BoundingBox, transformation:Matrix):void
[override]
SymbolLayer
  
render(sprite:Sprite, displayExtent:Rectangle, viewportBounds:BoundingBox, transformation:Matrix):void
[override]
SymbolLayer
  
rescale(sprite:Sprite, displayExtent:Rectangle, viewportBounds:BoundingBox, transformation:Matrix):void
[override]
SymbolLayer
 Inherited
setSpaceModel(spacemodel:ISpaceModel):void
AbstractLayer
  
setup(sprite:Sprite):void
[override]
SymbolLayer
Events
 Event Summary Defined By
  SymbolLayer
Property Detail
_symbolsproperty
protected var _symbols:Vector.<ISymbol>

customIteratorproperty 
public var customIterator:ISpaceModelIterator

Constructor Detail
SymbolLayer()Constructor
public function SymbolLayer(id:String, spaceModel:ISpaceModel)



Parameters
id:String
 
spaceModel:ISpaceModel
Method Detail
addSymbol()method
public function addSymbol(symbol:ISymbol):void

Parameters

symbol:ISymbol

cleanup()method 
override public function cleanup(sprite:Sprite):void

Parameters

sprite:Sprite

getEntityForSprite()method 
public function getEntityForSprite(displayObject:DisplayObject):SpaceModelEntity

Parameters

displayObject:DisplayObject

Returns
SpaceModelEntity
getSymbolForSprite()method 
public function getSymbolForSprite(displayObject:DisplayObject):SpaceModelEntity

Parameters

displayObject:DisplayObject

Returns
SpaceModelEntity
isSetup()method 
override public function isSetup(sprite:Sprite):Boolean

Parameters

sprite:Sprite

Returns
Boolean
recenter()method 
override public function recenter(sprite:Sprite, displayExtent:Rectangle, viewportBounds:BoundingBox, transformation:Matrix):void

Parameters

sprite:Sprite
 
displayExtent:Rectangle
 
viewportBounds:BoundingBox
 
transformation:Matrix

render()method 
override public function render(sprite:Sprite, displayExtent:Rectangle, viewportBounds:BoundingBox, transformation:Matrix):void

Parameters

sprite:Sprite
 
displayExtent:Rectangle
 
viewportBounds:BoundingBox
 
transformation:Matrix

rescale()method 
override public function rescale(sprite:Sprite, displayExtent:Rectangle, viewportBounds:BoundingBox, transformation:Matrix):void

Parameters

sprite:Sprite
 
displayExtent:Rectangle
 
viewportBounds:BoundingBox
 
transformation:Matrix

setup()method 
override public function setup(sprite:Sprite):void

Parameters

sprite:Sprite

Event Detail
CLICK Event
Event Object Type: org.omoa.event.SymbolEvent