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 folders or files. Users can click or double click each folder to browse the sub-folders and files in the folder. However, the sub-folders are only displayed in a rectangular 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 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 an representative icon in the display 10 and arranged along a straight line. The files may include image files, video files, and audio files.
The accessing module 103 is configured to obtain the representative icons.
The displaying controller 105 is configured to arrange the representative icons to display on the display 10 as path of the folders and files stored in the system.
The sensing module 106 is configured to detect 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 is configured to outspread a corresponding displaying window gradually along the sliding direction from a side of the folder representative icon until the displaying window is entirely spread out on the display 10. The file operating module 107 is also configured to draw back the displaying window. The file operating module 107 is further configured to move, 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 displaying controller 105 displays the folder representative icon on the display 10, the folder representative icon being reel-shaped.
In step S203, The sensing module 106 detects a slide operation on the display 10 by fingers or style on the folder representative icon.
In step S204, the file operating module 107 outspreads a corresponding displaying window gradually along the first direction from a side of the folder representative icon until the displaying window is entirely spread out on the display 10 to display the file representative icon according to the slide command. At this time, a file representative icon is shown in the displaying window. In one embodiment, the folder representative icon is named “A” and the file representative icon is named “a” (shown in
The file operating module 107 draws back the corresponding displaying window along a second direction opposite to the first direction when the user slides the displaying window along the second direction.
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 |
---|---|---|---|
100105540 | Feb 2011 | TW | national |
This application is related to co-pending U.S. patent application Ser. No. ______ entitled “ELECTRONIC DEVICE AND METHOD FOR PRESENTING FILES”, Attorney Docket No. US39156.