A kind of custom option input methodTechnical field
The present invention relates to a kind of custom option input method, belong to software systems input field, according to its feature weIt is named as " custom option input method ", this input mode is suitable for the multiselect or list of various fixed options or on-fixed optionChoosing input, particularly suitable for the touch panel devices equipment such as mobile phone.
Background technique
There are the various input modes by option in current software system, common are the input of pull-down optionMethod, flush system option input method, prompting type option input method, roller type option input method etc.;It is generally suitable for fixed optionsInput uses, and is not able to satisfy the demand of user's custom option input, some methods provide input field of the user from primary input,But it cannot be stored for next use, arrangement option can not be deleted.For the equipment of touch screen, improving input efficiency is oneCritically important user demand, for certain information input occasions, the customized option of user is a kind of critically important demand, and isSystem cannot provide custom option, can only abandon option input method using character input method, cause input speed slack-off, userIt experiences bad.
Summary of the invention
In order to solve the speed of existing equipment especially touch panel device input information, changing option input cannot be quicklyThe disadvantages of customized, additions and deletions save, and user experience is bad, the present invention provides one kind to carry out with custom option, to optionThe custom option input method of multiselect and single choice is supported in additions and deletions and preservation.
The technical measures implementing above-mentioned purpose of the present invention and using are as described below:
A kind of custom option input method, input interface include input field, option icons and option pop-up box;Input fieldKeyboard will be popped up after obtaining focus, content can be directly inputted;Option pop-up box, option pop-up box will be shown after clicking option iconsInterior to be equipped with multiple option-tags and determination key, clicking option-tag can be such that it switches between selected state and non-selected state,Click determination key the content of all option-tags in selected state will be input in input field simultaneously close off option pop-upFrame, it is seen that the embodiment supports multiselect.
Further, it is additionally provided with option input field in the option pop-up box, option input field obtains bullet after focusKeyboard out can directly input content;If there is the content of input in option input field, clicking determination key will be in option input fieldContent is input in input field together with the content of all option-tags in selected state and simultaneously closes off option pop-up box.
Further, option addition key is additionally provided in the option pop-up box, clicking option addition key can be defeated by optionThe content inputted in lairage saves as option new in option pop-up box, and the new option is in selected state;It empties simultaneouslyThe content of option input field can click option addition key again and repeat to add newly if inputting new content in option input fieldOption.
Further, some option-tag in option pop-up box is laterally pulled, the option-tag can be deleted;It adds or deletesIt, will be by the result saved when click option icon pops up option pop-up box again later except the result of option-tag will be saved by systemShow option;It can be dragged after some option-tag of long-pressing and change its position in option pop-up box.
Further, a single choice embodiment of the invention is as described below: clicking option-tag will be the option mark clickedThe content of label is input in input field, simultaneously closes off option pop-up box, will be capped, that is, be inputted if having content in input fieldAn option can only be inputted in column.If the existing option chosen in input field, display option is popped up after clicking option iconsFrame, the interior option-tag corresponding with the option chosen of option pop-up box are shown as selected state.
Further, it is equipped with delete button in the input field, shows when not having content when if there is content in input fieldIt hides, the content in input field will be deleted by clicking delete button.
Further, another multiselect embodiment of the invention is as described below, and input field 1 pops up option bullet after obtaining focusFrame out, i.e. input field cannot not set delete key, that is, need the choosing in option pop-up box by directly inputting content by keyboardCustom option could be inputted in item input field.
Further, if the option-tag quantity is more, multiple row will be presented and show;If the row of the option-tagColumn have exceeded the boundary of option pop-up box, can be shown in option pop-up box by rolling.
Further, if the input field can input multiple options, option-tag shape is corner;If describedInput field when being only capable of inputting single option, then option-tag shape is fillet.
Further, another multiselect embodiment of the invention is as described below: not setting addition key, i.e. option in option pop-up boxThe custom option inputted in input field cannot be saved as using next time.
From These characteristics it is found that the present invention program has the following advantages compared with existing technical solution:
1, content can be not only directly inputted, but also option input content can be passed through;
2, preset common option can have not only been inputted, but also the customized option of user can have been inputted, and can save and make by oneselfThe option of justice is later used.
3, option can be deleted and change the position of option to improve the service efficiency of user.
4, not only multiselect is supported to input, but also supports single choice input, meet a variety of occasion demands.
As can be seen above, compared with the prior art a kind of custom option input method of the invention, has flexibly newIt builds option or deletes option and save use, improve input speed, meet multiselect and the different occasion demands of single choice, be suitble to touchThe advantages that screen operation.
Detailed description of the invention
Fig. 1 is the schematic illustration of a multiselect embodiment of the invention;
Fig. 2 is the interface schematic diagram that another multiselect embodiment of the present invention reselects;
Fig. 3 is the schematic illustration of a single choice embodiment of the invention;
Fig. 4 is the interface schematic diagram of another single choice embodiment of the present invention reselected;
Fig. 5 is the interface schematic diagram of the another multiselect embodiment of the present invention;
Fig. 6 is the interface schematic diagram that the another multiselect embodiment of the present invention reselects.
Specific embodiment
The principle of the present invention is further described presently in connection with preferred embodiment shown in the drawings.
By Fig. 1, Fig. 2, Fig. 3 and Fig. 4 it is found that the present invention is mainly by input field 1, option icons 11 and 2 groups of option pop-up boxAt input field 1 will pop up keyboard after obtaining focus, can directly input content;Display option is popped up after clicking option icons 11Frame 2, option pop-up box 2 is interior to be equipped with multiple option-tags 21 and determination key 23, and clicking option-tag 21 can make it in selected stateSwitch between non-selected state, the content of all option-tags 21 in selected state will be input to by clicking determination key 23Option pop-up box 2 is simultaneously closed off in input field 1, it is seen that the embodiment supports multiselect.
By Fig. 1 and Fig. 2 it is found that being additionally provided with option input field 22 in the option pop-up box 2, option input field 22 is obtainedKeyboard will be popped up after focus, can directly input content;If there is the content of input in option input field 22, clicking determination key 23 will beContent in option input field is input in input field 1 together together with the content of all option-tags 21 in selected stateWhen the off option pop-up box 2.
By Fig. 1 and Fig. 2 it is found that being additionally provided with option addition key 24 in the option pop-up box 2, option addition key 24 is clickedThe content inputted in option input field 22 can be saved as to option new in option pop-up box 2, and the new option is in and choosesState;The content of option input field 22 is emptied simultaneously, if inputting new content in option input field 22, option can be clicked againAddition key 24 repeats to add new option.
By Fig. 1 and Fig. 2 it is found that laterally pulling some option-tag 21 in option pop-up box 2, the option-tag can be deleted21;The result for adding or deleting option-tag 21 will be saved by system, and click option icon 11 pops up option pop-up box 2 again laterWhen will by save option as the result is shown;It can be dragged after some option-tag 21 of long-pressing and change its position in option pop-up box 2It sets.
As can be seen from figs. 3 and 4 a single choice embodiment of the invention, clicking option-tag 21 will be the option mark clickedThe content of label 21 is input in input field 1, simultaneously closes off option pop-up box 2, will be capped if having content in input field 1,An option can only be inputted in input field 1.
As can be seen from figs. 3 and 4 if the existing option 12 chosen in input field 1, clicking will display choosing after option icons 11Item pop-up box 2, the interior option-tag 21 corresponding with the option 12 chosen of option pop-up box 2 are shown as selected state.
By Fig. 2 and Fig. 4 it is found that being equipped with delete button 13 in the input field 1, show when if there is content in input field 1Do not have to hide when content, the content in input field 1 will be deleted by clicking delete button 13.
It will be appreciated from fig. 6 that another multiselect embodiment of the invention, input field 1 pops up option pop-up box 2 after obtaining focus,I.e. input field 1 cannot not set delete key 13, that is, need the choosing in option pop-up box 2 by directly inputting content by keyboardCustom option could be inputted in item input field 22.
By Fig. 2 and Fig. 4 it is found that if 21 quantity of option-tag is more, multiple row will be presented and show;If the optionThe arrangement of label 21 has exceeded the boundary of option pop-up box 2, can be shown in option pop-up box 2 by rolling.
By Fig. 1, Fig. 2, Fig. 3 and Fig. 4 it is found that if when the input field 1 can input multiple options, option-tag 21Shape is corner, as depicted in figs. 1 and 2;If the input field 1 is only capable of inputting single option, 21 shape of option-tagFor fillet, as shown in Figure 3 and Figure 4.
As shown in Figure 5, another multiselect embodiment of the invention does not set addition key 24 in option pop-up box 2, i.e. option inputsThe custom option inputted in column 22 cannot be saved as using next time.
Compared with the prior art, a kind of custom option input method of the present invention has flexibly newly-built option or deletesIt except option and use is saved, improves input speed, meet multiselect and the different occasion demands of single choice, be suitble to touch screen operation etc. excellentPoint.
The present invention only illustrates some preferred embodiments in the present specification, is not to limit it.The professional technicianDesign and spirit can make various variations or modification in appearance according to the present invention, for example, change option pop-up box orThe key icon etc. of different-style is designed in the position of option input field.Therefore these should be belonged to the scope of protection of the present invention.