Inheritance diagram for IMFResponder:

Public Member Functions | |
| virtual void MCCOMAPI | AddIMFResponderListener (IMFResponder *inListener)=0 |
| virtual void MCCOMAPI | RemoveIMFResponderListener (IMFResponder *inListener)=0 |
| virtual IDType MCCOMAPI | GetInstanceID () const =0 |
| virtual void MCCOMAPI | SetNextIMFResponder (IMFResponder *inNewResponder)=0 |
| virtual void MCCOMAPI | SetWantsToBeFirstResponder (boolean inWantsTo)=0 |
| virtual void MCCOMAPI | BecameFirstResponder (boolean on)=0 |
| virtual boolean MCCOMAPI | Receive (MessageID message, IMFResponder *source, void *data)=0 |
| virtual void MCCOMAPI | BroadcastMessageUp (MessageID message, IMFResponder *source, void *data)=0 |
| virtual void MCCOMAPI | BroadcastMessageToListeners (MessageID message, IMFResponder *source, void *data)=0 |
| virtual void MCCOMAPI | BroadcastMessageDown (MessageID message, IMFResponder *source, void *data)=0 |
| virtual boolean MCCOMAPI | BecomeFirstResponder ()=0 |
When an event happens, the first Responder is offered the chance to handle it. Should it not handle the event, it's passed along the chain of Responders until handled and told to stop. Each responder, on receiving the event, passes it on to the next Responder. For example, if the user types in an Edit Text Part, the edit text will generally want to be first Responder, and so will receive the keystroke events. Should the user do something other than type, though, like right-clicking in the edit text, the Edit Text Part would send the event on to its next Responder, and on upwards until something handles the click.
|
|
Adds a new Responder to this Responder's list of listeners, which is used by BroadcastMessageToListeners()
|
|
|
Called when this Responder becomes first Responder.
|
|
|
Causes this part to become the first Responder. In the process, makes the former first Responder resign.
|
|
||||||||||||||||
|
Broadcasts a message down to the children of a given object. Generally only used between Parts in the UI.
|
|
||||||||||||||||
|
Passes a message to the list of this Responder's listeners.
|
|
||||||||||||||||
|
Passes a message up to the next Responder.
|
|
|
Used to get an ID from a Responder, generally in order for an object to choose the correct response to the message passed. For Parts, this is the Part ID. Responders without a useful ID to pass will return kNoId.
|
|
||||||||||||||||
|
This function is used to try to handle incoming messages. Generally, it will be used as follows: if (Receive(...) == kMFReceiveResult_KeepGoing) BroadcastMessageUp(...);
|
|
|
Removes a Responder from this Responder's list of listeners, which is used by BroadcastMessageToListeners()
|
|
|
Sets the next Responder to receive messages after this one.
|
|
|
Sets whether or not this Responder wants to be the first Responder
|
1.3.9.1