Name | Description | |
---|---|---|
![]() | init | Create a new instance of the FocusableControl. |
Name | Description | |
---|---|---|
![]() | controlContainer | Gets the container of this control. |
![]() | isDisabled | Gets or sets whether or not this control is disabled. |
![]() | 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. |
![]() | jQControlContainer | Gets the container of this control in JQuery object. |
![]() | parentFocusable | Gets the focusable parent of this control. |
![]() | uiCache | Gets the UI cache table Inherited from dundas.EventDisposable. |
Name | Description | |
---|---|---|
![]() | bind | Bind an event to this class object. Inherited from dundas.EventDisposable. |
![]() | dispose | Performs tasks associated with releasing resources from this object once it is unneeded. Inherited from dundas.EventDisposable. |
![]() | focus | Put this control into focus. |
![]() | 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 |
![]() | raiseBindEvent | Fire the event specified with eventName, or subscribe a handler. Inherited from dundas.EventDisposable. |
![]() | setContextState | Restore this control to the state as defined. |
![]() | subscribe | Subscribe or unsubscribe an event handler for an event. Inherited from dundas.EventDisposable. |
![]() | subscribeBlurred | |
![]() | subscribeDisposed | Subscribe to the disposed event. Inherited from dundas.EventDisposable. |
![]() | subscribeFocused | |
![]() | 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. |
Control that inherits this class will make it a "focusable" control. This enables any focus event of any DOM elements of this control's DOM tree to set this control as "focused", and a focus event of another FocusableControl will "blur" this. If there exists a child focusablecontrol in this DOM tree, then the parent will automatically focused when the child is focused, and vice versa for blurring If for some reason a child focusable control is not a child of this DOM control's DOM tree, _differentTreeParent property can be used to abstract that.