The present invention relates generally to computer user interface systems and more particularly to methods and systems for providing context-dependent drag and drop menus within a graphical user interface.
Modern personal computers and electronic mobile devices typically implement a graphical user interface (GUI) to enable communicating commands to the device. Current typical GUI systems enable users to select objects and initiate actions using a pointer device by positioning a cursor over a portion of the display and selecting an item by pressing a button. Such GUI systems allow users to select applications, file folders, and files in a menu display (e.g., “desktop” display), and individual words, phrases, graphics, selections of music, selections of graphics, etc. within a document or application. In Windows® type GUI systems, a user can take an action on an object or selection by “highlighting” the item, such as by positioning the pointing device over the item and clicking on mouse button (for example), and then entering a command on a keyboard. Highlighted objects or selections can also be “dragged” by moving the pointing device while holding down the selection button and “dropped” by releasing the selection button to move the object or selection to another location in the document or display.
In typical GUI systems, users may also implement action on selected files or objects by clicking on a button (e.g., a right mouse button) to bring up a menu of options suitable for the selected object or selection (e.g., copy, cut, paste, open, run, etc.) that can then be selected by positioning the cursor with the pointing device and clicking a button. In some applications and in some GUI systems (e.g., the Leopard® operating system by Apple Computer, Inc.) a user can initiate an action (e.g., copy, cut, paste, open, run, etc.) by “dragging & dropping” a selected file, application or object onto a suitable icon displayed on the screen (i.e., an icon associated with a particular operation, such as a trashcan icon which is associated with a delete function). For example, to designate a file for deletion in such a GUI system a user may select the file with a mouse (i.e., by “clicking on” the file icon), drag it over a trashcan icon, and “drop” the file onto the icon by releasing the mouse button.
In one aspect, a method for providing menu icons in a graphical user interface (GUI) is presented. The method may include detecting a select and drag event of the object, determining a type of the selected object, identifying actions or functions that are appropriate for the type of the selected object and displaying one or more pop-up menu icons associated with the identified actions or functions appropriate for the selected object. The method may further include positioning the pop-up menu icons in a predefined location on a GUI display, positioning the pop-up menu icons in close proximity to the selected object within a GUI display, performing an action or function on the selected object in response to the selected object being released when positioned over one of the pop-up menu icons corresponding to the action or function, or terminating display of the one or more pop-up menu icons in response to the selected object being dragged beyond an area associated with the one or more pop-up menu icons. The object may include at least one of an application, file, file folder, text selection within a document, image selection within a document, portion of a an audio file and portion of a video file. The method may further include registering an application with the GUI including identifying one or more pop-up menu icons which should be displayed when an icon associated with the application is selected and dragged within the GUI.
In another aspect, a computer is presented including a processor, a display coupled to the processor, and a memory coupled to the processor. The processor of the computer may be configured to detect a select and drag event of the object, determine a type of the selected object, identify actions or functions that are appropriate for the type of the selected object, and display on the display one or more pop-up menu icons associated with the identified actions or functions appropriate for the selected object. The processor may also be configured to position the pop-up menu icons in a predefined location on the GUI display, position the pop-up menu icons in close proximity to the selected object within the GUI display, perform an action or function on the selected object in response to the selected object being released when positioned over one of the pop-up menu icons corresponding to the action or function, terminate display of the one or more pop-up menu icons in response to the selected object being dragged beyond an area associated with the one or more pop-up menu icons, or register an application with the GUI including identifying one or more pop-up menu icons which should be displayed when an icon associated with the application is selected and dragged within the GUI. The object may include at least one of an application, a file, file folder, text selection within a document, image selection within a document, portion of an audio file and portion of a video file.
In another aspect, a computer is presented including a means for detecting a select and drag event of the object, a means for determining a type of the selected object, a means for identifying actions or functions that are appropriate for the type of the selected object, and a means for displaying on the display one or more pop-up menu icons associated with the identified actions or functions appropriate for the selected object. The computer may include a means for positioning the pop-up menu icons in a predefined location on the GUI display, a means for positioning the pop-up menu icons in close proximity to the selected object within the GUI display, a means for performing an action or function on the selected object in response to the selected object being released when positioned over one of the pop-up menu icons corresponding to the action or function, a means for terminating display of the one or more pop-up menu icons in response to the selected object being dragged beyond an area associated with the one or more pop-up menu icons, or a means for registering an application with the GUI including identifying one or more pop-up menu icons which should be displayed when an icon associated with the application is selected and dragged within the GUI. The object may include at least one of an application, a file, file folder, text selection within a document, image selection within a document, portion of an audio file and portion of a video file.
In another aspect, a computer program product is presented, in which the computer program product has a computer readable medium that may include an instruction to detect a select and drag event of the object, an instruction to determine a type of the selected object, an instruction to identify actions or functions that are appropriate for the type of the selected object and an instruction to display one or more pop-up menu icons associated with the identified actions or functions appropriate for the selected object. The computer-readable medium may further include an instruction to position the pop-up menu icons in a predefined location on a GUI display, an instruction to position the pop-up menu icons in close proximity to the selected object within a GUI display, an instruction to perform an action or function on the selected object in response to the selected object being released when positioned over one of the pop-up menu icons corresponding to the action or function, an instruction to terminate display of the one or more pop-up menu icons in response to the selected object being dragged beyond an area associated with the one or more pop-up menu icons, or an instruction to register an application with the GUI including identifying one or more pop-up menu icons which should be displayed when an icon associated with the application is selected and dragged within the GUI. The computer-readable medium may cause a processor of a computer to perform steps such that the object may include at least one of an application, file, file folder, electronic document, text selection within a document, image selection within a document, portion of an audio file, and portion of a video file.
Additional aspects will be apparent in the foregoing description and equivalents thereof.
The accompanying drawings, which are incorporated herein and constitute part of this specification, illustrate exemplary aspects of the invention. Together with the general description given above and the detailed description given below, the drawings serve to explain features of the invention. In the figures, like reference numerals refer to like parts throughout the various views unless otherwise indicated.
Various aspects will be described in detail with reference to the accompanying drawings. References made to particular examples and implementations are for illustrative purposes and are not intended to limit the scope of the invention or the claims.
As used herein, the terms “computer,” “computing device” or “mobile device” refer to any one or all of personal computers, notebook computers, cellular telephones, personal data assistants (PDA's), palm-top computers, wireless electronic mail receivers and cellular telephone receivers (e.g., the Blackberry® and Treo® devices), multimedia Internet-enabled cellular telephones (e.g., the iPhone®), and similar personal electronic devices which include a programmable processor, memory and a connected or integral display configured with a graphical user interface (GUI). In a preferred aspect, the electronic device is a cellular telephone with a display configured with a graphical user interface.
As used herein, a “touchscreen” is a touch input device including a display which can detect the presence and location of a touch within the display and accept such direct onscreen input. As used herein, a “touchpad” is a touch input device including a specialized surface that can translate the motion and position of a user's fingers or a stylus to a relative position on screen. A touchpad, for example, can be implemented on any surface of an electronic device outside the image display area. Touchscreens and touchpads may be integral parts of an electronic device, such as a touchscreen display, or a separate module which can be coupled to the electronic device by a wired or wireless data link, such as an electronic pen and tablet.
As used herein, a “pointing device” refers to any human-computer interface device capable of receiving physical inputs from a user that can be translated into locations and actions in a GUI. Common pointing devices include a mouse, touchscreen display, touchpad (as typically employed on some notebook computers), joystick, pointing stick, multi-direction rocker switch (as typically employed on some cellular telephones), trackball mouse, and electronic pen and tablet. Future pointing devices that may be developed and would be encompassed in the various aspects also include large touch sensitive display panels, eye trackers, and electronic gloves. Pointing devices are typically integrated with GUI software to position and control a cursor which appears on the display and moves in conjunction with inputs to the pointing device.
For simplicity of description, the functionality that enables users to take action upon a file or object by selecting it, dragging it across the display and dropping it on menu icon corresponding to an action or function is referred to as “drag & drop GUI functionality.” While the usefulness of GUI interfaces is well known, drag & drop GUI functionality has also been shown to be very useful in certain devices and implementation, such as in applications where pointing devices do not have multiple buttons or do not have any buttons at all (e.g., touchscreen displays). The ability to take an action on a selected item merely by dragging it to an icon and releasing it permits users to perform complex tasks without having to touch a keyboard or entering commands. In computers and mobile devices which have few buttons and rely upon a touchscreen interface (e.g., table PC's and touchscreen mobile devices), the drag & drop GUI gives users a powerful and intuitive interface for accessing and manipulating files and objects with one hand.
Nevertheless, the drag & drop GUI functionality suffers from the limitation that the menu icons must appear on the screen along with other items in the menu display or the document itself As a result, valuable display “real estate” is taken up by the icons associated with file and object manipulation actions. This requirement may limit the usefulness of the drag & drop GUI in computing devices with small displays, which may be in mobile devices like cellular telephones. In such implementations, the screen is so small that including all file/object manipulation icons within the display will leave little room for files or documents. In computers with larger displays, the drag & drop GUI requires the user to move the item to wherever the appropriate icon is located; in a large display, this may require dragging an item across the entire screen.
The various aspects provide a context-dependent pop-up menu icon within a GUI system that is activated (i.e., displayed or caused to “pop-up” within the display) by a ‘select & drag’ operation to display action menus or destinations for the selected file or object. When a user selects a particular file or content object (e.g., a word, phrase, or selection of an image) within a document and begins to drag the selection across the display using a pointing device, a set of one or more menu icons is presented (i.e., pop-up) corresponding to action or function options that the user may implement for the selection. The presented menu icons may correspond to specific functions or actions that are available and can be applied to the particular type of file, object or content that has been selected and dragged. Such pop-up menu icons may be generated for practically anything that can be selected and dragged by a user, who is manipulating a pointing device within a GUI, including for example application icons, file icons, and file folder icons within a GUI display, as well as text selections, numeric selections, portions of a spread sheet, graphics, portions of graphics, images, portions of images, audio files, portions of audio files, video files, and portions of video files within an electronic document. For ease of reference, a selection by a pointing device, be it an application, file, folder or a selection within a document, is referred to herein as an “object.” Thus, the word “object” herein is intended to refer to something selected by manipulation of a pointing device within a GUI system, and should not be interpreted to be limited to programming object in an object-oriented programming environment.
The pop-up menu icons may be displayed in fixed positions on the display or in close proximity to the selection in a consistent manner in terms of position and content. Thus, particular menu icons may consistently appear in the same relative position on the display (e.g., a particular corner of the display) or same relative position with respect to the selection (e.g., to the left or right and above or below the selection). To avoid cluttering the display, menu icons may appear only during a select & drag operation. Thus, a full set of function icons may be provided for drag & drop GUI functionality without cluttering the display with icons that are used only infrequently. While menu icons may appear only during a select & drag operation, the presented icons may be removed when the user drags the selected file or object beyond the area of the presented icons. Thus, if a user is merely dragging a word or phrase to a new location in a document, the drag & drop GUI menu icons will quickly disappear as the drag operation proceeds beyond the icons. In an aspect, new applications can register with the operating system in order to specify icons to be presented when the files of the corresponding file type are selected in a menu or when specified content is selected within the application. In this manner, platform-consistent, context-dependent pop-up menu icons can be provided for all applications and content.
The functioning and benefits of the various aspects may be understood in contrast to currently known drag & drop GUI functionality, which is illustrated in the process flow diagram shown in
In contrast to the prior art,
With the pop-up menu icons presented on the display, the GUI system may track the movement or position of the selection as it is dragged across the display with respect to the icons, block 32. The generated menu icons do not move once they appear on the display, so the movement of the selection can be tracked with respect to those icons. As the selection movement is tracked, the GUI system may frequently determine whether the selection has been dragged beyond the area of the menu icons (particularly in the aspect which present the icons in close proximity to the selection), decision block 34. If the selection has been dragged beyond the area of the menu icons (i.e. decision block 34=“Yes”), the menu icons may be deleted from the display and the pop-up menu icon routine terminated, block 26, with processing continuing according to the rest of the GUI functionality.
If the selection has not been dragged beyond the area of the menu icons (i.e., decision block 34=“No”), the GUI system may determine whether the selection has been released (e.g., the mouse button has been released), decision block 35. If the selection has not been released (i.e., decision block 35=“No”), the GUI system may continue to track movement of the selection, block 32. Once the selection is released (i.e., decision block 35=“Yes”), the GUI may compare the location of the cursor at the time of release to the positions of the various menu icons to determine if the object or file was “dropped” onto one of the pop-up menu icons, decision block 36. If the cursor location does not correspond to an icon location (i.e., decision block 36=“No”), the menu icons may be deleted from the display and the pop-up menu icon routine terminated, block 26, with processing continuing according to the rest of the GUI functionality, such as repositioning the selected file or object icon on the display. If the cursor location does correspond to a particular pop-up menu icon location (i.e., decision block 36=“Yes”), the GUI system may perform the action or function corresponding to that menu icon (if there is no application function), or notify an application of the action or function corresponding to that menu icon so that the appropriate action or function can be implemented on the selection, block 38. Once the action or function corresponding to the particular menu icon is implemented, the menu icons may be deleted from the display and the pop-up menu icon routine terminated, block 26, with processing continuing according to the rest of the GUI functionality.
A variety of methods may be implemented to determine the type of file or object selected and which pop-up menu icons should be presented in the display.
Referring to
After determining the type of text contained within the selection, the GUI system may determine the actions or functions that are appropriate for or available to act on the determined text type, block 46. For example, if the selected text includes a name, the name may be copied, cut, added to a contacts database or used to look up a contact in the contacts database, for example. Also, other functions may be available and appropriate for a name, such as conducting an Internet search (e.g., conducting a Google™ search on the name). The available actions or functions may be determined using conditional logic, such as in a series of “if [type], then [actions list]” software instructions. Alternatively, a table-look up algorithm may be implemented as described below with reference to
For purposes of this example, if the selection is not text (i.e., decision block 42=“No”), there are no actions or functions available to act on the selection, so no menu icons may be displayed and the pop-up menu icon routine terminated,
Returning to decision block 40, if the item was selected in a menu or desktop setting, the item will be a file, a folder or an application. In that case, the selection may be further examined by the GUI system to determine if it is a file folder, decision block 50. If the selection is a file folder (i.e., decision block 50=“Yes”), then appropriate actions or functions include open, copy, cut (or delete) and send (e.g., as an attachment to an e-mail). Accordingly, the GUI system may generate a display of pop-up menu icons for open, copy, cut (or delete) and send, block 52. If the selection is not a file folder (i.e., decision block 50=“No”), the GUI system may determine if the selection is a file (e.g., a text, image, audio, video, PDF, or other type that can opened or acted upon by an application), decision block 54.
If the selection is a file, the GUI system may further examine the selection to determine the file type, block 56. For example, the GUI system may examine a file extension to determine the file type (e.g., by matching the extension to a table of extensions). Using the determined file type, the GUI system can then determine the actions or functions appropriate and available for the file type. For example, if the file is a text file, it may be copied, cut (or deleted), sent, or opened by a text editor. Also, other functions may be available for a text file, such as spell checking. As another example, if the file is an MP3 file, it may be copied, cut (or deleted), sent or played. Having determined the actions or functions available and appropriate for the file type, the GUI system can generate a display of pop-up menu icons corresponding to those actions or functions, block 60.
If the selection is not a file (i.e., decision block 54=“No”), the GUI system may examine the selection further to determine if it is an executable application, decision block 62. If selection is an executable application (i.e., decision block 62=“Yes”), the available actions or functions may be limited to open, in which case the GUI system can generate a display of a pop-up menu icon corresponding to the open actions, block 64. If the selection is not an executable file (i.e., decision block 62=“No”), no action or function may be available, so no menu icons may be displayed and the pop-up menu icon routine terminated,
The functioning and functionality of the various methods may be further understood by reference to examples illustrated in
In the example illustrated in
As a further example,
As a further example,
In alternative aspect, the pop-up menu icons may be configured to appear in a peripheral menu panel 112 surrounding the periphery of the display 70, an example of which is illustrated in
In alternative aspect, the pop-up menu icons may be configured to appear in an arc or circle surrounding a selected and dragged object or file, an example of which is illustrated in
As the foregoing examples illustrate, the various aspects provide a flexible menu icon system that presents icons only when needed and only as available for a particular selection.
In an aspect, a data table may be stored in memory and used by the GUI system to determine which (if any) pop-up menu icons should be displayed for each type of selection (i.e., folder, file, application, or object type).
In an aspect, when the GUI system determines the type of the selected file or object (block 22 in
For example, consider the case of a text item selection (as is illustrated in
The use of a data table 120 to keep track of menu icons also enables an aspect in which applications can register with the operating system to enable context-specific pop-up menu icons. Registration of a new application for context-specific pop-up menu icons can be accomplished by appending to the data table 120 records for the application, as well as any unique application document object types, which include data fields 122-129 with flags (or memory pointers) indicating which pop-up menu icons should be displayed when the application and any unique object types are selected and dragged. This is illustrated in
The hardware used to implement the forgoing aspects may be processing elements and memory elements configured to execute a set of instructions, wherein the set of instructions are for performing method blocks corresponding to the above methods. Alternatively, some functions or methods may be performed by circuitry that is specific to a given function.
The aspects described above may be implemented on any of a variety of mobile devices. Typically, such mobile devices will have in common the components illustrated in
The processor 132 may be any programmable microprocessor, microcomputer or multiple processor chip or chips that can be configured by software instructions (applications) to perform a variety of functions, including the functions of the various aspects described above. In some portable computing device 131, multiple processors 132 may be provided, such as one processor dedicated to wireless communication functions and one processor dedicated to running other applications. The processor may also be included as part of a communication chipset. Typically, software applications may be stored in the internal memory 133 before they are accessed and loaded into the processor 132. In some mobile devices 131, the processor 132 may include internal memory sufficient to store the application software instructions. For the purposes of this description, the term memory refers to all memory accessible by the processor 132, including internal memory 133 and memory within the processor 132 itself Application data files are typically stored in the memory 133. In many mobile devices 131, the memory 133 may be a volatile or nonvolatile memory, such as flash memory, or a mixture of both.
The aspects described above may also be implemented on any of a variety of computing devices, such as a personal computer 160 illustrated in
The various aspects may be implemented by a computer processor 161 executing software instructions configured to implement one or more of the described methods. Such software instructions may be stored in memory 162, 163 as separate applications, or as compiled software implementing an aspect method. Reference database may be stored within internal memory 162, in hard disc memory 164, on tangible storage medium or on servers accessible via a network (not shown). Further, the software instructions and databases may be stored on any form of tangible processor-readable memory, including: a random access memory 162, hard disc memory 163, a floppy disk (readable in a floppy disc drive 164), a compact disc (readable in a CD drive 165), electrically erasable/programmable read only memory (EEPROM), read only memory (such as FLASH memory), and/or a memory module (not shown) plugged into the computer 160, such as an external memory chip or a USB-connectable external memory (e.g., a “flash drive”) plugged into a USB network port 166.
Those of skill in the art would appreciate that the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the aspects disclosed herein may be implemented as electronic hardware, computer software, or combinations of both. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the overall system. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The order in which the blocks of a method described above and shown in the figures is for example purposes only as the order of some blocks may be changed from that described herein without departing from the spirit and scope of the present invention and the claims.
The blocks of a method or algorithm described in connection with the aspects disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in processor readable memory which may be any of RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art. An exemplary storage medium is coupled to a processor such that the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an ASIC. The ASIC may reside in a user terminal or mobile device. In the alternative, the processor and the storage medium may reside as discrete components in a user terminal or mobile device. Additionally, in some aspects, the blocks and/or actions of a method or algorithm may reside as one or any combination or set of codes and/or instructions on a machine readable medium and/or computer readable medium, which may be incorporated into a computer program product.
The foregoing description of the various aspects is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these aspects will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other aspects without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the aspects shown herein, and instead the claims should be accorded the widest scope consistent with the principles and novel features disclosed herein.
This application is a continuation of U.S. patent application Ser. No. 12/270,277, filed Nov. 13, 2008, entitled “Method and System for Context Dependent Pop-Up Menus,” which is hereby incorporated by reference in its entirety.
Number | Date | Country | |
---|---|---|---|
Parent | 12270277 | Nov 2008 | US |
Child | 13669655 | US |