Sorting method and device for elements in directory tree
A sorting method and directory tree technology, applied in the computer field, can solve the problem that the directory tree cannot be sorted by the elements of the directory tree.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0026] According to an embodiment of the present invention, an embodiment of a method for sorting elements in a directory tree is provided. It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions , and, although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that shown or described herein.
[0027] figure 1 is a flow chart of a method for sorting elements in a directory tree according to an embodiment of the present invention, such as figure 1 As shown, the method includes the following steps:
[0028] Step S102, when the first target element in the directory tree is detected to be dragged, determine the second target element in the directory tree that needs to be sorted with the first target element through collision detection, and trigger a drag event;
[0029] Step S104, by...
Embodiment 2
[0069] According to an embodiment of the present invention, an embodiment of an apparatus for implementing the method for sorting elements in the above directory tree is also provided, Figure 5 is a schematic structural diagram of a device for sorting elements in a directory tree according to an embodiment of the present invention, as shown in Figure 5 As shown, the sorting device for elements in the above-mentioned directory tree includes: a processing module 50, an acquisition module 52 and a sorting module 54, wherein:
[0070] The processing module 50 is configured to determine the second target element in the directory tree that needs to be sorted with the first target element through collision detection when dragging the first target element in the directory tree is detected, and trigger dragging Event; acquisition module 52, configured to acquire the first coordinate data of the above-mentioned first target element and the second coordinate data of the above-mentioned...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com