dundas.controls.ScriptEditor Class

 

Inheritance Hierarchy

 
Class
   dundas.EventDisposable
      dundas.controls.FocusableControl
         dundas.controls.ScriptEditor
 

Constructors

 
  Name Description
init Initializes the control. Called during construction.
 
 

Properties

 
  Name Description
content Gets the script that will be shown in the editor.
context Gets the context.
controlContainer Gets the container of this control. Inherited from dundas.controls.FocusableControl.
isDisabled Gets or sets whether or not this control is disabled. Inherited from dundas.controls.FocusableControl.
isDisposed Gets a value indicating whether this instance has been disposed. Inherited from dundas.EventDisposable.
isFocused Gets or sets the focused state of this control. Inherited from dundas.controls.FocusableControl.
isReadOnly Gets or sets a value indicating whether the editor is in read-only mode.
jQControlContainer Gets the container of this control in JQuery object. Inherited from dundas.controls.FocusableControl.
languageMode Gets the language of the script that will be shown in the editor.
parentFocusable Gets the focusable parent of this control. Inherited from dundas.controls.FocusableControl.
title Gets the title of the script editor control.
uiCache Gets the UI cache table Inherited from dundas.EventDisposable.
 
 

Methods

 
  Name Description
activate
bind Bind an event to this class object. Inherited from dundas.EventDisposable.
deactivate
dispose Inherited from dundas.EventDisposable.
focus Put this control into focus. Inherited from dundas.controls.FocusableControl.
fromJObject Applies the property values from a plain object created from JSON to the properties of this instance. Inherited from Class.
getContextState Set the UI context state to be saved in dundas.UIContextFocus Inherited from dundas.controls.FocusableControl.
insertText
raiseBindEvent Fire the event specified with eventName, or subscribe a handler. Inherited from dundas.EventDisposable.
removeContext Removes the context of the script editor.
setContext Sets the context of the script editor.
setContextState Restore this control to the state as defined. Inherited from dundas.controls.FocusableControl.
subscribe Subscribe or unsubscribe an event handler for an event. Inherited from dundas.EventDisposable.
subscribeBlurred Inherited from dundas.controls.FocusableControl.
subscribeDisposed Subscribe to the disposed event. Inherited from dundas.EventDisposable.
subscribeDragEnterEvent Subscribe a event handler for drag enter event.
subscribeDragOverEvent Subscribe a event handler for drag over event.
subscribeDropEvent Subscribe a event handler for drop event.
subscribeFocused Inherited from dundas.controls.FocusableControl.
subscribeOnce Subscribe a one time event handler for an event. Inherited from dundas.EventDisposable.
subscribeSaveEvent Subscribe a event handler for the save 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.
updateLayout