Packagevegas.models.maps
Classpublic class InitMapModelObject
InheritanceInitMapModelObject Inheritance Task Inheritance Object

Initialize the model with a Array of ValueObject objects.



Public Properties
 PropertyDefined By
  autoClear : Boolean
Indicates if the model is autocleared when the process start.
InitMapModelObject
  autoSelect : Boolean
Indicates if the first item inserted in the model must be selected.
InitMapModelObject
  cleanFirst : Boolean
Indicates if the first attribute must be autocleared when the process is finished.
InitMapModelObject
  datas : Array
The Array representation of all value object.
InitMapModelObject
 InheritedfinishIt : Signaler
This signal emit when the notifyFinished method is invoked.
Task
  first : *
This property define a ValueObject or a specific id to run the map model when is initialized.
InitMapModelObject
 Inheritedlogger : Logger
Determinates the internal Logger reference of this Loggable object.
Task
  model : MapModelObject
The model reference.
InitMapModelObject
 Inheritedphase : String
[read-only] The current phase of the action.
Task
 Inheritedrunning : Boolean
[read-only] Indicates true if the process is in progress.
Task
 InheritedstartIt : Signaler
This signal emit when the notifyStarted method is invoked.
Task
  verbose : Boolean
Enable the verbose mode of this process.
InitMapModelObject
Public Methods
 MethodDefined By
  
InitMapModelObject(datas:Array = null)
Creates a new InitMapModelObject instance.
InitMapModelObject
 Inherited
clone():*
Returns a shallow copy of this object.
Task
  
Transforms the passed-in value in ValueObject.
InitMapModelObject
 Inherited
isLocked():Boolean
Returns true if the object is locked.
Task
 Inherited
lock():void
Locks the object.
Task
 Inherited
Notify an ActionEvent when the process is finished.
Task
 Inherited
Notify an ActionEvent when the process is started.
Task
  
reset():void
Reset the process.
InitMapModelObject
  
run(... arguments):void
[override] Run the process.
InitMapModelObject
 Inherited
unlock():void
Unlocks the display.
Task
Protected Methods
 MethodDefined By
 Inherited
setRunning(b:Boolean):void
Changes the running property value.
Task
Property Detail
autoClearproperty
public var autoClear:Boolean

Indicates if the model is autocleared when the process start.

autoSelectproperty 
public var autoSelect:Boolean

Indicates if the first item inserted in the model must be selected.

cleanFirstproperty 
public var cleanFirst:Boolean

Indicates if the first attribute must be autocleared when the process is finished.

datasproperty 
public var datas:Array

The Array representation of all value object.

firstproperty 
public var first:*

This property define a ValueObject or a specific id to run the map model when is initialized.

modelproperty 
public var model:MapModelObject

The model reference.

verboseproperty 
public var verbose:Boolean

Enable the verbose mode of this process.

Constructor Detail
InitMapModelObject()Constructor
public function InitMapModelObject(datas:Array = null)

Creates a new InitMapModelObject instance.

Parameters
datas:Array (default = null) — The Array representation of all ValueObject to insert in the map model.
Method Detail
filterValueObject()method
public function filterValueObject(value:*):ValueObject

Transforms the passed-in value in ValueObject. This method is used in the run() method to filter all elements in the datas array.

Parameters

value:*

Returns
ValueObject
reset()method 
public function reset():void

Reset the process.

run()method 
override public function run(... arguments):void

Run the process.

Parameters

... arguments