[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN101178650A - Method and device for modifying control property based on response - Google Patents

Method and device for modifying control property based on response Download PDF

Info

Publication number
CN101178650A
CN101178650A CNA2007101124764A CN200710112476A CN101178650A CN 101178650 A CN101178650 A CN 101178650A CN A2007101124764 A CNA2007101124764 A CN A2007101124764A CN 200710112476 A CN200710112476 A CN 200710112476A CN 101178650 A CN101178650 A CN 101178650A
Authority
CN
China
Prior art keywords
property value
control
modification
attribute
record
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.)
Pending
Application number
CNA2007101124764A
Other languages
Chinese (zh)
Inventor
黄利贤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CNA2007101124764A priority Critical patent/CN101178650A/en
Publication of CN101178650A publication Critical patent/CN101178650A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a method used for modifying the attribute of a control based on response. The invention comprises the steps that: a programmable interface which comprises all the attributes and values of the selected control is displayed according to the received instruction, which is used for modifying the attributes of the selected control; the inputted modified attribute values are recoded when modifying the attribute values corresponding to the attributes of the selected control on the programmable interface; and the corresponding attributes of the control are modified according to the modified attribute values of the corresponding attributes after receiving the trigger instruction for triggering the response event of the selected control, and the control with the attributes modified is output. The invention also discloses a system used for modifying the attributes of the control based on response. The invention can satisfy the demand of modifying the attributes based on response under visual environment, thereby avoiding writing a code for modifying the attributes of the control based on response.

Description

A kind of method and device thereof based on the response modification control property
Technical field
The present invention relates to computer technology, relate in particular to a kind of method and device thereof based on the response modification control property.
Background technology
Usually before the exploitation of software input, need do product planning or availability design to this software, to carry out product orientation.The product planning of software or availability design can be finished by designing mutual original text or prototype.
The prototype instrument is can Rapid Combination and build the instrument of software interface prototype, make the interaction flow that just can show the related service interface before project input exploitation effectively, present prototype instrument generally has Visio, Photoshop, Firework and Express Blend etc.
In prototype, the attribute of directly revising control is simple, a common operation, present prototype instrument generally all has the function of visual modification control property, such as the title text of revising forms with Visio, only need to double-click these forms, but the title text zone of these forms will be in editing mode, and the user writes these forms this moment in forms title text zone title text gets final product; Revise the size of forms for another example with Visio, only need in design tool, just can realize by the frame of dilatory these forms.
And in prototype, relatively then belong to more complicated, senior operation the former based on the response modification control property.Wherein be meant by the response events of certain control in the interface is set, make that the attribute of control obtains revising in the interface when this response events takes place based on the response modification control property. ". ".In addition, realize that by the button click control size of changing button control place forms color or changing its place forms or the text of changing button control etc. all belong to the situation that control property is set based on response.
In present prototype instrument, the instrument that has (as Visio etc.) itself does not also have the function based on the response modification control property, the instrument that has (as Expression Blend etc.) is though had function based on the response modification control property, but but need to realize by the coding language, such as realize above-mentioned Fig. 1, example shown in Figure 2 with Expression Blend, need write the code that is similar to following content usually and realize:
private void buttonl_Click(object sender,EventArgs e)
{
this.Text=″Hello World!″;
}
This for be ignorant of mutual designer, product planning teacher or other personnel of computer programming, will have significant limitation.
Summary of the invention
The invention provides a kind of method and device thereof, need in the prior art to finish problem based on the response modification control property by the coding language ability in order to solve based on the response modification control property.
For addressing the above problem, the present invention proposes a kind of method based on the response modification control property, comprise step: revise the instruction of selected control property according to being used to of receiving, but the editing interface that will comprise this each attribute of selected control and property value shows; But when on editing interface, the property value of the respective attributes correspondence of this selected control being made amendment, the modification property value of record input; Receiving when being used to trigger the triggering command of this selected control response events, the corresponding attribute of this control is being made amendment according to the modification property value of corresponding respective attributes record; The amended control of output attribute.
The described instruction that is used to revise selected control property is the operation of choosing control.
The described instruction that is used for revising selected control property is the operation of choosing the child control that control comprises.
Described method also comprises step: receive be used to revise the instruction of control property after, to comprise the interface of respectively triggering type that can trigger this selected control response events and show, and the extraneous triggering type of selecting in the type respectively triggering of this demonstration of record; The described triggering command that receives is the triggering command based on the triggering type of described selection.
Described method also comprises step: with described record respectively revise property value, compare with this control being carried out the corresponding property value of property value before revising respectively, and with the modification property value of the inconsistent property value of comparative result as record.
Described method also comprises step: at the control behind the modification property value, the modification property value that will comprise record is at interior each attribute and property value thereof, compare successively with each attribute and the property value thereof preserved respectively before this control modification property value, and with the modification property value of the inconsistent property value of comparative result as record.
Described method also comprises step: in the modification property value of described record, filters out attribute and forbids the property value that is modified, and with the modification property value of the property value after the filtration treatment as record.
A kind of system based on the response modification control property comprises:
The command reception unit is used to receive the instruction that is used to revise selected control property;
But property value editing interface display unit is used for the instruction that receives according to the command reception unit, but the editing interface that will comprise this each attribute of selected control and property value shows;
Revise the property value record cell, but when being used on editing interface the property value of the respective attributes correspondence of this selected control made amendment, the modification property value of record input;
The attribute modification unit is used for receiving when being used to trigger the triggering command of this selected control response events, according to the modification property value of revising the corresponding respective attributes record of property value record cell, the corresponding attribute of this control is made amendment;
The control output unit is used for the amended control of output attribute.
Described system also comprises:
Trigger the type display unit, be used for the command reception unit receive be used to revise the instruction of control property after, will comprise the interface of respectively triggering type that can trigger this selected control response events and show;
Trigger the class record unit, be used for writing down and extraneously respectively trigger the triggering type that type is selected in this demonstration;
The triggering command that described attribute modification unit receives is used to trigger this selected control response events is the triggering command based on the triggering type that triggers the class record unit record.
Described system also comprises:
The first property value comparing unit is used for respectively revising property value with what revise the property value recording unit records, respectively with this control is carried out the corresponding property value of property value before revising and compares;
Revise the property value record cell with the modification property value of the inconsistent property value of the first property value comparing unit comparative result as self record.
Described system also comprises:
The second property value comparing unit, be used at the control behind the modification property value, the modification property value that will comprise record compares with each attribute and the property value thereof to before this control modification property value preserved respectively successively at interior each attribute and property value thereof;
Revise the property value record cell with the modification property value of the inconsistent property value of the second property value comparing unit comparative result as self record.
Described system also comprises:
The property value filter element is used for filtering out attribute at the modification property value of revising the property value recording unit records and forbids the property value that is modified;
Revising the property value record cell will be through the modification property value of the property value after the property value filter element filtration treatment as self record.
The beneficial effect that the present invention can reach is as follows:
The invention provides a kind of method and system based on the response modification control property, realized visualized operation based on the response modification control property, avoided writing code, reduced requirement to users such as mutual designer, product plannings teacher, therefore the present invention realizes visual simple to operate directly perceived again based on the response modification control property expanded the availability of software.
Description of drawings
Be elaborated to the specific implementation process of technical solution of the present invention and to the beneficial effect that should be able to reach below in conjunction with each accompanying drawing, in each accompanying drawing:
Fig. 1 clicks the preceding archetype state synoptic diagram of control button;
Fig. 2 is the responsive state synoptic diagram of clicking behind the control button;
Fig. 3 is the method flow diagram of the present invention's realization based on the response modification control property;
Fig. 4 is for comprising triggering type that can trigger the control response events and the interface synoptic diagram of revising the control property option thereof in the embodiment of the invention one;
But Fig. 5 is for comprising the interface synoptic diagram of control and each attribute of control and correspondence editing mode property value thereof in the embodiment of the invention one;
Figure 6 shows that the comparison control property revise before and the property value of amended each attribute correspondence and filtering forbid being modified the method flow diagram of the attribute of property value;
Fig. 7 is the system architecture diagram of the present invention's realization based on the response modification control property;
Fig. 8 is at the system architecture diagram that increases on the system shown in Figure 7 after triggering the type display unit and triggering the class record unit;
Fig. 9 is the system architecture diagram after increasing by the first property value comparing unit on the system shown in Figure 8;
Figure 10 is the system architecture diagram after increasing by the second property value comparing unit on the system shown in Figure 8;
Figure 11 is a kind of system architecture diagram after increasing the property value filter element on the system shown in Figure 9;
Figure 12 is a kind of system architecture diagram after increasing the property value filter element on the system shown in Figure 10.
Embodiment
The present invention is by providing a kind of method based on the response modification control property, can satisfy the user and under visual environment, finish operation, thereby avoid in the past for finishing the problem of writing code based on the process need of response modification control property based on the response modification control property.
As shown in Figure 3, be the method flow diagram of the present invention's realization based on the response modification control property, its implementation procedure is as follows:
S101 revises the instruction of selected control property according to being used to of receiving, but the editing interface that will comprise this each attribute of selected control and property value shows; Wherein, be used to revise selected control property instruction can but be not limited to the operation of choosing selected control, or for choosing the operation of the anyon control that comprises in the selected control; In addition, but should can show this selected control to the software design user by editing interface, each attribute and the corresponding property value thereof that can also and then show this control, wherein but the property value zone of each attribute correspondence of Xian Shiing is in editing mode, software design user can be in the property value zone to the operation of making amendment of the property value of each attribute correspondence of this selected control.
S102, but when on editing interface, the property value of the respective attributes correspondence of this selected control being made amendment, the corresponding modify property value of record input; But be the software design personnel on the editing interface that shows, but can revise data at the corresponding property value of property value zone input that is under the editing mode, at this moment record can be carried out to the respective attributes that should select control with the modification property value of external world's input in the backstage.
S103 is receiving when being used to trigger the triggering command of this selected control response events, according to the modification property value of above-mentioned corresponding respective attributes record the corresponding attribute of this control is made amendment, and the control after the attribute modification is exported.The processing procedure of S101 to S102 is the process that background program need be carried out in software design procedure in the said process; And the S103 processing procedure here is after software design is finished, the final user uses the process that background program need be carried out in the software process, promptly when the final user uses the software that designs after finishing, obtain revising control behind the property value if want based on a response events, need issue a triggering command (as clicking control operation etc.) that is used to trigger the control response events, the backstage is when receiving this triggering command like this, can be according to the program that write originally, the property value that will write down at the corresponding respective attributes of this control, this control is carried out the attribute change to be handled, control after again the attribute change being handled is shown to the final user, its experience is exactly when triggering the response events of this control for the final user like this, and this control after the modification respective attributes will the form with response events show under triggering command.In the S101 of above-mentioned processing procedure, the backstage is after receiving the instruction that is used to revise selected control property, can also and then will comprise the interface of respectively triggering type that can trigger this selected control response events and show, and the extraneous triggering type of selecting in the type respectively triggering of this demonstration of record; Be the backstage receive be used to revise the instruction of selected control property after, also can give the software design user with comprising the interface display that respectively triggers type that can trigger this selected control response events, software design user can select one respectively triggering of demonstration and trigger type in the type, record just can be carried out with this triggering type that the software design user selects in the backstage, follow-up only when receiving the consistent triggering command of triggering type with this record, just thinking needs to trigger the response events of this control.Like this in the S103 of said process, the triggering command that receives extraneous input is that finger is received and extraneously triggered the operation of this selected control according to the triggering type of this record, and triggering type wherein includes but not limited to be single-click operation, double click operation or mouse move operation etc.
On the one hand, in order to improve the accuracy that selected control is revised, after the corresponding respective attributes of the modification property value of in above-mentioned S102 but the external world being imported on editing interface is noted, that can also and then will note respectively revises property value, compare with the property value that this control is carried out property value modification corresponding attribute before respectively, and the inconsistent property value of comparative result is re-used as the modification property value of record.Like this in S103, if, can make amendment to the corresponding attribute of this control according to the modification property value after this comparison process, and the control after the attribute modification is shown receiving when being used to trigger the triggering command of this selected control response events.So avoided software design user in process that the attribute of selected control is made amendment, the property value of certain attribute correspondence has been revised come to revise back again, and the backstage also will consider this modification item control is made amendment, thereby problem of resource is handled in waste.
On the other hand, after the corresponding respective attributes of the modification property value of in above-mentioned S102 but the external world being imported on editing interface is noted, can also be at this amended control, to comprise this modification property value of noting at interior each attribute and property value thereof, compare successively with each attribute and the property value thereof preserved respectively before this control modification property value, and with the modification property value of the inconsistent property value of comparative result as record.Thereby also can avoid the software design user in process that the attribute of selected control is made amendment, the property value modification of certain attribute correspondence is come to revise back again, and the backstage also will consider this modification item control is made amendment, so that problem of resource is handled in waste.
Based on above-mentioned processing procedure, can also be in the modification property value that finally is defined as writing down, filter out attribute and forbid the property value that is modified, promptly for some controls, some attribute is that system forbids revising, such as:
1, the attribute that acquires a special sense is such as Name (control title), Parent (the root control of control), Controls (control controlled attribute) etc.;
2, the attribute of some repetitions, such as Location (control position attribution), because the Left of control, the Top attribute just can be determined the position of control, so attribute Location can be filtered, and similarly also has the Size, Bounds attribute of control etc.;
3, some attributes that seldom use are such as DocumentSteam, the BingdingContext etc. of control;
Above-mentioned these attributes all can be used as the attribute that can filter out, and can make amendment to the corresponding attribute of this control according to the modification property value after comparison and the filtration treatment thereof in S103 like this, and the control after the attribute modification is shown.Filtration treatment wherein can be carried out for inconsistent attribute of comparative result and property value thereof after comparison process is finished; The attribute that can also revise to external world earlier before comparison process filters, and carries out comparison process again based on filter result; Can also whenever compare a property value difference in above-mentioned two kinds of manner of comparison implementations, whether the attribute of just judging this property value correspondence within the attribute filter list, if just filtering out, otherwise does not do filtration treatment.
Enumerating different embodiment below gives more specifically to set forth to the realization principle of said method of the present invention.
Embodiment one:
S201, with control shown in Figure 1 as selected control, software design user can issue the instruction that is used to revise this control property to the backstage by choosing this control shown in Figure 1 operation, can also issue the instruction that is used to revise this control property to the backstage by choosing child control (for example " change " button) operation that comprises in this control, according to receiving the instruction that is used to revise this selected control property that the software design user issues, give the software design user with interface display shown in Figure 4, comprise the triggering type option in this display interface, this triggering type refers to trigger the triggering type that this control response events is supported, comprise " clicking " " double-click " or the like option, wherein " click " and refer to by clicking this control or clicking the child control (as clicking " change " button) that comprises in this control and wait the response events that obtains this control, " double-click " refers to that selecting " clicking " mode wherein with the software design user here is that example illustrates as the triggering type that triggers this control response events by double-clicking this control or double-clicking the child control (as double-clicking " change " button) that comprises in this control and wait the response events that obtains this control.Comprise " modification control property " option in this display interface, software design user is after having selected the relative trigger type, can click this " modification control property " option, the backstage is after the instruction that receives software design user click " modification control property " option, give the software design user with interface display shown in Figure 5, in interface shown in Figure 5, comprise this selected control, and should select each attribute of control and the property value of correspondence, but wherein the property value zone of each attribute correspondence is in editing mode.Software design user can make amendment by the attribute to this control in this interface, concrete operations are that the input correlation attribute value gets final product in the property value zone of association attributes correspondence, present embodiment is an example with the forms text of revising this control here, and being specially the forms text attribute of this control is that Null revises that to become property value be " Hello world! by property value ".
";
S203, because the software design user is that the selected triggering type of response events of this control of triggering is " clicking " in above-mentioned S201, the final user is in using software process like this, can be according to the previously selected triggering type of software design personnel, click control as shown in Figure 1, the backstage will be after receiving this triggering command of clicking, confirm as extraneous the requirement this control is generated response events, just according to property value " Hello world! that should control forms text attribute record " then being shown to the final user based on response events, the final user just can see control state as shown in Figure 2 like this.
Present embodiment can also filter out attribute and forbid the property value that is modified in step S202, because the attribute of the modification property value correspondence that writes down among the step S202 is control forms text attributes, this attribute is not at the row of attribute filter list, so corresponding modification property value " Hello world! " also just can not be filtered.
Embodiment two
S301, with control shown in Figure 1 as selected control, software design user can issue the instruction that is used to revise this control property to the backstage by clicking this control shown in Figure 1 operation, can also issue the instruction that is used to revise this control property to the backstage by choosing child control (for example " change " button) operation that comprises in this control, present embodiment issues the instruction that is used to revise this control property by clicking child control " change " push-botton operation that comprises in this control to the backstage, after revising the instruction of this selected control property in being used to of receiving that the software design user issues, give the software design user with interface display shown in Figure 5, in interface shown in Figure 5, comprise this selected control, and should select each attribute of control and the property value of correspondence, it issues the instruction that is used to revise this control property to the backstage, after revising the instruction of this selected control property in being used to of receiving that the software design user issues, give the software design user with interface display shown in Figure 5, in interface shown in Figure 5, comprise this selected control, and should select each attribute of control and the property value of correspondence, but wherein the property value zone of each attribute correspondence is in editing mode.Software design user can make amendment by the attribute to this control in this interface, concrete operations are that the input correlation attribute value gets final product in the property value zone of association attributes correspondence, present embodiment is an example with the forms text of revising this control here, and being specially the forms text attribute of this control is that Null revises that to become property value be " Hello world! by property value ".
" at interior each attribute and property value thereof; compare successively with each attribute and the property value thereof that this control is revised before property value preserved respectively; whenever compare a property value difference; whether the attribute of just judging this property value correspondence is within the attribute filter list; if just filtering out; otherwise do not do filtration treatment, will filter the remaining property value in back at last as the modification property value that writes down.
Wherein, Figure 6 shows that the comparison control property revise before and the property value of amended each attribute correspondence and filtering forbid being modified the method flow diagram of the attribute of property value, its implementation procedure is as follows:
S3021: define a control property change reservoir, be called for short the change storer, and be initialized as Null;
Wherein change storer and comprise an object value and two arrays: object value is used for writing down the child control of this control that carried out attribute modification; An array is used to write down the Property Name that carried out attribute modification; Another array is used for the property value after the record modification.
S3022: obtain and revise preceding control and revise the back control, be designated as con1 and con2 respectively, read each child control that comprises among the con1 respectively, whenever read a child control and carry out following S3023;
S3023: from con2, find corresponding child control according to the current child control that reads;
S3024: read each attribute of current child control, whenever read an attribute and just carry out following S3025;
S3025: judge whether the current attribute that reads is the attribute of forbidding being modified property value, if carry out S3028; Otherwise carry out S3026;
S3026: whether this property value of corresponding child control is identical among the property value of the current attribute correspondence that relatively reads and the cont2, if carry out S3028; Otherwise carry out S3027;
S3027: the attribute and the amended property value of this correspondence child control among the cont2 and this child control thereof are added in the change storer;
S3028: judge whether the current attribute read is last attribute of this child control, if not, read next attribute of this child control after, return and continue to carry out S3025; Otherwise carry out S3029;
S3029: judge that whether current child control is last child control in the control, if not, in this control, read the next son control after, return and continue to carry out S3023, otherwise finish.
In the present embodiment, it is as shown in table 1 that control is revised property value each attribute and property value before:
Table 1: control is revised property value each attribute and property value before
Child control Attribute Property value
Forms 1 X 15
Forms 1 Y 15
Forms 1 W 280
Forms 1 H 187
Forms 1 Text Null
Button 1 X 90
Button 1 Y 80
Button 1 W 90
Button 1 H 10
Button 1 Text Change
Wherein, attribute X, Y represent the coordinate of child control, and attribute W, H represent the width and the height of child control, the title text of attribute " text " expression child control.
And it is as shown in table 2 that this control is revised property value each attribute and property value afterwards:
Table 2: this control is revised property value each attribute and property value afterwards
Child control Attribute Property value
Forms 1 X 15
Forms 1 Y 15
Forms 1 W 280
Forms 1 H 187
Forms 1 Text Hello world!
Button 1 X 90
Button 1 Y 80
Button 1 W 90
Child control Attribute Property value
Forms 1 X 15
Revise preceding and amended each attribute and property value by comparing control property one by one, can obtain before modification, reach and revise the pairing property value difference of text attribute of forms 1 afterwards, and the text attribute through judging these forms 1 is not within the attribute filter list, therefore prove that this attribute can be modified, so with the pairing property value of the text attribute of forms 1 " Hello world! " as the modification property value of final entry.
S303: the final user is in using software process, can click child control " change " button that comprises in the control as shown in Figure 1, the backstage will be after receiving this triggering command of clicking, confirm as the response events that the external world requires this control, just according to should control forms text attribute the property value " Helloworld! of record " then being shown to the final user based on response events, the final user just can see control state as shown in Figure 2 like this.
As shown in Figure 7, be the system architecture diagram of the present invention's realization based on the response modification control property, it comprises:
Command reception unit 100 is used to receive the instruction that is used to revise selected control property; Wherein be used to revise selected control property instruction can but be not limited to the operation of choosing selected control, or for choosing the operation of the anyon control that comprises in the selected control.
But property value editing interface display unit 110 is used for the instruction that receives according to command reception unit 100, but the editing interface that will comprise this each attribute of selected control and property value shows; But wherein should can show this selected control to the software design user by editing interface, each attribute and the corresponding property value thereof that can also and then show this control, wherein but the property value zone of each attribute correspondence of Xian Shiing is in editing mode, software design user can be in the property value zone to the operation of making amendment of the property value of each attribute correspondence of this selected control.
Revise property value record cell 120, but but when being used on the editing interface that property value editing interface display unit 110 shows the property value of the respective attributes correspondence of this selected control made amendment, the modification property value of record input; Be but that the software design personnel are on the editing interface that shows, but can revise data at the corresponding property value of property value zone input that is under the editing mode, at this moment revise property value record cell 120 and the modification property value of external world's input can be carried out record to the respective attributes that should select control.
Attribute modification unit 130 is used for receiving when being used to trigger the triggering command of this selected control response events, according to the modification property value of revising property value record cell 120 corresponding respective attributes records, the corresponding attribute of this control is made amendment;
Control output unit 140 is used for attribute modification unit 130 amended controls are exported.
As shown in Figure 8, on the basis of principle of work shown in Figure 7, trigger type display unit 150 command reception unit 100 receive be used to revise the instruction of selected control property after, can also give the software design user with comprising the interface display that respectively triggers type that can trigger this selected control response events, software design user can select one respectively triggering of demonstration and trigger type in the type, trigger class record unit 160 and just this triggering type that the software design user selects can be carried out record, only when receiving the triggering command consistent with the triggering type that triggers class record unit 160 records, just thinking needs to trigger the response events of this control in follow-up attribute modification unit 130.The triggering command of the extraneous input of attribute modification unit 130 receptions is that finger receives extraneous according to triggering the operation that the triggering type that writes down class record unit 160 triggers this selected control like this, and triggering type wherein includes but not limited to be single-click operation, double click operation or mouse move operation etc.
As shown in Figure 9, be the system architecture diagram after increasing by the first property value comparing unit on the system shown in Figure 8, after but above-mentioned modification property value record cell 120 is imported the external world on editing interface the corresponding respective attributes of modification property value is noted, and then respectively revise property value by what the first property value comparing unit 170 will be revised property value record cell 120 record, compare with this control being carried out the corresponding property value of property value before revising respectively, revise property value record cell 120 with the inconsistent property value of the first property value comparing unit, 170 comparative results again as the modification property value of self record.Attribute modification unit 130 is if receiving when being used to trigger the triggering command of this selected control response events like this, can be according to after the first property value comparing unit, 170 comparison process, revise the modification property value of property value record cell 120 records the corresponding attribute of this control is made amendment, and the control after the attribute modification is exported by control output unit 140.
As shown in figure 10, be the system architecture diagram after increasing by the second property value comparing unit on the system shown in Figure 8, be to have replaced the first property value comparing unit 170 with the system shown in Figure 9 difference with the second property value comparing unit 180, the second property value comparing unit 180 is at this amended control, to comprise and revise modification property value that property value record cell 120 notes at interior each attribute and property value thereof, compare successively with each attribute and the property value thereof preserved respectively, revise the modification property value that property value record cell 120 writes down the inconsistent property value of the second property value comparing unit, 180 comparative results again as self before this control modification property value.
As shown in figure 11, be a kind of system architecture diagram after increasing the property value filter element on the system shown in Figure 9, wherein property value filter element 190 carries out filtration treatment for the inconsistent property value of comparative result after the first property value comparing unit, 170 comparison process are finished, filter out with property value, and the property value after will filtering deposits modification property value record cell 120 in as revising property value record cells 120 property value of record again some unchangeable attribute correspondences; As shown in figure 12, be a kind of system architecture diagram after increasing the property value filter element on the system shown in Figure 10, wherein property value filter element 190 is after the second property value comparing unit, 180 comparison process are finished, filter out with property value some unchangeable attribute correspondences, carry out filtration treatment for the inconsistent property value of comparative result, and the property value after will filtering deposits modification property value record cell 120 in as revising property value record cells 120 property value of record again.
In addition, the property value that can also revise to external world earlier before comparison process filters, and based on the filter result of property value filter element 190, carries out the property value comparison process based on the first property value comparing unit 170 or the second property value comparing unit 180 again; Certainly can also carry out in the comparison process at the above-mentioned first property value comparing unit 170 or the second property value comparing unit 180, whenever comparing a property value not simultaneously, just judge that by property value filter element 190 attribute of this property value correspondence is whether within the attribute filter list, if just filtering out, otherwise do not do filtration treatment.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (12)

1. the method based on the response modification control property is characterized in that, comprises step:
Revise the instruction of selected control property according to being used to of receiving, but the editing interface that will comprise this each attribute of selected control and property value shows;
But when on editing interface, the property value of the respective attributes correspondence of this selected control being made amendment, the modification property value of record input;
Receiving when being used to trigger the triggering command of this selected control response events, the corresponding attribute of this control is being made amendment according to the modification property value of corresponding respective attributes record;
The amended control of output attribute.
2. the method for claim 1 is characterized in that, the described instruction that is used to revise selected control property is the operation of choosing control.
3. the method for claim 1 is characterized in that, the described instruction that is used for revising selected control property is the operation of choosing the child control that control comprises.
4. the method for claim 1 is characterized in that, also comprises step:
Receive be used to revise the instruction of control property after, will comprise the interface of respectively triggering type that can trigger this selected control response events and show, and
The extraneous triggering type of selecting in the type respectively triggering of this demonstration of record;
The described triggering command that receives is the triggering command based on the triggering type of described selection.
5. the method for claim 1 is characterized in that, also comprises step:
With described record respectively revise property value, compare with this control being carried out the corresponding property value of property value before revising respectively, and
With the modification property value of the inconsistent property value of comparative result as record.
6. the method for claim 1 is characterized in that, also comprises step:
At the control behind the modification property value, the modification property value that will comprise record compares with each attribute and the property value thereof to before this control modification property value preserved respectively successively at interior each attribute and property value thereof, and
With the modification property value of the inconsistent property value of comparative result as record.
7. as claim 1,5 or 6 described methods, it is characterized in that, also comprise step:
In the modification property value of described record, filter out attribute and forbid the property value that is modified, and
With the modification property value of the property value after the filtration treatment as record.
8. the system based on the response modification control property is characterized in that, comprising:
The command reception unit is used to receive the instruction that is used to revise selected control property;
But property value editing interface display unit is used for the instruction that receives according to the command reception unit, but the editing interface that will comprise this each attribute of selected control and property value shows;
Revise the property value record cell, but when being used on editing interface the property value of the respective attributes correspondence of this selected control made amendment, the modification property value of record input;
The attribute modification unit is used for receiving when being used to trigger the triggering command of this selected control response events, according to the modification property value of revising the corresponding respective attributes record of property value record cell, the corresponding attribute of this control is made amendment;
The control output unit is used for the amended control of output attribute.
9. system as claimed in claim 8 is characterized in that, also comprises:
Trigger the type display unit, be used for the command reception unit receive be used to revise the instruction of control property after, will comprise the interface of respectively triggering type that can trigger this selected control response events and show;
Trigger the class record unit, be used for writing down and extraneously respectively trigger the triggering type that type is selected in this demonstration;
The triggering command that described attribute modification unit receives is used to trigger this selected control response events is the triggering command based on the triggering type that triggers the class record unit record.
10. system as claimed in claim 8 is characterized in that, also comprises:
The first property value comparing unit is used for respectively revising property value with what revise the property value recording unit records, respectively with this control is carried out the corresponding property value of property value before revising and compares;
Revise the property value record cell with the modification property value of the inconsistent property value of the first property value comparing unit comparative result as self record.
11. system as claimed in claim 8 is characterized in that, also comprises:
The second property value comparing unit, be used at the control behind the modification property value, the modification property value that will comprise record compares with each attribute and the property value thereof to before this control modification property value preserved respectively successively at interior each attribute and property value thereof;
Revise the property value record cell with the modification property value of the inconsistent property value of the second property value comparing unit comparative result as self record.
12. as claim 8,10 or 11 described systems, it is characterized in that, also comprise:
The property value filter element is used for filtering out attribute at the modification property value of revising the property value recording unit records and forbids the property value that is modified;
Revising the property value record cell will be through the modification property value of the property value after the property value filter element filtration treatment as self record.
CNA2007101124764A 2007-06-28 2007-06-28 Method and device for modifying control property based on response Pending CN101178650A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2007101124764A CN101178650A (en) 2007-06-28 2007-06-28 Method and device for modifying control property based on response

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2007101124764A CN101178650A (en) 2007-06-28 2007-06-28 Method and device for modifying control property based on response

Publications (1)

Publication Number Publication Date
CN101178650A true CN101178650A (en) 2008-05-14

Family

ID=39404914

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2007101124764A Pending CN101178650A (en) 2007-06-28 2007-06-28 Method and device for modifying control property based on response

Country Status (1)

Country Link
CN (1) CN101178650A (en)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102004633A (en) * 2009-09-03 2011-04-06 阿里巴巴集团控股有限公司 Method and device for processing control property
CN102654829A (en) * 2011-03-01 2012-09-05 中兴通讯股份有限公司 Recorded attribute modification method and device
CN101702126B (en) * 2009-12-04 2012-11-28 金蝶软件(中国)有限公司 Graphical interface editing method and device thereof
CN102968511A (en) * 2012-12-21 2013-03-13 曙光信息产业(北京)有限公司 Line treatment method and device used for circuit design
CN103810346A (en) * 2014-02-27 2014-05-21 山东超越数控电子有限公司 Method for checking part height restrictions through ALLEGRO software
CN104102795A (en) * 2014-08-08 2014-10-15 浪潮集团有限公司 Method for changing specific wire widths of wiring layer in Allegro software
CN106855798A (en) * 2015-12-09 2017-06-16 阿里巴巴集团控股有限公司 A kind of method to set up of interface element property value, device and smart machine
CN107301039A (en) * 2016-04-15 2017-10-27 习得智交互软件开发公司 Prototyping methods and its device
CN107391096A (en) * 2016-05-17 2017-11-24 习得智交互软件开发公司 Prototyping methods
CN108268293A (en) * 2016-12-29 2018-07-10 广东中科遥感技术有限公司 The method of mobile APP rapid prototypings demonstration
CN109885297A (en) * 2019-01-31 2019-06-14 成都摹客科技有限公司 A kind of method of the component interaction target selection of prototype tool
CN110795085A (en) * 2019-10-18 2020-02-14 北京网聘咨询有限公司 Mobile application visual editing method and tool
CN112346961A (en) * 2019-08-08 2021-02-09 北京车和家信息技术有限公司 Debugging method and device for client
CN112866474A (en) * 2021-04-12 2021-05-28 珠海市魅族科技有限公司 Short message management method and device and readable storage medium
CN113377366A (en) * 2021-07-09 2021-09-10 北京字跳网络技术有限公司 Control editing method, device, equipment, readable storage medium and product
CN113407276A (en) * 2021-06-17 2021-09-17 北京沃东天骏信息技术有限公司 Information processing method, device, equipment and storage medium

Cited By (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102004633B (en) * 2009-09-03 2013-04-24 阿里巴巴集团控股有限公司 Method and device for processing control property
CN102004633A (en) * 2009-09-03 2011-04-06 阿里巴巴集团控股有限公司 Method and device for processing control property
CN101702126B (en) * 2009-12-04 2012-11-28 金蝶软件(中国)有限公司 Graphical interface editing method and device thereof
CN102654829B (en) * 2011-03-01 2015-08-12 中兴通讯股份有限公司 Record attribute amending method and device
CN102654829A (en) * 2011-03-01 2012-09-05 中兴通讯股份有限公司 Recorded attribute modification method and device
CN102968511A (en) * 2012-12-21 2013-03-13 曙光信息产业(北京)有限公司 Line treatment method and device used for circuit design
CN103810346A (en) * 2014-02-27 2014-05-21 山东超越数控电子有限公司 Method for checking part height restrictions through ALLEGRO software
CN104102795A (en) * 2014-08-08 2014-10-15 浪潮集团有限公司 Method for changing specific wire widths of wiring layer in Allegro software
CN106855798A (en) * 2015-12-09 2017-06-16 阿里巴巴集团控股有限公司 A kind of method to set up of interface element property value, device and smart machine
CN107301039A (en) * 2016-04-15 2017-10-27 习得智交互软件开发公司 Prototyping methods and its device
CN107301039B (en) * 2016-04-15 2021-11-23 习得智交互软件开发公司 Prototype manufacturing method and device
CN107391096A (en) * 2016-05-17 2017-11-24 习得智交互软件开发公司 Prototyping methods
CN107391096B (en) * 2016-05-17 2021-02-02 习得智交互软件开发公司 Prototype manufacturing method
CN108268293A (en) * 2016-12-29 2018-07-10 广东中科遥感技术有限公司 The method of mobile APP rapid prototypings demonstration
CN108268293B (en) * 2016-12-29 2021-11-02 广东中科遥感技术有限公司 Method for demonstrating rapid prototype of mobile APP
CN109885297A (en) * 2019-01-31 2019-06-14 成都摹客科技有限公司 A kind of method of the component interaction target selection of prototype tool
CN109885297B (en) * 2019-01-31 2022-07-12 成都摹客科技有限公司 Method for selecting component interaction target of prototype design tool
CN112346961A (en) * 2019-08-08 2021-02-09 北京车和家信息技术有限公司 Debugging method and device for client
CN112346961B (en) * 2019-08-08 2024-05-07 北京车和家信息技术有限公司 Method and device for debugging client
CN110795085A (en) * 2019-10-18 2020-02-14 北京网聘咨询有限公司 Mobile application visual editing method and tool
CN112866474A (en) * 2021-04-12 2021-05-28 珠海市魅族科技有限公司 Short message management method and device and readable storage medium
CN112866474B (en) * 2021-04-12 2024-09-10 珠海市魅族科技有限公司 Short message management method and device, electronic equipment and readable storage medium
CN113407276A (en) * 2021-06-17 2021-09-17 北京沃东天骏信息技术有限公司 Information processing method, device, equipment and storage medium
CN113377366A (en) * 2021-07-09 2021-09-10 北京字跳网络技术有限公司 Control editing method, device, equipment, readable storage medium and product
WO2023279914A1 (en) * 2021-07-09 2023-01-12 北京字跳网络技术有限公司 Control editing method and apparatus, device, readable storage medium, and product
CN113377366B (en) * 2021-07-09 2024-03-12 北京字跳网络技术有限公司 Control editing method, device, equipment, readable storage medium and product

Similar Documents

Publication Publication Date Title
CN101178650A (en) Method and device for modifying control property based on response
JP5252767B2 (en) System and method for object creation in an object hierarchy
KR101794373B1 (en) Temporary formatting and charting of selected data
CN100481001C (en) Interface automatic forming method and interface automatic forming system
Pawson et al. Naked objects
JP4505069B2 (en) Freeform graphics system and method of operating a freeform graphics system
JP4315508B2 (en) Freeform graphics system and method of operating a freeform graphics system
EP2388692B1 (en) In-place user interface and dataflow modeling
JP4420968B2 (en) Method and computer-readable medium for commanding
US20230368144A1 (en) Online collaboration platform
KR101811464B1 (en) Spin control user interface for selecting options
US9448705B2 (en) Configuring graphical displays
US8386919B2 (en) System for displaying an annotated programming file
US5802334A (en) Method for displaying object oriented class information and content information
KR20080042885A (en) Browse mode designer
US20110099498A1 (en) Graphical user interface hierarchy generation
CN105247470A (en) Multiple displays for displaying workspaces
CN104142782A (en) System and method for annotations
US20040153971A1 (en) System and method for checking and resolving publication design problems
CN114564252A (en) Event configuration method, system, equipment and medium for low-code platform
CN111666100B (en) Software framework generation method and device, electronic equipment and storage medium
US20080155431A1 (en) User interface supporting processes with alternative paths
CN110688109A (en) Model editing system and creation method thereof
CN114518822A (en) Application icon management method and device and electronic equipment
CN112632930B (en) Table data control method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Open date: 20080514