Unlock instant, AI-driven research and patent intelligence for your innovation.

Radio button setting method and device and radio button click response method and device

A radio and button technology, applied in the direction of instruments, electrical digital data processing, data processing input/output process, etc., can solve the problems of button group click function failure, mixing, etc.

Active Publication Date: 2017-02-15
WUHAN DOUYU NETWORK TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, when using a radio button group, other types of elements may be mixed in the button group, which will cause the click function of the entire button group to fail. In addition, the radio buttons that need to be clicked on the interface must be located in the same radio button In the group, since the radio button group is a tangible container, the elements on the interface must be continuously distributed on the interface before they can be added to the same radio button group

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Radio button setting method and device and radio button click response method and device
  • Radio button setting method and device and radio button click response method and device
  • Radio button setting method and device and radio button click response method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0041] The embodiment of the present invention provides a radio button setting method, such as figure 1 As shown, the method includes steps S110-S120, specifically as follows.

[0042] S110, determine whether the type of each element to be added on the interface is a radio button, and when it is determined that the type of the element to be added is a radio button, add the reference of the radio button corresponding to each element to the radio button list , where the arrangement of each element on the interface is a continuous arrangement or a discontinuous arrangement.

[0043]Among them, when adding each element to be added on the interface to the radio button list, the radio button list will judge the type of each element to determine whether the element is a radio button. If the element is a radio button, then Allows a reference to a radio button to be added to the radio button list, if the element is not a radio button, the radio button list does not allow the element t...

Embodiment 2

[0059] The embodiment of the present invention provides a radio button click response method. The radio button used in the embodiment of the present invention is set by the method provided in the above-mentioned embodiment 1, that is, the radio button is set by the method in embodiment 1 Afterwards, the method provided by the embodiment of the present invention is used to click on the radio button. Since the radio button is set by the method in Embodiment 1, no non-radio button type elements will appear in the radio button list. Therefore, when the method provided by the embodiment of the present invention is used to respond to the click of the radio button set in Embodiment 1, there will be no click response failure. Among them, such as figure 2 As shown, the method includes steps S210-S220, specifically as follows.

[0060] S210, monitor whether a radio button in the radio button list is clicked, when monitoring that a radio button is clicked, set the state of the clicked ...

Embodiment 3

[0076] The embodiment of the present invention provides a radio button setting device, such as image 3 As shown, the device includes an adding module 310 and a first setting module 320;

[0077] The above-mentioned adding module 310 is used to judge whether the type of each element to be added on the interface is a radio button, and when it is determined that the type of the element to be added is a radio button, the reference of the radio button corresponding to each element is added to In the radio button list, the arrangement of each element on the interface is continuous or discontinuous;

[0078] The radio button list above saves the reference of the radio button in the list by calling its own add function.

[0079] The above-mentioned first setting module 320 is configured to set a click listener for each radio button in the radio button list in a one-to-one correspondence, and the click listener is used to monitor whether the corresponding radio button is clicked.

...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a radio button setting method and device and a radio button click response method and device. The radio button setting method comprises the steps as follows: whether the types of various to-be-added elements on an interface are radio buttons or not is judged; when the types of the to-be-added elements are determined to be the radio buttons, quotes of the radio buttons corresponding to the elements are added to a radio button list; arrangement of the elements on the interface is continuous arrangement or discontinuous arrangement; click monitors are correspondingly arranged for the radio buttons in the radio button list; and the click monitors are used for monitoring whether the corresponding radio buttons are clicked or not. According to the radio button setting method, the element which is not the type of the radio button does not appear in the radio button list; the condition of a click response failure of one radio button in the radio button list is avoided; the radio button at any position on the interface can be added by using the radio button list; and the radio buttons on the interface all can be added to the radio button list no matter in the continuous arrangement or the discontinuous arrangement.

Description

technical field [0001] The present invention relates to the technical field of terminals, in particular to a radio button setting and click response method and device. Background technique [0002] When the user is using some applications on the terminal, there are usually some option lists for the user to choose, and the user can only choose one of them. For example, when the user registers on a website, when selecting gender , there will be two options "male" and "female" on the terminal interface, and the user can only choose one of the options, that is, the user needs to make a single choice. [0003] In the existing Android system, in order to realize the radio function, most of the radio buttons corresponding to the option list are set in the same radio button group, when a certain radio button in the radio button group is clicked by the user , other radio buttons in this group will be automatically unchecked, that is, only one button in a button group can be selected...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F3/0482G06F3/0484
CPCG06F3/0482G06F3/04847
Inventor 霍启圣
Owner WUHAN DOUYU NETWORK TECH CO LTD