dundas.views.InputService Class

 

Inheritance Hierarchy

 
Class
   dundas.Component
      dundas.Service
         dundas.views.InputService
 

Constructors

 
  Name Description
init Initializes a new dundas.views.InputService service object.
 
 

Properties

 
  Name Description
eventsManager Inherited from dundas.Service.
isContained Gets a value indicating whether this instance is contained, and some inputs should be ignored.
isDisposed Gets a value indicating whether this instance has been disposed. Inherited from dundas.Component.
site Gets or sets the site that this component is a part of. Inherited from dundas.Component.
uniqueId Gets or sets the unique ID of this component within the site. Inherited from dundas.Component.
 
 

Methods

 
  Name Description
bind Subscribe a handler for an event. Inherited from dundas.Service.
checkRegistry See if an element is already registered.
createDelegate Helper for creating delegate functions. Inherited from dundas.Component.
createTimeout Creates a timeout. Inherited from dundas.Component.
dispatch Dispatches a call by creating a delegate and running it right away on a timer. Inherited from dundas.Component.
dispose Inherited from dundas.Component.
fromJObject Applies the property values from a plain object created from JSON to the properties of this instance. Inherited from Class.
getService Gets the requested service. Inherited from dundas.Component.
onContextMenu Register a context menu handler for an element.
onCopy Register the handler to handle when the copy sticky key is pressed (ctrl+c).
onCut Register the handler to handle when the cut sticky key is pressed (ctrl+x).
onDelete Register the handler to handle when they press the delete key.
onEscape Register the handler to handle when they press the escape key.
onKeydown Register the handler to handle when they press a key.
onKeyup Register the handler to handle when they press a key.
onLoaded Called when the service is loaded. Inherited from dundas.Service.
onModifierKeydown Register the handler to handle when they press a modifier key.
onModifierKeyup Register the handler to handle when they release a modifier key.
onMouseWheel Register a mouse wheel handler for an element.
onPaste Register the handler to handle when the paste sticky key is pressed (ctrl+v).
onRedo Register the handler to handle when they redo.
onUndo Register the handler to handle when they undo.
register Register a HTML container that will allow this service to listen for its keyboard events.
subscribe Subscribe or unsubscribe an event handler for an event. Inherited from dundas.Service.
subscribeOnce Subscribe a one time handler for an event. Inherited from dundas.Service.
toJSON Implementation for toJSON to return an object that will include this class's prototype property values when stringified. Inherited from Class.
trigger Triggers an event. Inherited from dundas.Service.
unbind Unsubscribe an event. Inherited from dundas.Service.
unregister Unregister a HTML container so that this service will stop listening to its keyboard events.