1. Technical Field
The present disclosure relates to an electronic device and a method for presenting files.
2. Description of Related Art
Electronic devices usually store many files in folders. Users can click or double click each folder to browse the files in the folder and/or a sub-folders arranged under the folder. However, the files and the sub-folders are displayed in a pop-up window. As the computer technology develops, customized display of folder representative icons is required.
Therefore, there is room for improvement within the art.
Many aspects of the embodiments can be better understood with references to the following drawings. The components in the drawings are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating the principles of the embodiments. Moreover, in the drawings, like reference numerals designate corresponding parts throughout the several views.
The disclosure is illustrated by way of example and not by way of limitation in the figures of the accompanying drawings in which like references indicate similar elements. It should be noted that references to “an” or “one” embodiment in this disclosure are not necessarily to the same embodiment, and such references mean at least one.
In general, the word “module,” as used herein, refers to logic embodied in hardware or firmware, or to a collection of software instructions, written in a programming language, such as, for example, Java, C, or assembly. One or more software instructions in the modules may be embedded in firmware, such as in an EPROM. It will be appreciated that modules may comprise connected logic units, such as gates and flip-flops, and may comprise programmable units, such as programmable gate arrays or processors. The modules described herein may be implemented as either software and/or hardware modules and may be stored in any type of computer-readable medium or other computer storage device.
Referring to
The storing module 101 stores a plurality of folders and files. Each folder or file may be displayed as a representative icon on the display 10 and is arranged along a straight line. Some folders may include sub-folders. The files may include image files, video files, and audio files.
The accessing module 103 obtains the representative icons.
The display controller 105 arranges the representative icons to be displayed on the display 10 as path of the folders and files stored in the system.
The sensing module 106 detects a slide operation (also known as a “swipe”) on the display 10 by a finger or stylus on an representative icon.
The file operating module 107 spreads out a corresponding display window gradually along the sliding direction from a side of the folder representative icon until the display window is entirely spread out on the display 10. The file operating module 107 also draws back the display window. The file operating module 107 further moves, delete or add folder representative icons.
Referring to
In step S201, the accessing module 103 obtains a folder representative icon from the storing module 101.
In step S202, the display controller 105 displays the folder representative icon on the display 10, the folder representative icon is reel-shaped.
In step S203, The sensing module 106 detects a first slide operation on the display 10 along a first direction by fingers or stylus on the folder representative icon.
In step S204, the file operating module 107 spreads out a first display window gradually along the first direction from a side of the folder representative icon until the display window is entirely spread out on the display 10 to display a sub-folder representative icon and a file representative icon according to the first slide operation. At this time, the sub-folder representative icon and the file representative icon are shown in the first display window. In one embodiment, the folder representative icon is named “A”, the sub-folder representative icon is named “B” and the file representative icon is named “a” (shown in
In step S205, the sensing module 106 detects a second slide operation on the display 10 by fingers or stylus on the sub-folder representative icon.
In step S206, the file operating module 107 spreads out a second display window gradually, along a second direction substantially perpendicular to the first direction, from a side of the sub-folder representative icon. The second display window is then entirely spread out on the display 10 to display another file representative icon according to the second slide operation. In one embodiment, the another representative icon is named “b” (shown in
The file operating module 107 draws back the second display window along a third direction opposite to the second direction when a third slide operation, along a direction opposite to the second slide direction is detected. The file operating module 107 draws back the first display window along a fourth direction, opposite to the first direction, when a fourth slide operation, along a direction opposite to the first slide direction, is detected. The file operating module 107 is further used for exchanging icons between the first display window and the second display window.
It is to be understood, however, that even though numerous characteristics and advantages of the embodiments have been set forth in the foregoing description, together with details of the structure and function of the embodiments, the disclosure is illustrative only, and changes may be made in detail, especially in matters of shape, size, and arrangement of parts within the principles of the present disclosure to the full extent indicated by the broad general meaning of the terms in which the appended claims are expressed.
Depending on the embodiment, certain of the steps of methods described may be removed, others may be added, and the sequence of steps may be altered. It is also to be understood that the description and the claims drawn to a method may include some indication in reference to certain steps. However, the indication used is only to be viewed for identification purposes and not as a suggestion as to an order for the steps.
Number | Date | Country | Kind |
---|---|---|---|
100107469 | Mar 2011 | TW | national |
This application is related to co-pending U.S. patent application entitled “ELECTRONIC DEVICE AND METHOD FOR PRESENTING FILES”, Attorney Docket No. US37747.