Packageorg.omoa.framework
Interfacepublic interface ISpaceModel extends flash.events.IEventDispatcher
Implementors SpaceModel

Implementations of this interface store (or process) spatial data.



Public Properties
 PropertyDefined By
  bounds : BoundingBox
[read-only]
ISpaceModel
  geometryType : String
[read-only]
ISpaceModel
  id : String
[read-only]
ISpaceModel
  isComplete : Boolean
[read-only]
ISpaceModel
  projection : IProjection
[read-only]
ISpaceModel
Public Methods
 MethodDefined By
  
ISpaceModel
  
ISpaceModel
  
ISpaceModel
  
ISpaceModel
  
getIndexByAttribute(attribute:String, value:String):int
ISpaceModel
  
iterator(type:String = null):ISpaceModelIterator
ISpaceModel
  
linkDataModel(model:IDataModel, dataDescription:Description = null):void
ISpaceModel
Events
 Event Summary Defined By
  Signalises a change in the SpaceModel.ISpaceModel
  Signalises the end of the loading process.ISpaceModel
  Signalises the pending deconstruction of a SpaceModel.ISpaceModel
Property Detail
boundsproperty
bounds:BoundingBox  [read-only]


Implementation
    public function get bounds():BoundingBox
geometryTypeproperty 
geometryType:String  [read-only]


Implementation
    public function get geometryType():String
idproperty 
id:String  [read-only]


Implementation
    public function get id():String
isCompleteproperty 
isComplete:Boolean  [read-only]


Implementation
    public function get isComplete():Boolean
projectionproperty 
projection:IProjection  [read-only]


Implementation
    public function get projection():IProjection
Method Detail
attributes()method
public function attributes():IDataModel

Returns
IDataModel
entity()method 
public function entity(index:uint):SpaceModelEntity

Parameters

index:uint

Returns
SpaceModelEntity
entityCount()method 
public function entityCount():int

Returns
int
findById()method 
public function findById(id:String):SpaceModelEntity

Parameters

id:String

Returns
SpaceModelEntity
getIndexByAttribute()method 
public function getIndexByAttribute(attribute:String, value:String):int

Parameters

attribute:String
 
value:String

Returns
int
iterator()method 
public function iterator(type:String = null):ISpaceModelIterator

Parameters

type:String (default = null)

Returns
ISpaceModelIterator
linkDataModel()method 
public function linkDataModel(model:IDataModel, dataDescription:Description = null):void

Parameters

model:IDataModel
 
dataDescription:Description (default = null)

Event Detail
CHANGE Event
Event Object Type: flash.events.Event

Signalises a change in the SpaceModel.

COMPLETE Event  
Event Object Type: flash.events.Event

Signalises the end of the loading process. You may now use this class as a SpaceModel.

REMOVED Event  
Event Object Type: flash.events.Event

Signalises the pending deconstruction of a SpaceModel.