Multi-level tab plug-in construction method and its setting method and device
A construction method, a technology of tabs, applied in the direction of program control device, program control design, data processing input/output process, etc., can solve problems such as lack of flexibility, achieve a wide range of applications, harmonious and beautiful appearance, flexible layout Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0041] See figure 1 This is a schematic flowchart of a method for constructing a plug-in for multi-level tabs according to the first embodiment of the present invention. The method includes the following steps:
[0042] S11. Define the global object of the plug-in, write a function closure, and return the objects in the closure to the global object;
[0043] It is understandable that the purpose of defining the global object of the plug-in and writing the function closure is to prevent the variables in the plug-in from polluting the global variables, that is, the plug-in can be applied to various operating environments and expand its use range.
[0044] S12. Define function variables and the initialization mode of the plug-in in the closure;
[0045] Specifically, function variables are defined in the closure and local variables are defined in the function, so that the commonly used variables are written first; at the same time, the initialization mode of the plug-in is defined, includ...
Embodiment 2
[0050] Refer to the first embodiment of the present invention and figure 1 For the specific process of steps S11 to S13 described in, refer to the flow diagram of a method for setting multi-level tabs provided in the second embodiment of the present invention. The method includes the following steps:
[0051] S21: Analyze the acquired trigger event to obtain attribute information corresponding to the trigger event;
[0052] S22. Determine whether the tab level corresponding to the trigger event is the lowest level of the tab according to the attribute information of the trigger event, if it is, execute S23, if not, execute S24;
[0053] S23: Display corresponding content information according to the trigger event;
[0054] S24. According to the attribute information of the trigger event, set a lower-level tab list of the tab level corresponding to the trigger event, and perform hexadecimal color conversion and calculation according to the current level color value of the trigger event ...
Embodiment 3
[0068] Corresponding to the method for setting multi-level tabs disclosed in the second embodiment, the third embodiment of the present invention also provides a device for setting multi-level tabs, see image 3 This is a schematic structural diagram of a device for setting multi-level tabs provided in Embodiment 3 of the present invention, and the device includes:
[0069] The analysis module 1 is used to analyze the acquired trigger event and obtain attribute information corresponding to the trigger event;
[0070] The setting module 2 is used for judging whether the tab level corresponding to the trigger event is the lowest level of the tab according to the attribute information of the trigger event, and if so, display corresponding content information according to the trigger event If not, set the lower-level tab list of the tab level corresponding to the trigger event according to the attribute information of the trigger event, and perform hexadecimal color according to the cu...
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