Summary of the invention
Embodiments provide the control method of a kind of even numbers value control, solve existing control behaviour
Making the independent mode of operation of mode, all of mode of operation can not be contained, caused is functional
Disappearance and the low technical problem of experience property.
The control method of a kind of even numbers value control that the embodiment of the present invention provides, including:
Judge that the regulating command obtained belongs to transverse axis regulating command or longitudinal axis regulating command, if described horizontal stroke
Axle regulating command, then trigger the judgement step of transverse axis regulating command type, if described longitudinal axis regulating command,
Then trigger the judgement step of longitudinal axis regulating command type;
The judgement step of described transverse axis regulating command type includes:
Judge the transverse axis regulating command type obtained, if transverse axis increase and decrease instruction, then carry out and described transverse axis
The operation that increase and decrease instruction is corresponding, to determine described new control value, if transverse axis instruction textual value instruction,
The most directly carry out the operation corresponding with described transverse axis instruction textual value, to determine described new control value;
The judgement step of described longitudinal axis regulating command type includes:
Judge the longitudinal axis regulating command type obtained, if longitudinal axis increase and decrease instruction, then carry out and the described longitudinal axis
The operation that increase and decrease instruction is corresponding, to determine described new control value, if longitudinal axis instruction textual value instruction,
The most directly carry out the operation corresponding with described longitudinal axis instruction textual value, to determine described new control value;
Carry out corresponding even numbers value control interfaces according to described new control value to refresh.
Preferably, if transverse axis increase and decrease instruction, then the operation corresponding with the increase and decrease instruction of described transverse axis is carried out
Specifically include:
If transverse axis increase and decrease instruction, then the increase and decrease instruction of described transverse axis is confirmed, if transverse axis increase and decrease is pressed
Button instructs, then perform the operation corresponding with described transverse axis increase and decrease button commands, if transverse axis boost line is touched
Send instructions, then perform the operation corresponding with described transverse axis boost line triggering command, if the first vernier touches
Send instructions, then perform the operation corresponding with described vernier triggering command;
Wherein, the operating procedure that described first vernier triggering command is corresponding includes:
S1: extract and trigger after vernier, the transverse axis coordinate figure that position that described vernier stops is corresponding;
S2: the transverse axis adjustable extent of described transverse axis coordinate figure Yu control is carried out the first preset mode calculating,
To determine new control value.
Preferably, if longitudinal axis increase and decrease instruction, then the operation corresponding with the increase and decrease instruction of the described longitudinal axis is carried out
Specifically include:
If longitudinal axis increase and decrease instruction, then the increase and decrease instruction of the described longitudinal axis is confirmed, if longitudinal axis increase and decrease is pressed
Button instructs, then perform the operation corresponding with described longitudinal axis increase and decrease button commands, if longitudinal axis boost line is touched
Send instructions, then perform the operation corresponding with described longitudinal axis boost line triggering command, if the second vernier touches
Send instructions, then perform the operation corresponding with described second vernier triggering command;
Wherein, the operating procedure that described second vernier triggering command is corresponding includes:
S3: extract and trigger after vernier, the ordinate of orthogonal axes value that position that described vernier stops is corresponding;
S4: the longitudinal axis adjustable extent of described ordinate of orthogonal axes value Yu control is carried out the second preset mode calculating,
To determine new control value.
Preferably, perform the operation corresponding with described transverse axis increase and decrease button commands to specifically include:
If transverse axis increases button commands, then judge transverse axis regulated variable and transverse axis currency and the most not
More than control transverse axis maximum, the most then by described transverse axis regulated variable and described transverse axis currency and
It is set to described new control value;
Or
If transverse axis reduces button commands, then judge described transverse axis currency and described transverse axis regulated variable
Whether difference not less than control transverse axis minima, the most then regulates described transverse axis currency with described transverse axis
The difference of variable is set to described new control value.
Preferably, perform the operation corresponding with described longitudinal axis increase and decrease button commands to specifically include:
If the longitudinal axis increases button commands, then judge longitudinal axis regulated variable and longitudinal axis currency and the most not
More than control longitudinal axis maximum, the most then by described longitudinal axis regulated variable and described longitudinal axis currency and
It is set to described new control value;
Or
If the longitudinal axis reduces button commands, then judge described longitudinal axis currency and described longitudinal axis regulated variable
Whether difference not less than control longitudinal axis minima, the most then regulates described longitudinal axis currency with the described longitudinal axis
The difference of variable is set to described new control value.
Preferably, perform the operation corresponding with described transverse axis boost line triggering command to specifically include:
Extracting after triggering described transverse axis boost line, mouse is based on the transverse axis corresponding to described transverse axis boost line
Coordinate figure;
According to described transverse axis coordinate figure, perform the operation consistent with step S2.
Preferably, perform the operation corresponding with described longitudinal axis boost line triggering command to specifically include:
Extracting after triggering described longitudinal axis boost line, mouse is based on the longitudinal axis corresponding to described longitudinal axis boost line
Coordinate figure;
According to described ordinate of orthogonal axes value, perform the operation consistent with step S4.
Preferably, the described operation directly carrying out indicating textual value corresponding with described transverse axis, to determine
State new control value to specifically include:
Judge described transverse axis instruction textual value whether be more than control transverse axis maximum, the most then arrange by
Described control transverse axis maximum is set to described new control value, if it is not, then judge that described transverse axis indicates text
Whether value is less than control transverse axis minima, the most described control transverse axis minima be set to described
New control value, if it is not, be then set to described new control value by described transverse axis instruction textual value.
Preferably, the described operation directly carrying out indicating textual value corresponding with the described longitudinal axis, to determine
State new control value to specifically include:
Judge described transverse axis instruction textual value whether be more than control longitudinal axis maximum, the most then arrange by
Described control longitudinal axis maximum is set to described new control value, if it is not, then judge that the described longitudinal axis indicates text
Whether value is less than control longitudinal axis minima, the most described control longitudinal axis minima be set to described
New control value, if it is not, be then set to described new control value by described longitudinal axis instruction textual value.
Preferably, carry out corresponding even numbers value control interfaces refreshing according to described new control value to specifically include:
According to entrusting event response mechanism to monitor described new control value, and carry out phase according to described new control value
Corresponding even numbers value control interfaces refreshes.
As can be seen from the above technical solutions, the embodiment of the present invention has the advantage that
Embodiments providing the control method of a kind of even numbers value control, wherein, control method includes:
The regulating command obtained belongs to transverse axis regulating command or longitudinal axis regulating command, if transverse axis regulating command,
Then trigger the judgement step of transverse axis regulating command type, if longitudinal axis regulating command, then trigger longitudinal axis regulation
The judgement step of instruction type;The judgement step of transverse axis regulating command type includes: judge the transverse axis obtained
Regulating command type, if transverse axis increase and decrease instruction, then carries out the operation corresponding with transverse axis increase and decrease instruction,
To determine new control value, if transverse axis instruction textual value instruction, the most directly carry out indicating textual value with transverse axis
Corresponding operation, to determine new control value;The judgement step of longitudinal axis regulating command type includes: judge
The longitudinal axis regulating command type obtained, if longitudinal axis increase and decrease instruction, then carries out relative with longitudinal axis increase and decrease instruction
The operation answered, to determine new control value, if longitudinal axis instruction textual value instruction, is the most directly carried out and the longitudinal axis
The operation that instruction textual value is corresponding, to determine new control value;Carry out corresponding double according to new control value
Numerical value control interfaces refreshes.In the present embodiment, belong to transverse axis regulating command by the regulating command first obtained
Or longitudinal axis regulating command, if transverse axis regulating command, then triggers the judgement step of transverse axis regulating command type
Suddenly, if longitudinal axis regulating command, then trigger the judgement step of longitudinal axis regulating command type, and according to judgement
Result carries out corresponding operation, to determine new control value, refreshes even numbers value control further according to new control value
Interface, just achieves and integrated for control increase and decrease operation and textual value is indicated operation, and combine horizontally and vertically
The fusion of regulation in an even numbers value control, solve the independent behaviour of existing control mode of operation
Making mode, all of mode of operation can not be contained, the functional disappearance caused and experience property are low
Under technical problem.
Detailed description of the invention
Embodiments provide the control method of a kind of even numbers value control, solve existing control behaviour
Making the independent mode of operation of mode, all of mode of operation can not be contained, caused is functional
Disappearance and the low technical problem of experience property.
For making the goal of the invention of the present invention, feature, the advantage can be the most obvious and understandable, below will
In conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Ground describes, it is clear that the embodiments described below are only a part of embodiment of the present invention, and not all
Embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art are not making creativeness
The all other embodiments obtained under work premise, broadly fall into the scope of protection of the invention.
Refer to Fig. 1, a reality of the control method of a kind of even numbers value control provided in the embodiment of the present invention
Execute example to include:
101, judge that the regulating command obtained belongs to transverse axis regulating command or longitudinal axis regulating command, if horizontal
Axle regulating command, then perform step 102, if longitudinal axis regulating command, then performs step 105;
In the present embodiment, when needs are adjusted by even numbers value control, it is judged that the regulating command of acquisition
Belong to transverse axis regulating command or longitudinal axis regulating command, if transverse axis regulating command, then perform step 102,
If longitudinal axis regulating command, then perform step 105.
102, judge the transverse axis regulating command type obtained, if transverse axis increase and decrease instruction, then perform step 103,
If transverse axis instruction textual value instruction, then perform step 104;
When judging that the regulating command obtained belongs to transverse axis regulating command or longitudinal axis regulating command is transverse axis regulation
During instruction, then judge the transverse axis regulating command type obtained, if transverse axis increase and decrease instruction, then perform step
103, if transverse axis instruction textual value instruction, then perform step 104.
103, the operation corresponding with transverse axis increase and decrease instruction is carried out, to determine new control value;
When judging that the transverse axis regulating command type obtained is transverse axis increase and decrease instruction, then carry out increasing and decreasing with transverse axis
Instruct corresponding operation, to determine new control value.
104, the operation corresponding with transverse axis instruction textual value is directly carried out, to determine new control value;
When judging the transverse axis regulating command type obtained as instruction textual value instruction, the most directly carry out with horizontal
The operation that axle instruction textual value is corresponding, to determine new control value.
105, judge the longitudinal axis regulating command type obtained, if longitudinal axis increase and decrease instruction, then perform step 106,
If longitudinal axis instruction textual value instruction, then perform step 107;
When judging that the regulating command obtained belongs to longitudinal axis regulating command or longitudinal axis regulating command is longitudinal axis regulation
During instruction, then judge the longitudinal axis regulating command type obtained, if longitudinal axis increase and decrease instruction, then perform step
106, if longitudinal axis instruction textual value instruction, then perform step 107.
106, the operation corresponding with longitudinal axis increase and decrease instruction is carried out, to determine new control value;
When judging that the longitudinal axis regulating command type obtained is longitudinal axis increase and decrease instruction, then carry out increasing and decreasing with the longitudinal axis
Instruct corresponding operation, to determine new control value.
107, the operation corresponding with longitudinal axis instruction textual value is directly carried out, to determine new control value;
When judging the longitudinal axis regulating command type obtained as instruction textual value instruction, the most directly carry out with vertical
The operation that axle instruction textual value is corresponding, to determine new control value.
108, carry out corresponding even numbers value control interfaces according to new control value to refresh.
When the operation that the increase and decrease instruction of the carrying out in step 103 and transverse axis is corresponding, with determine new control value and
Directly carrying out and transverse axis instruction textual value corresponding operation in step 104, with determine new control value it
After, need to carry out corresponding even numbers value control interfaces according to new control value and refresh, aforesaid even numbers value control
The refreshing of part interface can be that the numerical value of transverse axis refreshes.
Or, when the operation that the carrying out in step 106 is corresponding with longitudinal axis increase and decrease instruction, to determine new control
Value and the operation directly carrying out indicating textual value corresponding with the longitudinal axis in step 107, to determine new control
After value, need to carry out corresponding even numbers value control interfaces according to new control value and refresh, aforesaid even numbers
The refreshing of value control interfaces can be that the numerical value of the longitudinal axis refreshes.
Refresh it is understood that aforesaid basis new control value carries out corresponding even numbers value control interfaces
Can be to carry out corresponding even numbers value control interfaces refreshing to according to new control value in real time, in other words be
For the generation of new control value, then carry out an interface and refresh, specifically do not limit herein.
It should be noted that in the present embodiment, need to set up corresponding control before aforesaid step 101
Part, sets up process as follows:
Firstly, it is necessary to control is loaded, set up and increase and decrease, with transverse axis and the longitudinal axis, the regulation that instruction is corresponding
Module, then generates the text box indicating text instruction corresponding with transverse axis and the longitudinal axis, based on subsequent implementation
Example sets up description by carrying out control further, and here is omitted.
In the present embodiment, belong to transverse axis regulating command by the regulating command first obtained or longitudinal axis regulation refers to
Order, if transverse axis regulating command, then triggers the judgement step of transverse axis regulating command type, if the longitudinal axis is adjusted
Joint instruction, then trigger the judgement step of longitudinal axis regulating command type, and carry out corresponding according to judged result
Operation, to determine new control value, further according to new control value refresh even numbers value control interfaces, just achieve
Integrated for control increase and decrease operation and textual value are indicated operation, and the fusion combining regulation horizontally and vertically exists
In one even numbers value control, solve the independent mode of operation of existing control mode of operation, can not
All of mode of operation is contained, the functional disappearance caused and the low technical problem of experience property.
The above is that the process of the control method to even numbers value control is described in detail, below will be to specifically
Judge process be described in detail, in actual applications judge after be divided into transverse axis regulating command and the longitudinal axis
Regulating command, is described in detail separately below.
One, transverse axis regulating command;
Refer to Fig. 2, another of control method of a kind of even numbers value control provided in the embodiment of the present invention
Embodiment includes:
201, judge that the regulating command obtained belongs to transverse axis regulating command or longitudinal axis regulating command, if horizontal
Axle regulating command, then perform step 202;
In the present embodiment, when needs are adjusted by even numbers value control, it is judged that the regulating command of acquisition
Belong to transverse axis regulating command or longitudinal axis regulating command, if transverse axis regulating command, then perform step 202.
202, judge the transverse axis regulating command type obtained, if transverse axis increase and decrease instruction, then perform step 203,
If transverse axis instruction textual value instruction, then perform step 207;
In the present embodiment, when judging that the regulating command obtained belongs to transverse axis regulating command or longitudinal axis regulation refers to
When order is for transverse axis regulating command, it is judged that the transverse axis regulating command type of acquisition, if transverse axis increase and decrease instruction,
Then perform step 203, if transverse axis instruction textual value instruction, then perform step 207.
It should be noted that the aforesaid regulating command type judging to obtain will be carried out in subsequent embodiment
Detailed description, the most just repeats no more.
203, transverse axis increase and decrease instruction is confirmed, if transverse axis increase and decrease button commands, then performs step 204,
If transverse axis boost line triggering command, then perform step 205, if the first vernier triggering command, then perform
Step 206;
When judging the transverse axis regulating command type obtained as increase and decrease instruction, then transverse axis increase and decrease instruction is carried out
Confirm, if transverse axis increase and decrease button commands, then perform step 205, if transverse axis boost line triggering command,
Then perform step 206, if the first vernier triggering command, then perform step 206.
204, the operation corresponding with transverse axis increase and decrease button commands is performed;
When confirming as increasing and decreasing button commands to transverse axis increase and decrease instruction, need to judge that transverse axis increases and decreases button
Instruction, if transverse axis increases button commands, then judge transverse axis regulated variable and transverse axis currency and whether
Be not more than control transverse axis maximum, the most then by transverse axis regulated variable and transverse axis currency and be set to
New control value;Or
If transverse axis reduces button commands, then judge the difference of transverse axis currency and transverse axis regulated variable the most not
Less than control transverse axis minima, the most then the difference of transverse axis currency Yu transverse axis regulated variable is set to newly
Control value.
Aforesaid judgement transverse axis regulated variable and transverse axis currency and be not no more than control transverse axis maximum
Or the difference of currency and transverse axis regulated variable is not when be no less than control transverse axis minima, then new control
Value is control transverse axis maximum or control transverse axis minima.
205, the operation corresponding with transverse axis boost line triggering command is performed;
When judging that the transverse axis regulating command type obtained is transverse axis boost line triggering command, then extract triggering
After transverse axis boost line, mouse, based on the transverse axis coordinate figure corresponding to transverse axis boost line, is sat further according to transverse axis
Scale value, performs the operation consistent with follow-up step S2, it should be noted that aforesaid transverse axis coordinate figure
Can be to be determined in a certain corresponding pixel points at interface according to coordinate, can be abscissa value, herein
Specifically do not limit.
206, the operation corresponding with the first vernier triggering command is performed;
When judging that the transverse axis regulating command type obtained is the first vernier triggering command, then perform and first
The operation that vernier triggering command is corresponding.
It should be noted that as shown in Figure 4, the operation step that aforesaid first vernier triggering command is corresponding
Suddenly include:
S1: extract and trigger after vernier, the transverse axis coordinate figure that position that vernier stops is corresponding;
Aforesaid transverse axis coordinate figure can be to be determined in a certain corresponding pixel points at interface according to vernier,
Can be abscissa value, specifically not limit herein.
S2: the transverse axis adjustable extent of transverse axis coordinate figure Yu control is carried out preset mode calculating, to determine
New control value.
After extracting the corresponding transverse axis coordinate figure in position that vernier stops, needing by transverse axis coordinate figure with
The transverse axis adjustable extent of control carries out the first preset mode calculating, to determine new control value, aforesaid pre-
The mode of putting can be the x coordinate/chassis width * (xMax-xMin) of vernier, it is to be understood that front
The chassis width stated can be the Pixel Information between the transverse axis end points that two dimensional surface interface is corresponding and control
The product of the difference of part transverse axis maximum and transverse axis minima.
207, judge whether transverse axis instruction textual value is more than control transverse axis maximum, if it is not, then perform step
Rapid 208, the most then arrange and described control transverse axis maximum is set to described new control value;
Whether it is more than control transverse axis maximum when judging transverse axis instruction textual value, if it is not, then perform step
208, the most then arrange and described control transverse axis maximum is set to described new control value.
208, judge whether described longitudinal axis instruction textual value is less than control longitudinal axis minima, the most then will
Described control longitudinal axis minima is set to described new control value, if it is not, then perform step 209;
When judging that transverse axis instruction textual value not as more than control transverse axis maximum, then judges that the described longitudinal axis indicates
Whether textual value is less than control longitudinal axis minima, the most described control longitudinal axis minima be set to
Described new control value, if it is not, then perform step 209.
209, transverse axis indicate textual value be set to new control value;
After judging that transverse axis instruction textual value is as less than control transverse axis minima, then transverse axis is indicated text
Value is set to new control value, such as transverse axis text box and passes through first to obtain focus, and arranging transverse axis text is can be defeated
Enter state, extract the transverse axis instruction textual value inputted after determining, determine that transverse axis text box loses focus,
And determine that this transverse axis instruction textual value is new control value.
210, according to entrusting event response mechanism to monitor new control value, and carry out corresponding according to new control value
Even numbers value control interfaces refresh.
The operation that carrying out in step 203 is to 206 is corresponding with transverse axis increase and decrease instruction, to determine new control
Part value and the operation directly carrying out indicating textual value corresponding with transverse axis in step 207 to 209, with really
After fixed new control value, need according to entrusting event response mechanism to monitor new control value, and according to new control
Value carries out corresponding even numbers value control interfaces and refreshes.
Refresh it is understood that aforesaid basis new control value carries out corresponding even numbers value control interfaces
Can be to carry out corresponding even numbers value control interfaces refreshing to according to new control value in real time, in other words be
For the generation of new control value, then carry out an interface and refresh, specifically do not limit herein.
It should be noted that in the present embodiment, need to set up corresponding control before aforesaid step 201
Part, sets up process as follows:
Firstly, it is necessary to loaded by control, set up the transverse axis regulation mould corresponding with transverse axis increase and decrease instruction
Block, this transverse axis adjustment module includes transverse axis and reduces the transverse axis minimizing button that button commands is corresponding, transverse axis
Increasing the corresponding transverse axis of button commands and increase button, the corresponding transverse axis of transverse axis boost line triggering command is auxiliary
The vernier that index contour is corresponding with vernier triggering command, this vernier can be in intersection horizontally and vertically,
Then the transverse axis text box indicating text instruction corresponding with transverse axis is generated.
In the present embodiment, by first judging the regulating command type obtained, carry out relatively according to judged result
The operation answered, to determine new control value, refreshes even numbers value control interfaces further according to new control value, just realizes
Integrated for control increase and decrease operation and textual value are indicated being integrated in an even numbers value control of operation, solves
The independent mode of operation of existing control mode of operation, can not contain all of mode of operation,
The functional disappearance caused and the low technical problem of experience property, and transverse axis increase and decrease instruction comprised
There are transverse axis increase and decrease button commands, transverse axis boost line triggering command and the design of the first vernier triggering command, greatly
The earth improves the experience property of control regulation.
Two, longitudinal axis regulating command;
Refer to Fig. 3, another of control method of a kind of even numbers value control provided in the embodiment of the present invention
Embodiment includes:
301, judge that the regulating command obtained belongs to longitudinal axis regulating command or longitudinal axis regulating command, if vertical
Axle regulating command, then perform step 302;
In the present embodiment, when needs are adjusted by even numbers value control, it is judged that the regulating command of acquisition
Belong to longitudinal axis regulating command or longitudinal axis regulating command, if longitudinal axis regulating command, then perform step 302.
302, judge the longitudinal axis regulating command type obtained, if longitudinal axis increase and decrease instruction, then perform step 303,
If longitudinal axis instruction textual value instruction, then perform step 307;
In the present embodiment, when judging that the regulating command obtained belongs to longitudinal axis regulating command or longitudinal axis regulation refers to
When order is for longitudinal axis regulating command, it is judged that the longitudinal axis regulating command type of acquisition, if longitudinal axis increase and decrease instruction,
Then perform step 303, if longitudinal axis instruction textual value instruction, then perform step 307.
It should be noted that the aforesaid regulating command type judging to obtain will be carried out in subsequent embodiment
Detailed description, the most just repeats no more.
303, longitudinal axis increase and decrease instruction is confirmed, if longitudinal axis increase and decrease button commands, then performs step 304,
If longitudinal axis boost line triggering command, then perform step 305, if the first vernier triggering command, then perform
Step 306;
When judging the longitudinal axis regulating command type obtained as increase and decrease instruction, then longitudinal axis increase and decrease instruction is carried out
Confirm, if longitudinal axis increase and decrease button commands, then perform step 305, if longitudinal axis boost line triggering command,
Then perform step 306, if the first vernier triggering command, then perform step 307.
304, the operation corresponding with longitudinal axis increase and decrease button commands is performed;
When confirming as increasing and decreasing button commands to longitudinal axis increase and decrease instruction, need to judge that the longitudinal axis increases and decreases button
Instruction, if the longitudinal axis increases button commands, then judge longitudinal axis regulated variable and longitudinal axis currency and whether
Be not more than control longitudinal axis maximum, the most then by longitudinal axis regulated variable and longitudinal axis currency and be set to
New control value;Or
If the longitudinal axis reduces button commands, then judge the difference of longitudinal axis currency and longitudinal axis regulated variable the most not
Less than control longitudinal axis minima, the most then the difference of longitudinal axis currency Yu longitudinal axis regulated variable is set to newly
Control value.
Aforesaid judgement longitudinal axis regulated variable and longitudinal axis currency and be not no more than control longitudinal axis maximum
Or the difference of currency and longitudinal axis regulated variable is not when be no less than control longitudinal axis minima, then new control
Value is control longitudinal axis maximum or control longitudinal axis minima.
305, the operation corresponding with longitudinal axis boost line triggering command is performed;
When judging that the longitudinal axis regulating command type obtained is longitudinal axis boost line triggering command, then extract triggering
After longitudinal axis boost line, mouse, based on the ordinate of orthogonal axes value corresponding to longitudinal axis boost line, is sat further according to the longitudinal axis
Scale value, performs the operation consistent with follow-up step S4, it should be noted that aforesaid ordinate of orthogonal axes value
Can be to be determined in a certain corresponding pixel points at interface according to coordinate, can be abscissa value, herein
Specifically do not limit.
306, the operation corresponding with the second vernier triggering command is performed;
When judging that the longitudinal axis regulating command type obtained is the second vernier triggering command, then perform and second
The operation that vernier triggering command is corresponding.
It should be noted that as it is shown in figure 5, aforesaid second vernier triggering command corresponding operation step
Suddenly include:
S3: extract and trigger after vernier, the ordinate of orthogonal axes value that position that vernier stops is corresponding;
Aforesaid ordinate of orthogonal axes value can be to be determined in a certain corresponding pixel points at interface according to vernier,
Can be abscissa value, specifically not limit herein.
S4: the longitudinal axis adjustable extent of ordinate of orthogonal axes value Yu control is carried out preset mode calculating, to determine
New control value.
After extracting the corresponding ordinate of orthogonal axes value in position that vernier stops, needing by ordinate of orthogonal axes value with
The longitudinal axis adjustable extent of control carries out the second preset mode calculating, to determine new control value, aforesaid pre-
The mode of putting can be y-coordinate/chassis height * (yMax-yMin) of vernier, it is to be understood that front
The chassis height stated can be the Pixel Information between the longitudinal axis end points that two dimensional surface interface is corresponding and control
The product of the difference of part longitudinal axis maximum and longitudinal axis minima.
307, judge whether longitudinal axis instruction textual value is more than control longitudinal axis maximum, if it is not, then perform step
Rapid 308, the most then arrange and described control longitudinal axis maximum is set to described new control value;
Whether it is more than control longitudinal axis maximum when judging longitudinal axis instruction textual value, if it is not, then perform step
308, the most then arrange and described control longitudinal axis maximum is set to described new control value.
308, judge whether described longitudinal axis instruction textual value is less than control longitudinal axis minima, the most then will
Described control longitudinal axis minima is set to described new control value, if it is not, then perform step 309;
When judging that longitudinal axis instruction textual value not as more than control longitudinal axis maximum, then judges that the described longitudinal axis indicates
Whether textual value is less than control longitudinal axis minima, the most described control longitudinal axis minima be set to
Described new control value, if it is not, then perform step 309.
309, the longitudinal axis indicate textual value be set to new control value;
After judging that longitudinal axis instruction textual value is not as not less than control longitudinal axis minima, then the longitudinal axis is indicated
Textual value is set to new control value, such as longitudinal axis text box and passes through first to obtain focus, and arranging longitudinal axis text is
Can input state, extract determine after inputted the longitudinal axis instruction textual value, determine that longitudinal axis text box loses Jiao
Point, and determine that this longitudinal axis instruction textual value is new control value.
310, according to entrusting event response mechanism to monitor new control value, and carry out corresponding according to new control value
Even numbers value control interfaces refresh.
The operation that carrying out in step 303 is to 306 is corresponding with longitudinal axis increase and decrease instruction, to determine new control
Part value and the operation directly carrying out indicating textual value corresponding with the longitudinal axis in step 307 to 309, with really
After fixed new control value, need according to entrusting event response mechanism to monitor new control value, and according to new control
Value carries out corresponding even numbers value control interfaces and refreshes.
Refresh it is understood that aforesaid basis new control value carries out corresponding even numbers value control interfaces
Can be to carry out corresponding even numbers value control interfaces refreshing to according to new control value in real time, in other words be
For the generation of new control value, then carry out an interface and refresh, specifically do not limit herein.
It should be noted that in the present embodiment, need to set up corresponding control before aforesaid step 301
Part, sets up process as follows:
Firstly, it is necessary to loaded by control, set up the longitudinal axis regulation mould corresponding with longitudinal axis increase and decrease instruction
Block, this longitudinal axis adjustment module includes the longitudinal axis and reduces the longitudinal axis minimizing button that button commands is corresponding, the longitudinal axis
Increasing the corresponding longitudinal axis of button commands and increase button, the corresponding longitudinal axis of longitudinal axis boost line triggering command is auxiliary
The vernier that index contour is corresponding with vernier triggering command, this vernier can be in the intersection of the longitudinal axis and the longitudinal axis,
Then the longitudinal axis text box indicating text instruction corresponding with the longitudinal axis is generated.
It should be noted that in the present embodiment, it is judged that the regulating command of acquisition can be horizontally and vertically one
Play the instruction of regulation, therefore, when the instruction regulated the most together, then real shown in Fig. 2 and Fig. 3
Execute example to carry out the most together, every instruction relating to transverse axis and/or longitudinal axis regulation, belong to the guarantor of the present invention
Protect scope.
In the present embodiment, by first judging the regulating command type obtained, carry out relatively according to judged result
The operation answered, to determine new control value, refreshes even numbers value control interfaces further according to new control value, just realizes
Integrated for control increase and decrease operation and textual value are indicated being integrated in an even numbers value control of operation, solves
The independent mode of operation of existing control mode of operation, can not contain all of mode of operation,
The functional disappearance caused and the low technical problem of experience property, and longitudinal axis increase and decrease instruction comprised
There are longitudinal axis increase and decrease button commands, longitudinal axis boost line triggering command and the design of the first vernier triggering command, greatly
The earth improves the experience property of control regulation.
Those skilled in the art is it can be understood that arrive, and for convenience and simplicity of description, above-mentioned retouches
The specific works process of the system stated, device and unit, is referred to the correspondence in preceding method embodiment
Process, does not repeats them here.
In several embodiments provided herein, it should be understood that disclosed system, device and
Method, can realize by another way.Such as, device embodiment described above is only shown
Meaning property, such as, the division of described unit, be only a kind of logic function and divide, actual can when realizing
There to be other dividing mode, the most multiple unit or assembly can in conjunction with or be desirably integrated into another
System, or some features can ignore, or do not perform.Another point, shown or discussed each other
Coupling direct-coupling or communication connection can be the INDIRECT COUPLING by some interfaces, device or unit
Or communication connection, can be electrical, machinery or other form.
The described unit illustrated as separating component can be or may not be physically separate, makees
The parts shown for unit can be or may not be physical location, i.e. may be located at a place,
Or can also be distributed on multiple NE.Can select according to the actual needs part therein or
The whole unit of person realizes the purpose of the present embodiment scheme.
It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit,
Can also be that unit is individually physically present, it is also possible to two or more unit are integrated in a list
In unit.Above-mentioned integrated unit both can realize to use the form of hardware, it would however also be possible to employ software function list
The form of unit realizes.
If described integrated unit realizes and as independent production marketing using the form of SFU software functional unit
Or when using, can be stored in a computer read/write memory medium.Based on such understanding, this
The part that the most in other words prior art contributed of technical scheme of invention or this technical scheme
Completely or partially can embody with the form of software product, this computer software product is stored in one
In storage medium, including some instructions with so that computer equipment (can be personal computer,
Server, or the network equipment etc.) perform completely or partially walking of method described in each embodiment of the present invention
Suddenly.And aforesaid storage medium includes: USB flash disk, portable hard drive, read only memory (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD
Etc. the various media that can store program code.
The above, above example only in order to technical scheme to be described, is not intended to limit;
Although being described in detail the present invention with reference to previous embodiment, those of ordinary skill in the art should
Work as understanding: the technical scheme described in foregoing embodiments still can be modified by it, or to it
Middle part technical characteristic carries out equivalent;And these amendments or replacement, do not make appropriate technical solution
Essence depart from various embodiments of the present invention technical scheme spirit and scope.