dundas.controls.NotifiedViewModel Class

 

Inheritance Hierarchy

 
Class
   dundas.EventDisposable
      dundas.controls.NotifiedViewModel
         dundas.controls.CanvasSelectableViewModel
 

Constructors

 
  Name Description
init Initialize a Notified View Model.
 
 

Properties

 
  Name Description
isDisposed Gets a value indicating whether this instance has been disposed. Inherited from dundas.EventDisposable.
uiCache Gets the UI cache table Inherited from dundas.EventDisposable.
 
 

Methods

 
  Name Description
bind Bind an event handler. Inherited from dundas.EventDisposable.
commitChanges Apply the changes made and fire the onPropertyChange event.
create Create the business object on the canvas, to be implemented by inheriting class.
destroy Destroy the business object on the canvas, to be implemented by inheriting class.
dispose Performs tasks associated with releasing resources from this object once it is unneeded. Inherited from dundas.EventDisposable.
fromJObject Applies the property values from a plain object created from JSON to the properties of this instance. Inherited from Class.
raiseBindEvent Fire the event specified with eventName, or subscribe a handler. Inherited from dundas.EventDisposable.
raiseCommitted Raise the property changed event.
refreshViewModelChange Goes through the view model to add any new changes.
removePropertiesOldValue Removes all the old value of each properties, so that the viewmodel looks as if it is newly created.
removePropertyOldValue Removes the old value of a particular property.
subscribe Subscribe or unsubscribe an event handler for an event. Inherited from dundas.EventDisposable.
subscribeCommitted Subscribe to the committed event.
subscribeDisposed Subscribe to the disposed event. Inherited from dundas.EventDisposable.
subscribeOnce Subscribe a one time event handler for an event. Inherited from dundas.EventDisposable.
subscribePropertiesChanged Subscribe an event handler for the properties changed event.
toJSON Implementation for toJSON to return an object that will include this class's prototype property values when stringified. Inherited from Class.
trigger Raise an event. Inherited from dundas.EventDisposable.
unbind Unsubscribe an event. if handler is specified, unsubscribe that handler. if no parameters are specified, unbind everything. Inherited from dundas.EventDisposable.
unbindAll unsubscribe all events. Inherited from dundas.EventDisposable.