CN103176802B - Realize the method that the user interface UI of system separates with widget library by control pond - Google Patents
Realize the method that the user interface UI of system separates with widget library by control pond Download PDFInfo
- Publication number
- CN103176802B CN103176802B CN201310107053.9A CN201310107053A CN103176802B CN 103176802 B CN103176802 B CN 103176802B CN 201310107053 A CN201310107053 A CN 201310107053A CN 103176802 B CN103176802 B CN 103176802B
- Authority
- CN
- China
- Prior art keywords
- control
- pond
- user interface
- interface
- configuration information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 20
- 230000015572 biosynthetic process Effects 0.000 claims abstract description 7
- 238000005516 engineering process Methods 0.000 description 2
- 238000004891 communication Methods 0.000 description 1
- 230000006378 damage Effects 0.000 description 1
- 238000005538 encapsulation Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
The invention provides a kind of method that user interface UI that realizes system by control pond separates with widget library, the method is: 1, the establishment interface of the control type of system and control is bound in advance; 2, by creating and configured the formation of control; Be created as: control pond creates interface by the control of each control type binding of system and creates out each control, and the unique control ID of corresponding generation; Be configured to: system outside is imported the structure setting into control pond, described structure stores the required each control configuration information of system; Be configured corresponding control according to each control configuration information; 3,, when the user interface UI of system shows, create interface by calling in control pond, and according to required control ID, control is operated. The invention enables user interface UI without being concerned about concrete control, simplify control using method; Improve the efficiency of system program processing.
Description
Technical field
The present invention relates to computer communication technology field, relate in particular to a kind of method that user interface UI that realizes system by control pond separates with widget library.
Background technology
In the realization of user interface UI, need to reach with control the demonstration of concrete object, use different creation methods for different controls, control is the encapsulation to data and method. Control can have attribute and the method for oneself; Attribute is the easy access person of control data; Method is some simple and visible functions of control; Control is to be generally stored in widget library.
Existing user interface UI binds some conventional controls, when the user interface UI of system shows like this, each control all needs to create using method, and also to be concerned about user interface UI demonstration needs which concrete control, to from those conventional controls, take out the control needing, so just consumed the resource of system program, and the efficiency of system program processing is very low.
Summary of the invention
The technical problem to be solved in the present invention, a kind of method that provides user interface UI that realizes system by control pond to separate with widget library is provided, by control pond, unification user interface UI uses the interface of control, make user interface UI without being concerned about concrete control, simplify control using method; Improve the efficiency of system program processing.
The present invention is achieved in that a kind of method that user interface UI that realizes system by control pond separates with widget library, comprises the steps:
Step 1, the establishment interface of the control type of system and control is bound in advance;
Step 2, by creating and configured the formation of control; Described being created as: control pond creates interface by the control of each control type binding of system and creates out each control, and the unique control ID of corresponding generation; Described being configured to: system outside is imported the structure setting into control pond, described structure stores the required each control configuration information of system; Control pond is configured corresponding control according to each control configuration information in this structure; The control of formation is stored in control pond;
When the user interface UI of step 3, system shows, create interface by calling in control pond, and according to required control ID, control is operated; Now operated control, is labeled as by use state, and system outside cannot re-use this control, and the control after having operated, is labeled as idle condition, can be outside for system.
Further, described control configuration information comprises: attribute, the alignment thereof of control and the font size of control of control type, the residing coordinate of control, control display name, control.
Tool of the present invention has the following advantages: 1, the module of system outside, without establishment interface and the process of understanding concrete control, is simplified the realization to control.
2, in system, realized the unified management to control, unified establishment and destruction, also control internal memory in unified management simultaneously distribution and release.
3,, for upper-layer user interface UI, under different widget library platforms, can well realize user interface UI and transplant, and only need revise the support of control pond to new widget library.
4, unification user interface UI uses the interface of control, has improved the efficiency of system program processing.
Brief description of the drawings
Fig. 1 is the inventive method schematic flow sheet.
Detailed description of the invention
The present invention is further illustrated in conjunction with the embodiments with reference to the accompanying drawings.
Refer to shown in Fig. 1, the present invention is a kind of method that user interface UI that realizes system by control pond separates with widget library, comprises the steps:
Step 1, the establishment interface of the control type of system and control is bound in advance; The establishment interface of described control is the creation operation of realizing concrete control;
Step 2, by creating and configured the formation of control; Described being created as: control pond creates interface by the control of each control type binding of system and creates out each control, and the unique control ID of corresponding generation; Described being configured to: system outside is imported the structure setting into control pond, described structure stores the required each control configuration information of system; Control pond is configured corresponding control according to each control configuration information in this structure; The control of formation is stored in control pond; Some information that now just include control in control pond, those information include: control ID, the control object being created out, control type, the current state whether being used of control.
When the user interface UI of step 3, system shows, create interface by calling in control pond, and according to required control ID, control is operated; Now operated control, is labeled as by use state, and system outside cannot re-use this control, and the control after having operated, is labeled as idle condition, can be outside for system; The described mark to control is the change of the state whether control is used.
Comprise at the configuration information of control described in system: attribute, the alignment thereof of control and the font size of control of control type, the residing coordinate of control, control display name, control.
In a word, the present invention is by control pond, and unification user interface UI uses the interface of control, makes user interface UI without being concerned about concrete control, simplifies control using method; Improve the efficiency of system program processing.
The foregoing is only preferred embodiment of the present invention, all equalizations of doing according to the present patent application the scope of the claims change and modify, and all should belong to covering scope of the present invention.
Claims (2)
1. realize by control pond the method that the user interface UI of system separates with widget library, it is characterized in that, comprise the steps:
Step 1, the establishment interface of the control type of system and control is bound in advance;
Step 2, by creating and configured the formation of control; Described being created as: control pond creates interface by the control of each control type binding of system and creates out each control, and the unique control ID of corresponding generation; Described being configured to: system outside is imported the structure setting into control pond, described structure stores the required each control configuration information of system; Control pond is configured corresponding control according to each control configuration information in this structure; The control of formation is stored in control pond;
When the user interface UI of step 3, system shows, create interface by calling in control pond, and according to required control ID, control is operated; Now operated control, is labeled as by use state, and system outside cannot re-use this control, and the control after having operated, is labeled as idle condition, can be outside for system.
2. the method that the user interface UI that realizes system by control pond according to claim 1 separates with widget library, is characterized in that: described control configuration information comprises: attribute, the alignment thereof of control and the font size of control of control type, the residing coordinate of control, control display name, control.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310107053.9A CN103176802B (en) | 2013-03-29 | 2013-03-29 | Realize the method that the user interface UI of system separates with widget library by control pond |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310107053.9A CN103176802B (en) | 2013-03-29 | 2013-03-29 | Realize the method that the user interface UI of system separates with widget library by control pond |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103176802A CN103176802A (en) | 2013-06-26 |
CN103176802B true CN103176802B (en) | 2016-05-11 |
Family
ID=48636707
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310107053.9A Expired - Fee Related CN103176802B (en) | 2013-03-29 | 2013-03-29 | Realize the method that the user interface UI of system separates with widget library by control pond |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103176802B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104111833A (en) * | 2014-07-04 | 2014-10-22 | 北京思特奇信息技术股份有限公司 | System reading/writing control component separation method and system |
CN104102704B (en) * | 2014-07-08 | 2017-12-26 | 深信服科技股份有限公司 | System control methods of exhibiting and device |
CN104407828B (en) * | 2014-10-31 | 2018-08-24 | 宁波三星医疗电气股份有限公司 | Display control program for electric power acquisition terminal |
CN105739973A (en) * | 2016-01-22 | 2016-07-06 | 深圳市盛弘电气股份有限公司 | Android based UI control automatic identification refreshing method and apparatus |
CN107203373B (en) * | 2016-03-18 | 2020-10-20 | 阿里巴巴集团控股有限公司 | Interface control acquiring method, interface control testing method, interface control acquiring device and interface control testing device |
CN106371845B (en) * | 2016-09-05 | 2019-10-25 | 深圳震有科技股份有限公司 | The method and system of same type control are reused based on WPF by control pond |
CN107844349B (en) * | 2017-10-19 | 2021-06-04 | 台州市吉吉知识产权运营有限公司 | Control method and device based on user interface |
CN111026369A (en) * | 2019-11-28 | 2020-04-17 | 成都睿智融科科技有限公司 | Security market data high-speed access and forwarding platform |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101256490A (en) * | 2008-03-18 | 2008-09-03 | 腾讯科技(深圳)有限公司 | Expandable skin system and implementing method |
CN101645006A (en) * | 2009-08-25 | 2010-02-10 | 山东中创软件商用中间件股份有限公司 | Method and device for dynamically generating property page |
CN101720156A (en) * | 2009-12-17 | 2010-06-02 | 海洋王照明科技股份有限公司 | Method and system for generating monitoring interface of illumination control system and illumination control system |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101685393B (en) * | 2008-08-20 | 2013-09-18 | 大唐软件技术股份有限公司 | Method and system for realizing interface dynamic customization and generation |
US20130346939A1 (en) * | 2008-11-14 | 2013-12-26 | Adobe Systems Incorporated | Methods and Systems Utilizing Behavioral Data Models With Views |
CN101436133B (en) * | 2008-11-20 | 2012-11-21 | 腾讯科技(深圳)有限公司 | Method and device for generating control object library |
CN101464805B (en) * | 2008-12-24 | 2012-09-05 | 中兴通讯股份有限公司 | Plug-in management method and system thereof |
-
2013
- 2013-03-29 CN CN201310107053.9A patent/CN103176802B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101256490A (en) * | 2008-03-18 | 2008-09-03 | 腾讯科技(深圳)有限公司 | Expandable skin system and implementing method |
CN101645006A (en) * | 2009-08-25 | 2010-02-10 | 山东中创软件商用中间件股份有限公司 | Method and device for dynamically generating property page |
CN101720156A (en) * | 2009-12-17 | 2010-06-02 | 海洋王照明科技股份有限公司 | Method and system for generating monitoring interface of illumination control system and illumination control system |
Also Published As
Publication number | Publication date |
---|---|
CN103176802A (en) | 2013-06-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103176802B (en) | Realize the method that the user interface UI of system separates with widget library by control pond | |
US11513775B2 (en) | Group control and management among electronic devices | |
CN102902767A (en) | Method and system for rapidly creating forms | |
CN102981855A (en) | Template-based interface autogeneration method and system | |
CN103064682B (en) | Device oriented human-machine interface configuration method for designing | |
EP3367238A1 (en) | Producing method and producing system for desktop launcher of mobile terminal | |
CN104156222A (en) | Method for self-defining Android equipment desktop | |
HK1147581A1 (en) | Method and system of defining an interactive user interface | |
CN102479185A (en) | Method for controlling language version of software by server side | |
CN102541566A (en) | Method for generating interface frameworks of semiconductor software | |
CN202904558U (en) | Interface modeler device | |
CN103414750A (en) | System and method for web visual editing of ANDROID client application | |
CN104503769A (en) | Character dot matrix liquid crystal interface implementation method based on XML (extensive markup language) configuration file | |
CN104391703A (en) | Quick page layout completing device and method | |
CN104834715A (en) | Website generating method and system based on components and container | |
CN102436501A (en) | Parallel file managing system based on web | |
CN101355774A (en) | Method for customizing script automatization using configuration file | |
CN105718468A (en) | Method and device for building ODS layer of data warehouse | |
CN105260266A (en) | Snapshot volume writing method and dependent snapshot system | |
US11853727B2 (en) | Group control and management among electronic devices | |
WO2016201813A1 (en) | Dynamic layout method and system based on android | |
CN103294480B (en) | Mesh row data transformations is the method for data list | |
CN112269635A (en) | Method and system for configuring functional module, electronic device and storage medium | |
CN103049253B (en) | A kind of system for cell-phone customer terminal exploitation | |
CN102915231A (en) | Smartphone software design tool, resolver and method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20160511 |