| Package | com.vmware.data.common.events |
| Class | public class ModelChangeEvent |
| Inheritance | ModelChangeEvent flash.events.Event |
| Property | Defined By | ||
|---|---|---|---|
| objectChangeInfos : Array
An array of ObjectChangeInfo describing the changes to the model
| ModelChangeEvent | ||
| Method | Defined By | ||
|---|---|---|---|
ModelChangeEvent(type:String) | ModelChangeEvent | ||
clone():Event [override] | ModelChangeEvent | ||
newInstance(changeInfos:Array):ModelChangeEvent [static]
Generate a ModelChangeEvent with an
array of ObjectChanges
| ModelChangeEvent | ||
newSingleObjectChangeEvent(object:IResourceReference, opType:OperationType, oldGeneration:int = -1, newGeneration:int = -1):ModelChangeEvent [static]
Generate a ModelChangeEvent with only one
object change. | ModelChangeEvent | ||
| Constant | Defined By | ||
|---|---|---|---|
| MODEL_CHANGE : String = modelChange [static] | ModelChangeEvent | ||
| OBJECT_STATE_CHANGE : String = objectStateChange [static]
This event type signifies that the propagated change that affects the
object representation state: name + icon. | ModelChangeEvent | ||
| objectChangeInfos | property |
public var objectChangeInfos:ArrayAn array of ObjectChangeInfo describing the changes to the model
| ModelChangeEvent | () | Constructor |
public function ModelChangeEvent(type:String)type:String (default = NaN) |
| clone | () | method |
override public function clone():EventReturnsEvent |
| newInstance | () | method |
public static function newInstance(changeInfos:Array):ModelChangeEvent
Generate a ModelChangeEvent with an
array of ObjectChanges
Parameters
changeInfos:Array — An array of ObjectChangeInfos
|
ModelChangeEvent —
A ModelChangeEvent containing the specified changes.
|
| newSingleObjectChangeEvent | () | method |
public static function newSingleObjectChangeEvent(object:IResourceReference, opType:OperationType, oldGeneration:int = -1, newGeneration:int = -1):ModelChangeEvent
Generate a ModelChangeEvent with only one
object change.
Parameters
object:IResourceReference — The object which has changed.
| |
opType:OperationType — The nature of the operation performed on the object.
| |
oldGeneration:int (default = -1) — The previous generation number of the object.
| |
newGeneration:int (default = -1) — The new generation number of the object.
|
ModelChangeEvent —
A ModelChangeEvent containing the change.
|
| MODEL_CHANGE | Constant |
public static const MODEL_CHANGE:String = modelChange| OBJECT_STATE_CHANGE | Constant |
public static const OBJECT_STATE_CHANGE:String = objectStateChangeThis event type signifies that the propagated change that affects the object representation state: name + icon. That does not mean other properties have not changed too. The event indicates merely that at least one property part of the object representation state (icon + name) has changed for sure. This even can be thrown quite often even without any user interaction as result of live update. So only a small number of handlers should process this even and with care.