Class: SC.Responder


Extends SC.Object.

Provides common methods for sending events down a responder chain. Responder chains are used most often to deliver events to user interface elements in your application, but you can also use them to deliver generic events to any part of your application, including controllers.

Defined in: responder.js

Since:
SproutCore 1.0

Field Summary

Instance Methods

Field Detail

acceptsFirstResponder
hasFirstResponder
isFirstResponder
nextResponder
pane
responderContext

Instance Method Detail

becomeFirstResponder()

Call this method on your view or responder to make it become first responder.

Returns:
SC.Responder
receiver
destroy()
SC.Object.prototype.destroy
didBecomeFirstResponder(responder)

Called just after the responder or any of its subresponder's becomes a first responder.

Override this method to provide any standard setup when the first responder changes.

Parameters:
responder SC.Responder
the responder that changed
Returns:
void
resignFirstResponder(the)

Call this method on your view or responder to resign your first responder status. Normally this is not necessary since you will lose first responder status automatically when another view becomes first responder.

Parameters:
the Event
original event that caused this method to be called
Returns:
SC.Responder
receiver
willLoseFirstResponder(responder)

Called just before the responder or any of its subresponder's are about to lose their first responder status. The passed responder is the responder that is about to lose its status.

Override this method to provide any standard teardown when the first responder changes.

Parameters:
responder SC.Responder
the responder that is about to change
Returns:
void
Documentation generated by JsDoc Toolkit 2.4.0 on Wed Apr 08 2015 10:02:21 GMT-0600 (CST)