The invention relates to computer user interfaces, and more particularly to a displayed user interface element moveable about a display.
Since the development of the first computer systems, a variety of techniques have been set forth to help human users interface with machines. The science of user interfaces is sometimes called human-computer interaction (“HCI”). Many early systems were based on the exchange of text, such as ASCII characters typed at a keyboard. However, such text-based systems were hampered by a variety of limitations. With the advent of more powerful desktop computers, graphical user interfaces (GUIs) emerged as a superior user interface paradigm and have become more prevalent.
One familiar user interface paradigm presented by many contemporary desktop computers includes windows, icons, menus, and a pointer; it is therefore sometimes called the “WIMP” user interface. Such an interface can be used in a variety of systems for a variety of purposes and is familiar to most contemporary computer users. A typical aspect of the conventional WIMP user interface is the presentation of icons, which can be selected via a pointer. The pointer is manipulated with a pointer manipulation device, such as a mouse or trackball.
However, the conventional WIMP user interface is also hampered by various limitations, and it is not always readily understood by new users. Therefore, there exists a need for better techniques for users to interact with computers.
The invention includes methods and systems relating to various ways of selecting an item presented on a display and performing an operation on the selected item. For example, a user interface element can be moved about a user interface to select a displayed item. Once the proper item or items are selected, an area on the user interface element can be activated to perform an operation on the selected item or items. The user interface element provides an intuitive and easy-to-use user interface paradigm that can be used on its own or incorporated into other interfaces, such as the conventional WIMP interface.
In one set of embodiments, various user interface elements are provided for performing various operations on displayed items. For example, displayed items can be modified, relocated, or deleted. The user interface element can be moved about the display to select appropriate displayed items. Once the user is satisfied with the selection, she can activate an area displayed within the user interface element to activate the desired function, which is performed on the selection.
In another feature of the invention, the user interface element can be dynamically updated to present information associated with selected items. Such information can be presented before the desired function is activated and in some cases may be edited. For example, properties of a selected item can be presented in a text box, and the properties can be changed by editing the text in the text box.
The described user interface elements are particularly useful in client-server scenarios such as web browsers. For example, a user can edit or customize a web page by using a combination of the user interface elements.
The described user interface elements can be implemented via a described mechanism for indicating when an item has been moved over any of a number of specified regions, which are associated with targets. The mechanism can be extended for use in a variety of situations, including client-server scenarios.
Additional features and advantages of the invention will be made apparent from the following detailed description of illustrated embodiments, which proceeds with reference to the accompanying drawings.
The invention is directed to methods and systems related to providing a user interface paradigm. In one embodiment illustrated herein, the invention is used in conjunction with MSN Web Communities provided on the Internet by Microsoft Corporation of Redmond, Wash. Briefly described, Web Communities are a collection of online locations where persons with similar interests can meet and exchange a variety of information.
Exemplary User Interface Elements
The illustrated user interface elements can be used in an environment having a displayed user interface, such as a graphical user interface of a desktop computer. For example,
Typically, items are unselected when the pointer 112 is moved off the item. Alternatively, items can be unselected when the pointer 112 is moved to another item, or multiple items can be selected in some implementations by moving the pointer 112 over them in turn. To give the user an indication that an item is selected, typically, selected items are portrayed in some emphasized manner (e.g., the item is highlighted).
The shape of the user interface element 102 can vary from that shown. Although the example shown is substantially rectangular, other shapes (e.g., triangular, circular, and the like) can be used.
The user interface element 102 can be moved in a variety of ways. Typically, the element is moved by dragging it (e.g., positioning a graphical pointer over the item in a graphical user interface, clicking a pointing device button, and then moving the graphical pointer with the pointing device) about a displayed area. The element 102 can also be moved via keyboard commands (e.g., up, down, left, and right arrow keys), and, in some cases, the user interface element can be designated as the pointer in a graphical user interface. In such a case, the user interface element 102 is moved simply by manipulating a keyboard or pointing device. The pointing device used to move the element 102 can be any of a number of devices, such as a mouse, trackball, or keypad.
The manner in which selection of displayed items is achieved can also vary from that shown. Although the example achieves selection by positioning the pointer 112 over an item, other methods (e.g., positioning any portion of the element 102 over an item) can be used.
In some alternatives, the keyboard can be used in a variety of ways to position the element 102. For example, in addition to using the arrow keys, the element 102 can be navigated to a number of pre-defined possible positions (or “hot spots”) by pressing the tab or some other (e.g., shift tab or enter) key. Another key on the keyboard can be designated for activation (e.g., the enter key).
Although not required, a helpful feature is a description of the action performed when the button 114 is pressed. The description can be displayed anywhere, such as within the user interface element or within the button 114. The description can be a text description (e.g., “delete”) or some other description (e.g., an icon or other graphic). The description could also be implicit by using various colored elements (e.g., red for delete) or some other indication.
Presentation of such a description is helpful because the user is informed of the action about to be performed. Thus, for example, some operations (e.g., deletes) need not be explicitly confirmed (e.g., no separate alert need be provided). Confirmation can be built in to the user interface element via the description. The moveable displayed user interface element can thus avoid the error-prone approach of selecting an item without having the operation in mind.
In some arrangements, having a description serves as a proxy for having a separate confirmation step. For example, in some conventional systems, a delete function is selected and a confirmation dialog box is displayed with buttons for “yes” and “no,” requiring another action by the user. Confirmation can be avoided if the function (e.g., “delete”) is plainly described within the element 102. Such arrangements are thus often more efficient and less prone to confusion and error.
Finally, the manner in which performance of an operation is initiated on the selected displayed items can also vary from that shown. Although a displayed button 114 is shown, other user interface mechanisms (e.g., a checkbox or slider) can be used.
Another example of a user interface element 122 for selecting an item and performing an operation on the item is shown in
Still another example of a user interface element 132 for selecting an item and performing an operation on the item is shown in
Also included within the exemplary user interface element 132 is a text box 136. Such an arrangement can be particularly useful, for example, in displaying information about a selected item (e.g., the selected item's name). In some cases, it may be desirable to allow editing of the information displayed in the text box 136 (e.g., to change a selected item's name). In addition to or instead of a text box 136, any of a variety of other user interface elements (e.g., push buttons, radio buttons, toggle buttons, check boxes, combo boxes, drop down menus, sliders, rulers, and the like) can be used alone or in various combinations within the user interface element.
In the illustrated example, the button 138 is used to initiate performance of an action on a selected item. After the action is performed, the user interface element can remain on the display for further operations or disappear.
Although the illustrated examples describe selection with respect to a single item, a user interface element can also be constructed to select multiple items. In addition, some operations may require multiple steps. Various examples of moveable displayed user interface elements are illustrated in further detail below.
Exemplary Method for Use in Conjunction with User Interface Element
At 202, the user interface element is displayed. Then, at 212, it is determined if the user interface element is pointing to an item (e.g., whether the pointer 112 of
If it is detected that the user interface element is to be moved at 222 (e.g., via manipulation of a pointing device), the user interface element is repositioned on the display at 224. It is then again determined whether the user interface element is pointing to an item at 212 and appropriate action taken.
If activation of the activation area (e.g., pushbutton) of the user interface element is detected at 232, performance of a particular operation on the selected item is initiated at 242. The operation can be any of a wide variety of actions or functions. For example, if the items represent documents, the operations can be “edit,” “delete,” or “rename” operations. If the items represent merchandise, the operations can be “get information” or “buy” operations. If the items are columns in a table, the operations can be “modify,” “rename,” “delete,” “format,” “add,” or “move” operations.
Exemplary Operation of a User Interface Element
At
Exemplary Scenario for User Interface Element
Exemplary Types of User Interface Elements
When the user is satisfied that the proper column has been selected and has changed the contents of the text box 716 to be the desired name of the proper column, the user can click on the rename pushbutton 718 to rename the column.
Two other buttons, a cancel button 720 and a help button 722 are provided. The cancel button dismisses the user interface element, and the help button provides further information to assist in operation of the user interface element.
When the user is satisfied that the columns are moved to their desired positions, the save button 756 can be activated to save the changes. The user interface element 750 can support multiple step operations in that multiple columns can be moved or a single column can be moved multiple positions before the save button 756 is pushed.
Performing multiple step operations need not be limited to moving columns. For example, multiple column rename operations could be performed via a user interface element for renaming column operations. Such a user interface element might have a save button similar to the save button 756.
Alternatively, the move column user interface element 750 could be implemented to immediately perform the column moves, rather than batching them as described above. In yet another arrangement, a user interface element 750 can be implemented so that the action is performed in response to detecting that the element 750 has been moved off the selected item. For example, multiple rename column operations could be performed by a user interface element that renames the column (e.g., to whatever name is specified via a text box within the element) when the element is dragged off a current column.
To streamline processing, the format column user interface element 850 can be configured to not display information about a column until it has reached a standstill (e.g., when the user has completed a drag operation). For example, the user interface element 850 can be reduced in size to hide the formatting controls 872. The formatting controls 872 are thus not updated as the element is dragged about the display.
Although the above-described examples involve cases in which an operation is performed directly on a column, operations can also be performed with reference to a selected item. For example, an “add column” operation might not perform an operation on the selected column but rather add a column after or before the selected column. Alternatively, a “duplicate column” operation might duplicate (e.g., copy) an already-existing column.
The above user interface elements are meant to be exemplary only. A wide variety of others can be constructed in accordance with the invention. For example, a moveable displayed user interface element could be used to modify the properties of any displayed item. Such properties might include, without limitation, size, color, shape, name, location, settings, and the like.
Lightweight Selection System and Methods
In the system 900, items that can be selected are sometimes called “targets.” Targets are selected whenever a moveable displayed item is positioned over a region associated with the target. Typically, a point on the moveable displayed item is designated a hot point. Whenever the hot point is within a region, the associated target is considered selected.
An internal representation 902 of the moveable displayed item is typically a software object having various data members and member functions. The software object can be constructed in any of a number of software development environments. In the example, the software objects are constructed via the JAVASCRIPT programming language of Sun Microsystems.
The software object 902 for tracking the moveable displayed item includes a hot point, which specifies a point (e.g., a pixel) that is used to determine when the moveable displayed item is positioned over one of the targets. The software object 902 also includes a reference to a representation 912 of the moveable displayed item and a reference to acquire and release functions of the representation 912 that are invoked when the moveable displayed item is moved into (i.e., “acquires”) or out of (i.e., “releases”) a target. The functions are sometimes called “call backs” because the actual functionality typically resides in another object. Such an arrangement is advantageous because the software object 902 is an object that invokes generic acquire and release functionality. Details of the acquire and release are handled elsewhere (e.g., via a region list) and thus can be customized more easily. Objects representing or tracking the moveable displayed item need only handle invoking the acquire and release functionality, rather than implementing it.
The software object 902 further includes a function CheckTarget( ), which can be invoked when the moveable displayed item is moved to determine whether the moveable displayed item is over a target and invoke the appropriate acquire function when it is determined that the moveable displayed item has selected or de-selected a target. For example, CheckTarget( ) can consult the region list and the hot point to determine over which region the moveable displayed item is located. Then, the selected target is determined by finding which target is associated with the region. As a result of a change in target status (e.g., a different target is now selected), the appropriate release or acquire functionality is invoked for the target.
The software object 902 further includes a reference to a region list, which is represented by a region list object 922. The region list object 922 includes a list of regions. For each region, the extents of the region (e.g., the area of the display considered to be within the region) and a reference to a target associated with the region is specified. The reference to the region list can be encapsulated in the CheckTarget( ) functionality. Thus, the region list handles the details relating to what happens when the moveable user interface enters a region. The region list is sometimes called “pluggable” because a new region list can be swapped for the current one while maintaining the object 902.
The region list object 922 also includes a member function FindTargetRegion( ), which, given a point on the display, can determine within which region, if any, the point lies. Typically, the regions are specified by rectangles, but a non-rectangular system can be used.
By supporting the “acquire target” and “release target” functions, the system and methods support a wide variety of implementations, including moveable displayed interface elements that are modified as they enter and leave other displayed items. The region and target arrangement supports a level of indirection in that the displayed regions may refer to a different item (e.g., a displayed region may be the word “all” and entering the region activates a target that selects all designated displayed items).
An advantage of the illustrated arrangement is that selection of a target can be determined by consulting a single object (i.e., the region list object 922), rather than consulting each of the targets 932, 934, 936, and 938. Another advantage is that a single object can be more easily updated when the extents of one or more targets change. Changes in the individual targets that make up a region list can be more quickly applied to determine new extents of a target.
A method for use in conjunction with the system 900 is shown in
At 1010, if it is determined the hot point associated with the moveable displayed item has indicates acquisition of a target (e.g., the hot point has entered a different region), at 1012, the acquire function of the moveable item (e.g., calling back to functionality of the region list) is invoked, and the particular region the displayed item has entered is provided to the acquire function. The region is typically associated with a particular target.
1010 can be implemented by a call to the FindTargetRegion( ) method of the region list object 922 (
At 1020, if it is determined that the hot point indicates release of a target (e.g., the hot point has moved outside a region), at 1022, the release function of the moveable item (e.g., calling back to functionality of the region list) is invoked. Again, 1020 can be accomplished by consulting the region list object, rather than each of the individual potential targets.
Various other features can be incorporated into the lightweight selection system and method. For example, a set of functions can be specified that are called when an items begins or completes moving (e.g., when dragging begins and when dragging stops). Such functions allow for the modification of a moveable item while it is being moved. For example, it may be desirable to hide some detail of a moveable item while moved to improve performance.
Implementation of User Interface Elements Via Lightweight Selection System
The above-described lightweight selection system and methods can be used in a variety of scenarios and is particularly useful for implementing the above-described moveable displayed user interface elements. For example, a user interface element can be designated as a moveable displayed item, and a region list can be constructed to indicate each of the possible targets. When the user interface element is moved over one of the targets, a function is invoked to pass information about the associated region (and thus a reference to the target) to a software object associated with the user interface element. At such time, the software object associated with the user interface element can take any of a number of actions, including making a notation of the target over which the user interface element has been positioned.
To avoid excessive page recalculations and rendering, the passed information can be used to generate a highlighted region. The highlighted region can be presented in a variety of ways but is typically positioned over a target by denoting (e.g., filling) a region's extents with a particular color or graphic emphasis.
Subsequently, when the activation area of the user interface element is activated, a software object associated with the user interface element can perform its particular operation, with reference to the target associated with the region over which the user interface element has been positioned.
Further Details of an Implementation of a User Interface Element
The web site 1102 is accessed via a network 1122 (e.g., the Internet) by various devices 1130A, 1130B, and 1130C having a web-browsing capability. For example, the desktop computer 1130C presents a web page 1140 on its display device. The web page 1140 is typically presented by software called a web browser.
The depicted devices include computer-readable media such as a hard disk to provide storage of data, data structures, computer-executable instructions, and the like. Although the description of computer-readable media above refers to a hard disk, other types of media which are readable by a computer, such as a removable magnetic disks, CDs, magnetic cassettes, flash memory cards, digital video disks, and the like, may also be used in the exemplary operating environment.
In the illustrated example, a moveable displayed user interface element is implemented in Dynamic Hypertext Markup Language (“DHTML”). DHTML is a hypertext markup language supporting various features for building dynamic graphical user interfaces.
The widgetCheckTarget function checks to see if a widget is over a list of specified targets. When the pointer is moved about the web page, the onmousemove function of the document object 1204 is invoked. In the illustrated example, the onmousemove function is set to “widgetCheckTarget( ).” When the pointing device's button is released, the onmouseup function of the document object 1204 is invoked. In the illustrated example, the onmouseup function is set to “widgetStopDrago( )”.
The widget object 1212 is used to represent a widget, and includes a checkTarget( ) function, which can be invoked by the above widgetCheckTarget( ) function to determine whether the widget is over any of a set of specified targets. The widgets function is a constructor that builds a widget object 1212 upon receipt of a region list, the DHMTL of the widget 1222, a hot point, an acquire function, a release function, and other information.
The hot point is an X,Y coordinate specifying a point within the widget (e.g., a tip of the widget). When the hot point is over a target, the widget selects the target.
The widgetObj refers to the DHTML of the widget 1222. DHTML supports an element called “DIV,” which specifies a container that renders HTML. The widget can be rendered via a DIV element. The onacquire( ) and onrelease( ) functions are invoked when the widget acquires or releases a target, respectively. Typically, these two functions call back to functionality via the region list object 1232, described in more detail below. When the widget acquires a target, the widget object 1212 can store information about the target. Subsequently, when the button associated with the widget is pressed, the widget object 1212 can perform an appropriate operation on the target. For example, in the DHTML of the widget 1222, an HTML form can include a submit button which invokes an appropriate command on a web server (e.g., the web server 1112 of
The widget object 1212 also refers to a region list object 1232, which contains a list of regions 1240, references to associated targets, and functionality for acquiring and releasing targets. In the example, the regions 1240 are columns in a table, but other shapes with another set of extents could be used. The region list object 1232 includes the display extents of the regions, so that it can easily be determined whether a widget's hot point is over a region. In the example, the extents are specified as a set or sets of rectangular coordinates.
When the showwidget( ) function is activated, the function checks to see if a widget of the specified type has already been created and can thus be reused. If so, a new region list may need to be swapped in, but the same widget can be reused. If a widget is not already created, the function builds the widget by constructing the proper DHTML for it, including, for example, an HTML form which sends an appropriate command back to a web server when activated. After use, the widget can be hidden via its “visible” property. The “innerHTML” feature of DHTML can be used to add the widget to the DHTML already displayed (e.g., by substituting the constructed DHTML of a widget for an empty “DIV” element in the document). Upon selection of one of the targets, a rectangle over the appropriate region can be set to an opaque color to indicate the region has been selected.
Using the User Interface Elements to Customize a Web Page
A particularly useful scenario for the above-described moveable displayed user interface elements is web page customization. For example, if the display region of
Thus, an easy-to-understand interface for editing web pages is presented. If web pages are stored at a server, appropriate commands (e.g., formatting commands) are directed to the server so that presentation of the page is modified.
Customization of the web page can include deletions. For example, if a web page has a table with columns, a displayed user interface element (e.g., element 800 of
Such an approach is superior to an approach wherein the user indicates a delete command, and an additional mechanism (e.g., checkboxes) is inserted into the web page to indicate which column is to be deleted. In such a case, the web page must be redisplayed before the user can choose which column is to be deleted.
Alternatives
Having described and illustrated the principles of our invention with reference to illustrated embodiments, it will be recognized that the illustrated embodiments can be modified in arrangement and detail without departing from such principles. Although one of the illustrated embodiments involves operations performed on a list in table form, the principles of the architecture can be applied to a wide variety of scenarios involving displayed user interfaces. It should be understood that the programs, processes, or methods described herein are not related or limited to any particular type of computer apparatus, unless indicated otherwise. Various types of general purpose or specialized computer apparatus may be used with or perform operations in accordance with the teachings described herein. Elements of the illustrated embodiment shown in software may be implemented in hardware and vice versa. In view of the many possible embodiments to which the principles of our invention may be applied, it should be recognized that the detailed embodiments are illustrative only and should not be taken as limiting the scope of our invention. Rather, we claim as our invention all such embodiments as may come within the scope and spirit of the following claims and equivalents thereto.
This is a continuation of U.S. patent application Ser. No. 09/737,617, filed Dec. 14, 2000, and published as US 2002 0 075 309 A1, which is hereby incorporated by reference herein in its entirety.
Number | Name | Date | Kind |
---|---|---|---|
4686522 | Hernandez et al. | Aug 1987 | A |
D297243 | Wells-Papanek et al. | Aug 1988 | S |
4885717 | Beck et al. | Dec 1989 | A |
4937036 | Beard et al. | Jun 1990 | A |
5060135 | Levine et al. | Oct 1991 | A |
5546527 | Fitzpatrick et al. | Aug 1996 | A |
5608860 | Fitzpatrick et al. | Mar 1997 | A |
5617114 | Bier et al. | Apr 1997 | A |
5734905 | Oppenheim | Mar 1998 | A |
5745717 | Vayda et al. | Apr 1998 | A |
5790122 | Cecchini et al. | Aug 1998 | A |
5828360 | Anderson et al. | Oct 1998 | A |
5835919 | Stern et al. | Nov 1998 | A |
5874965 | Takai et al. | Feb 1999 | A |
6552737 | Tanaka et al. | Apr 2003 | B1 |
6907580 | Michelman et al. | Jun 2005 | B2 |
Number | Date | Country | |
---|---|---|---|
20050246664 A1 | Nov 2005 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 09737617 | Dec 2000 | US |
Child | 11153792 | US |