dundas.controls.ObjectDescriptor Class

Represents an object whose property settings are made available in the property grid.
 

Inheritance Hierarchy

 
Class
   dundas.EventDisposable
      dundas.controls.ObjectDescriptor
 

Constructors

 
  Name Description
init Initializes the object. Called during construction.
 
 

Properties

 
  Name Description
doNotRecordHistory Gets or sets a value indicating whether or not this object descriptor should make its own history.
instance Gets the object instance being described.
isDisposed Gets a value indicating whether this instance has been disposed. Inherited from dundas.EventDisposable.
properties Gets the properties of the object.
uiCache Gets the UI cache table Inherited from dundas.EventDisposable.
 
 

Methods

 
  Name Description
addProperty Adds a child property descriptor.
bind Bind an event to this class object. Inherited from dundas.EventDisposable.
dispose Disposes the component. 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.
recordPropertyChangeBeforeSnapshot Take a snap shot of the instance if the instance is type of dundas.view.controls.Adapter and prepare and store it to be recorded when recordPropertyChangeSnapshot is called.
recordPropertyChangeSnapshot Take a snap shot of the instance if the instance is type of dundas.view.controls.Adapter.
removeProperty Removes a child property descriptor.
subscribe Subscribe or unsubscribe an event handler for an event. Inherited from dundas.EventDisposable.
subscribeDisposed Subscribe to the disposed event. Inherited from dundas.EventDisposable.
subscribeOnce Subscribe a one time event handler for an event. Inherited from dundas.EventDisposable.
subscribePropertyChange Subscribe a handler to the property change event.
subscribePropertyChangeSnapshotRecorded Subscribe a handler to the property change snapshot recorded event.
subscribePropertyChangeStart Subscribe a handler to the property change start 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.
updateInstance Assigns a new value to the descriptor's instance.