Method and device for realizing tree structure based on a macos operation system
A tree structure and operating system technology, applied in the field of electronic communication, can solve the problems of costly window switching and reduce user experience, etc., achieve content optimization, significant acceleration effect, and improve user experience
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0056] by image 3 The tree structure described in is used as an example to illustrate the technical solution of the present invention.
[0057] The invention provides a method for realizing a tree structure based on a mac os operating system, the method comprising:
[0058] The content to be expressed in a tree structure and the corresponding attributes are correspondingly filled in each row of at least one created list control; the attributes include the level attributes of the row or the content in the row in the tree structure And include child node attributes used to describe whether the level of the row or the content in the row has the next level;
[0059] According to the content and attributes of the tree structure, each row of the at least one list control is generated into a tree structure display page.
[0060] combine Figure 4 , the specific steps can be as follows:
[0061] Step S101: Classify the content to be expressed in a tree structure according to leve...
Embodiment 2
[0102] Same as in Example 1 image 3 In the example in , wherein step S201 is the same as step S101, and step S202 is the same as step S102; the difference is that in the first embodiment, before filling the content into the list control, each row of the list control is set for attributes, and then through Correspondingly fill in the content to realize the tree structure; in the second embodiment, the content to be expressed in the tree structure is firstly filled in each row of the list control, and then the attributes are respectively set for the content. Such as Figure 6 As shown, the steps of Embodiment 2 are described in detail below.
[0103] Step S203: filling the content to be expressed in a tree structure into each row of the list control;
[0104] Step S204: adding the attributes for the content filled in each row to represent the tree structure of the content;
[0105] In the second embodiment, after filling the content into each row of the list control, the att...
Embodiment 3
[0114] Such as Figure 7 As shown, the present invention also provides a device for realizing a tree structure based on the mac os operating system, the device comprising:
[0115] The structure building module S11 is used to fill in the content to be expressed as a tree structure and the corresponding attributes correspondingly in each row of at least one list control created; the attributes include the row or the contents of the row in the tree The attribute of the level in the shape structure and the child node attribute used to describe whether the row or the content in the row belongs to the next level;
[0116] The structure generation module S22 is configured to generate a display page of a tree structure for each row of the at least one list control according to the content of the tree structure and corresponding attributes.
[0117] Specifically, the structure building module S11 specifically includes:
[0118] A content classification unit S111, configured to class...
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