COMPOSABLE SELECTION MODEL THROUGH REUSABLE COMPONENT
First Claim
1. A method for a selection component to facilitate selection of one or more user interface items, the method comprising:
- an act of maintaining selection state representing whether or not each of one or more user interface items is selected;
an act of receiving a user interface item identification;
an act of determining a selection state of the identified user interface item using the maintained selection state;
an act of notifying the user interface item of the selection state so that the user interface item may visualize its selection state; and
an act of notifying an action module of the selection state of the user interface item so that the action module may take further action external to the user interface item based on the selection state.
3 Assignments
0 Petitions
Accused Products
Abstract
A selection component that facilitates selection of user interface items. Upon receiving a user interface item identification from a data model component, the selection component determines a selection state of the identified user interface item using maintained selection state. The selection component then propagates the selection state in two directions. In one direction, the selection component notifies the identified user interface item of the selection state so that the user interface item may visualize its selection state. In the other direction, the selection component notifies an action module of the selection state of the user interface item so that the action module may take further action external to the user interface item based on the selection state. For instance, the action module might create a new user interface element.
-
Citations
20 Claims
-
1. A method for a selection component to facilitate selection of one or more user interface items, the method comprising:
-
an act of maintaining selection state representing whether or not each of one or more user interface items is selected; an act of receiving a user interface item identification; an act of determining a selection state of the identified user interface item using the maintained selection state; an act of notifying the user interface item of the selection state so that the user interface item may visualize its selection state; and an act of notifying an action module of the selection state of the user interface item so that the action module may take further action external to the user interface item based on the selection state. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18)
-
-
19. A computer program product comprising one or more computer-readable storage media having computer-executable instructions thereon that, when executed by one or more processors of a computing system, cause the computing system to perform a method of managing a selection state, the method comprising:
-
an act of maintaining selection state representing whether or not each of a plurality of user interface items are selected; an act of receiving an indication from an action module that a selection state associated with a user interface item has changed; an act of changing the maintained selection state associated with the user interface item.
-
-
20. A method for a selection component to facilitate de-selection of one or more user interface items, the method comprising:
-
an act of maintaining selection state representing whether or not each of a plurality of user interface items are selected, wherein a particular user interface item has, and is visualized as having, a selected mode; an act of detecting that an action has been taken by the user outside of the particular user interface item which is to cause the particular user interface item to be deselected; and in response to the act of detecting, performing the following; an act of changing the maintained selection state associated with the particular user interface item; and an act of changing a visualization of the user interface item to reflect the deselected mode of the particular user interface item.
-
Specification