dundas.controls.Guideline Class

 

Inheritance Hierarchy

 
Class
   dundas.EventDisposable
      dundas.controls.Guideline
 

Constructors

 
  Name Description
init Create a new guideline.
 
 

Properties

 
  Name Description
alignedAdapterId Gets the ID to be recorded by adapters' alignedAdapterId property.
controlContainer
coordinate Gets the background coordinate of this guideline.
coordinate2 Gets the background the second coordinate of this guideline.
disabled Gets whether or not this guide line is disabled.
id Gets doc.
isDisposed Gets a value indicating whether this instance has been disposed. Inherited from dundas.EventDisposable.
isDistributionGuide Gets whether or not this guide line is a distribution guide line.
isManipulating Gets or sets whether this guideline is being manipulated.
isMiddleGuide Gets whether or not this guide line is a middle guide line.
isPermenent Gets whether or not this guideline is permanent.
isVertical Gets whether or not this guide line is a vertical guide line.
masterViewmodel Gets the viewmodel that dictates the position of this guide line.
slaveViewmodels Gets the viewmodels that this guideline will adjust position.
snapLocation Gets the snap location.
uiCache Gets the UI cache table Inherited from dundas.EventDisposable.
visible Gets whether or not this guideline is visible.
 
 

Methods

 
  Name Description
addSlaveViewmodels Add slave viewmodels.
bind Bind an event to this class object. Inherited from dundas.EventDisposable.
dispose 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.

Static
generateGuidelineAlignedAdapterId Create the adapterId used to be stored in the adapter to identify this guideline.
notifyMasterCoordinateChanged Update the position of this guideline, and manipulating property to false.
notifyMasterCoordinateChanging Update the position of this guideline.
raiseBindEvent Fire the event specified with eventName, or subscribe a handler. Inherited from dundas.EventDisposable.
realignGuideline Update the guideline's position from the masterviewmodel's position, will unsnap all slaves
removeSlaveViewmodels Remove slave viewmodels.
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.
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.