CN1952878B - Switching method defined by interface region of graphic consumer and storage medium of program code - Google Patents
Switching method defined by interface region of graphic consumer and storage medium of program code Download PDFInfo
- Publication number
- CN1952878B CN1952878B CN 200510109545 CN200510109545A CN1952878B CN 1952878 B CN1952878 B CN 1952878B CN 200510109545 CN200510109545 CN 200510109545 CN 200510109545 A CN200510109545 A CN 200510109545A CN 1952878 B CN1952878 B CN 1952878B
- Authority
- CN
- China
- Prior art keywords
- adapter assembly
- interface region
- changing method
- gui component
- graphic according
- 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 32
- 230000008859 change Effects 0.000 claims abstract description 23
- 238000006243 chemical reaction Methods 0.000 claims abstract description 4
- 230000006399 behavior Effects 0.000 claims description 5
- 230000000712 assembly Effects 0.000 claims description 4
- 238000000429 assembly Methods 0.000 claims description 4
- 230000009471 action Effects 0.000 claims description 3
- 238000007726 management method Methods 0.000 description 22
- 238000010586 diagram Methods 0.000 description 6
- 238000009434 installation Methods 0.000 description 3
- 230000008569 process Effects 0.000 description 2
- 230000008901 benefit Effects 0.000 description 1
- 230000004069 differentiation Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
Images
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
This invention relates to a image user interface area set switch method and its program codes memory media to change the program image user interface setting, which comprises the following steps: firstly, image user interface parts registers through conversion parts and then the application program receives the new area set; then the application program informs area management element with new set; finally area management element changes user interface element area relative property to meet area set through transfer element.
Description
Technical field
The present invention relates to a kind of graphic user interface (graphic user interface abbreviates GUI as) management method, and be particularly related to the management method that a kind of interface region of graphic is set (locale settings).
Background technology
Generally in software design procedure, the designer can wait according to the area under the software user, country origin, cultural features, administrative regulation and design the software that is fit to a certain type user.This software difference in demonstration or behavior that causes because of user's country origin is different with culture, for example setting of currency, time format, spoken and written languages, digital format or the like promptly utilizes zone (locale) to classify in the software development design.
Promptly be that to look zone under the user different and give software different behaviors and display mode are arranged on the user interface in sum, and wish can the person of being used use habit and demand, in the hope of bringing into play the maximum efficiency of software.Relevant technology has a wide range of applications in the multi-lingual processing of software.
For the processing of user interface on area differentiation, mainly be the setting of when install software, selecting zones of different on the current software design technology, set so that whole zone is done at the user interface.But this prior art is for the change of user interface in the software run time, and the management of the regional association attributes (locale-sensitive property) of the GUI assembly at composition user interface, but relegates to the category of things wanting by contrast.This just causes and can't carry out the relevant control in zone more flexibly to the user interface.
Summary of the invention
The present invention's purpose is to provide a kind of changing method of interface region of graphic setting, the zone that can allow provides the user of the application program of this changing method can optionally change graphic user interface when installing or carrying out this application program is set, to increase the convenience that software uses.
For reaching above-mentioned and other purpose, the present invention proposes the changing method that a kind of interface region of graphic is set, it includes (a) gui component and registers to the district management assembly by adapter assembly, (b) application program is accepted new zone setting, (c) application notification district management assembly has new zone to set, (d) the district management assembly is set to meet the zone by the regional association attributes of adapter assembly change gui component.
In one embodiment of this invention, wherein step (a) further comprise gui component to adapter assembly register and adapter assembly to district management component register gui component.In step (b), new zone setting is the user from application program again.And step (d) comprises that further district management assembly notice adapter assembly has new zone to set, and the regional association attributes of adapter assembly change gui component, sets to meet the zone.Gui component is the part of functional module in above-mentioned again, and this functional module comprises a plurality of gui components.
In one of the present invention embodiment, gui component is in label (label), button (button), form (table), pull-down inventory square frame (combo box) and the control panel (panel).Regional again association attributes comprises spoken and written languages, value of money form, digital format, time format, date format, background color, pattern, outward appearance, arrangement mode and at least to one in the reaction of user's action.
In one of the present invention embodiment, the adapter assembly basic adapter assembly that continues, this basis adapter assembly define program (method), and carry out (implement) program by adapter assembly.A plurality of adapter assemblies basic adapter assembly that continues is wherein arranged, the gui component of all corresponding at least one type of each adapter assembly, make that dissimilar gui components has different behaviors and display mode when regional setting changing.At step (a), gui component is to register to the district management assembly by said procedure again.And at step (d), the district management assembly is the regional association attributes that changes gui component by said procedure.
In one of the present invention embodiment, the pairing type of adapter assembly is label and button, and wherein when regional setting changing, adapter assembly can change the label literal of gui component.In another embodiment of the present invention, the pairing type of adapter assembly is a pull-down inventory square frame, and when regional setting changing, adapter assembly can change the interior literal of square frame and the interior literal of inventory of gui component.
As described in the present invention's preferred embodiment, the present invention utilizes all gui components of district management assembly unified management application program, so when the regional setting changing of graphic user interface, can change the regional association attributes of all gui components thereupon, set to meet new zone.The zone that so can allow the user can arbitrarily change graphic user interface when installation or executive utility is set, to increase the convenience that software uses.
State with other purpose, feature and advantage and can become apparent on the present invention for allowing, preferred embodiment cited below particularly, and conjunction with figs. are described in detail below.
Description of drawings
Fig. 1 is the application component structural representation of one of the present invention embodiment.
The changing method process flow diagram that Fig. 2 sets for the interface region of graphic of one of the present invention embodiment.
Fig. 3 is the application component structural representation of one of the present invention embodiment.
Fig. 4 sets the synoptic diagram of preceding functional module for the change zone of one of the present invention embodiment.
The synoptic diagram of the functional module after Fig. 5 sets for the change of one of the present invention embodiment is regional.
The main element description of symbols
11: the district management assembly
15: functional module
111,112: adapter assembly
111a, 41a, 41b, 41c: button
111b, 42: label
112a, 43: pull-down inventory square frame
31: basic adapter assembly
40: dialog box
S1~S6: process step
Embodiment
Fig. 1 is the application component structural representation of one of the present invention embodiment, and the application program of present embodiment adopts OO (object-oriented) design, and object wherein is called assembly again.Fig. 2 is the changing method process flow diagram that the interface region of graphic of present embodiment is set.Below explanation please also refer to Fig. 1 and Fig. 2.Interface region of graphic at present embodiment is set in the changing method, and wherein button 111a, label 111b and pull-down inventory square frame 112a are all gui component.Above-mentioned three gui components are all the part of functional module 15, the graphic user interface that composition function assembly 15 is shown.And button 111a, label 111b are corresponding to adapter assembly 111, and pull-down inventory square frame 112a is corresponding to adapter assembly 112. Adapter assembly 111 and 112 is simultaneously corresponding to district management assembly 11 again.The gui component of present embodiment only comprises button 111a, label 111b and pull-down inventory square frame 112a, yet in the scope of the invention, gui component can comprise all common assemblies in the general figures user interface, for example also comprises form and control panel.
The program code that stores in the Storage Media of embodied on computer readable, changing method is set in the zone that can carry out as shown in Figure 2.At first, in step S1, gui component is registered (for example in application initialization time, promptly carry out step S1) for button 111a, label 111b and pull-down inventory square frame 112a to adapter assembly 111,112 in this embodiment.Next, in step S2, adapter assembly 111 is to district management assembly 11 registration button 111a and label 111b; Adapter assembly 112 is to district management assembly 11 registration pull-down inventory square frame 112a.Afterwards, in step S3, application program accepts for example to come from user's new zone setting.In step S4, application notification district management assembly 11 has new zone to set.In step S5, district management assembly 11 notice adapter assemblies 111,112 have new zone to set.In step S6, adapter assembly 111 changes the regional association attributes of button 111a and label 111b; Adapter assembly 112 changes the regional association attributes of pull-down inventory square frame 112a, sets to meet new zone.So no matter in the installation or implementation of application program, as long as the zone is set with change, the regional association attributes of all gui components also changes thereupon.Above-mentioned regional association attributes for example comprises spoken and written languages, value of money form, digital format, time format, date format, background color, pattern, outward appearance, arrangement mode and to the reaction of user's action etc.
In the present embodiment shown in Figure 3, the relation of continuing of adapter assembly and basic adapter assembly.Please also refer to Fig. 1, Fig. 2 and Fig. 3, adapter assembly 111, the 112 basic adapter assembly 31 that continues wherein, basic adapter assembly 31 define programs, and carry out these supervisors by adapter assembly 111,112.In the step S2 of Fig. 2, button 111a, label 111b and pull-down inventory square frame 112a promptly register to district management assembly 11 by this program, and in step S5, district management assembly 11 promptly passes through the regional association attributes of this routine change button 111a, label 111b and pull-down inventory square frame 112a.
The gui component of adapter assembly 111,112 respectively corresponding at least one type, when regional setting changing, dissimilar gui components has different behaviors and display mode.For example in Fig. 1, button 111a, label 111b are corresponding to adapter assembly 111, and pull-down inventory square frame 112a is corresponding to adapter assembly 112.When regional setting changing, adapter assembly 111 will change the label literal of button 111a, label 111b again, and adapter assembly 112 will change interior literal of square frame and the interior literal of inventory of pull-down inventory square frame 112a again.
Below be that present embodiment changes the example that the zone is set.The synoptic diagram of the functional module before Fig. 4 zone setting for a change, the synoptic diagram of the functional module after Fig. 5 zone setting for a change please also refer to Fig. 2, Fig. 4 and Fig. 5.In this embodiment, functional module is a dialog box 40, and it includes button 41a, 41b, 41c, label 42 and pull-down inventory square frame 43.After the new zone that application program accepts to be come by the user is set, the just step S3~S6 in the execution graph 2.Fig. 4 and Fig. 5 represent to carry out the difference that front and back are set in new zone, with spoken and written languages is example, spoken and written languages on button 41a, the 41b of Fig. 4,41c and the label 42 are simplified form of Chinese Character, after carrying out new zone setting, the spoken and written languages on button 41a, the 41b of Fig. 5,41c and the label 42 then are English.Similarly, the interior literal of literal and inventory also is a simplified form of Chinese Character in the square frame of the pull-down inventory square frame 43 of Fig. 4, and after carrying out new zone setting, literal promptly changes English in interior literal of the square frame of the pull-down inventory square frame 43 of Fig. 5 and the inventory.
As mentioned above, the present invention utilizes all gui components of district management assembly unified management application program, so when the regional setting changing of graphic user interface, can change the regional association attributes of all gui components, set thereupon to meet new zone.The zone that so can allow the user can arbitrarily change graphic user interface when installation or executive utility is set, to increase the convenience that software uses.
Though the present invention discloses as above with preferred embodiment; right its is not in order to limit the present invention; any person of ordinary skill in the field; without departing from the spirit and scope of the invention; when can doing a little change and improvement, so the present invention's protection domain is as the criterion when looking the claim person of defining.
Claims (15)
1. the changing method set of an interface region of graphic is characterized in that comprising:
(a) gui component is registered to the district management assembly by adapter assembly;
(b) application program is accepted new zone setting;
(c) this district management assembly of this application notification has new zone to set; And
(d) this district management assembly changes the regional association attributes of this gui component by this adapter assembly, sets to meet this zone.
2. the changing method that interface region of graphic according to claim 1 is set is characterized in that this gui component is in following: label, button, form, pull-down inventory square frame and control panel.
3. the changing method that interface region of graphic according to claim 1 is set is characterized in that this gui component is the part of functional module, and this functional module comprises a plurality of gui components.
4. the changing method that interface region of graphic according to claim 1 is set is characterized in that step (a) also comprises:
This gui component is registered to this adapter assembly; And
This adapter assembly is to this this gui component of district management component register.
5. the changing method that interface region of graphic according to claim 1 is set is characterized in that at step (b), and new zone setting is the user from this application program.
6. the changing method that interface region of graphic according to claim 1 is set is characterized in that step (d) also comprises:
This district management assembly notifies this adapter assembly to have new zone to set; And
This adapter assembly changes the regional association attributes of this gui component, sets to meet this zone.
7. the changing method that interface region of graphic according to claim 1 is set is characterized in that this zone association attributes comprises in following at least: spoken and written languages, value of money form, digital format, time format, date format, background color, pattern, outward appearance, arrangement mode and to the reaction of user's action.
8. the changing method that interface region of graphic according to claim 1 is set is characterized in that this adapter assembly basic adapter assembly that continues, program of this basis adapter assembly definition, and this adapter assembly is carried out this program.
9. the changing method that interface region of graphic according to claim 8 is set is characterized in that at step (a) this gui component is to register to this district management assembly by this program.
10. the changing method that interface region of graphic according to claim 8 is set is characterized in that at step (d) this district management assembly is the regional association attributes by this this gui component of routine change.
11. the changing method that interface region of graphic according to claim 8 is set, it is characterized in that having a plurality of adapter assemblies this basis adapter assembly that continues, the gui component of corresponding at least one type of each above-mentioned adapter assembly, when making this zone setting changing, dissimilar gui components has different behaviors and display mode.
12. the changing method that interface region of graphic according to claim 11 is set is characterized in that the pairing type of this adapter assembly is label and button.
13. the changing method that interface region of graphic according to claim 12 is set is characterized in that this adapter assembly can change the label literal of this gui component when the setting changing of this zone.
14. the changing method that interface region of graphic according to claim 11 is set is characterized in that the pairing type of this adapter assembly is a pull-down inventory square frame.
15. the changing method that interface region of graphic according to claim 14 is set is characterized in that when the setting changing of this zone, this adapter assembly can change literal and the interior literal of inventory in the square frame of this gui component.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200510109545 CN1952878B (en) | 2005-10-21 | 2005-10-21 | Switching method defined by interface region of graphic consumer and storage medium of program code |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200510109545 CN1952878B (en) | 2005-10-21 | 2005-10-21 | Switching method defined by interface region of graphic consumer and storage medium of program code |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1952878A CN1952878A (en) | 2007-04-25 |
CN1952878B true CN1952878B (en) | 2011-09-07 |
Family
ID=38059235
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 200510109545 Expired - Fee Related CN1952878B (en) | 2005-10-21 | 2005-10-21 | Switching method defined by interface region of graphic consumer and storage medium of program code |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1952878B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6396515B1 (en) * | 1998-12-15 | 2002-05-28 | International Business Machines Corporation | Method, system and computer program product for dynamic language switching in user interface menus, help text, and dialogs |
CN1472647A (en) * | 2002-07-05 | 2004-02-04 | 阿尔卡塔尔公司 | Method for changing GUI program language without withdrawing and re-entering |
-
2005
- 2005-10-21 CN CN 200510109545 patent/CN1952878B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6396515B1 (en) * | 1998-12-15 | 2002-05-28 | International Business Machines Corporation | Method, system and computer program product for dynamic language switching in user interface menus, help text, and dialogs |
CN1472647A (en) * | 2002-07-05 | 2004-02-04 | 阿尔卡塔尔公司 | Method for changing GUI program language without withdrawing and re-entering |
Also Published As
Publication number | Publication date |
---|---|
CN1952878A (en) | 2007-04-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5732271A (en) | Data processing system and method for processing an object oriented development environment employing property inheritance using prototypical objects | |
US8689121B2 (en) | System and method for management of controls in a graphical user interface | |
JP2006501567A (en) | System and method for informing applications and users of user interface elements | |
WO2020048326A1 (en) | Interface display method and system, and terminal device | |
CN103809975A (en) | Method for achieving intelligent cloud forms | |
JP6817253B2 (en) | Display control device, display control method, and display control program | |
CN103927163A (en) | Plugin frame processing device and plugin system | |
CN103677789A (en) | Table data displaying method and system based on GRID assembly | |
CN105988860A (en) | Method for executing application program and mobile device | |
CN101241497A (en) | Method and system for representing electronic table data by graph | |
US20110055537A1 (en) | Electronic device and booting method therefor | |
CN104391693A (en) | Method for achieving multiple-choice of drop-down list box | |
US20120151388A1 (en) | Creating portals having consistent appearances | |
CN1952878B (en) | Switching method defined by interface region of graphic consumer and storage medium of program code | |
CN103049260A (en) | Method and system for displaying user interface of software at client | |
CN111460194B (en) | Style library configuration method, device, computer equipment and storage medium | |
CN104063219A (en) | Form development method and system for WEB system | |
US20080275903A1 (en) | Flexible interface using scalable vector graphics with metalevel palette | |
CN103700363A (en) | Font generation system for display and font generation method for display | |
CN105630443A (en) | OSD (On-Screen Display) method of KVM (Keyboard Video Mouse) system | |
CN100527078C (en) | Method for making JCombo Box assembly have behaviour perceptive ability | |
CN112035175B (en) | Application setting method and device | |
CN104765685A (en) | Graphical analysis method of kernel process | |
CN101136030A (en) | Model based supportability process planning data set | |
CN108446157A (en) | A kind of multilingual display interface design method that Vertical Mill auxiliaries control system can switch in real time |
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 |
Granted publication date: 20110907 |
|
CF01 | Termination of patent right due to non-payment of annual fee |