×

Event Recognition

  • US 20110179380A1
  • Filed: 03/31/2011
  • Published: 07/21/2011
  • Est. Priority Date: 03/16/2009
  • Status: Active Grant
First Claim
Patent Images

1. A method, comprising:

  • at an electronic device with an internal state, the electronic device configured to execute software that includes a view hierarchy with a plurality of views;

    displaying one or more views of the view hierarchy;

    executing one or more software elements, each software element being associated with a particular view, wherein each particular view includes one or more event recognizers, each event recognizer having;

    one or more event definitions based on one or more sub-events, andan event handler, wherein the event handler;

    specifies an action for a target, andis configured to send the action to the target in response to the event recognizer detecting an event corresponding to a particular event definition of the one or more event definitions;

    detecting a sequence of one or more sub-events;

    identifying one of the views of the view hierarchy as a hit view, wherein the hit view establishes which views in the view hierarchy are actively involved views; and

    delivering a respective sub-event to event recognizers for each actively involved view within the view hierarchy,wherein at least one event recognizer for actively involved views in the view hierarchy has a plurality of event definitions, one of which is selected in accordance with the internal state of the electronic device, and the at least one event recognizer processes the respective sub-event prior to processing a next sub-event in the sequence of sub-events in accordance with the selected event definition.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×