Control generation method and device, equipment and storage medium
A technology for controlling and generating targets, applied in the computer field, can solve the problems of inflexible configuration elements, high code redundancy, cumbersome implementation process, etc., to improve configuration flexibility, high information reuse, and reduce redundancy. Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0028] figure 1 It is a flow chart of a control generation method provided in Embodiment 1 of the present invention. This embodiment is applicable to the situation of generating controls in a visual interface. The method can be executed by the control generation device provided in the embodiment of the present invention. The device can It is realized by means of software and / or hardware, and generally can be integrated in computer equipment. Correspondingly, such as figure 1 As shown, the method includes the following operations:
[0029] S110. Generate a visualization frame to be configured according to the target control element and the target layout.
[0030] Wherein, the target control element may be a component and a graph used to form a visual control after configuration. The target layout may be the arrangement of the display positions of the various visual controls in the interface. The visualization frame to be configured may be a frame composed of target control ...
Embodiment 2
[0043] figure 2 It is a flow chart of a control generation method provided by Embodiment 2 of the present invention. The embodiment of the present invention is embodied on the basis of the foregoing embodiments. In the embodiment of the present invention, a specific optional implementation manner of generating a visualization frame to be configured according to the target control element and the target layout is given.
[0044] Such as figure 2 As shown, the method of the embodiment of the present invention specifically includes:
[0045] S210. Generate a visualization frame to be configured according to the target control element and the target layout.
[0046] In an optional embodiment of the present invention, S210 may specifically include:
[0047] S211. Determine at least one target control element and display position information of each target control element according to the target layout.
[0048] Wherein, the display position information may be information used...
Embodiment 3
[0076] Figure 4 A schematic structural diagram of a control generating device provided in Embodiment 3 of the present invention, as shown in Figure 4 As shown, the device includes: a framework generation module 310 , a constraint acquisition module 320 and a control generation module 330 .
[0077] Wherein, the frame generation module 310 is configured to generate a visual frame to be configured according to the target control element and the target layout.
[0078] The constraint acquisition module 320 is configured to acquire a constraint configuration file and parse the constraint configuration file to obtain constraint configuration information.
[0079] The control generation module 330 is configured to map the constraint configuration information to the visualization frame to be configured, so as to generate a target control in the target visualization interface according to the constraint configuration information.
[0080] In an optional implementation manner of th...
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