|
|
µ¥Ñ¡¿Ø¼þ[uiRadioButton]·½·¨Ð¡½á
- /**
- * uiRadioButton ¿Ø¼þÍêÕûʾÀý
- * 🍎½»Á÷QQȺ711841924Ⱥһ£¬Æ»¹ûÄÚ²âȺ£¬528816639
- */
- // ·½·¨ 1: ¼ÓÔØµ¥Ñ¡¿Ø¼þ
- // uiRadioButton findViewById(String arg0)
- // ¹¦ÄÜ: ¼ÓÔØµ¥Ñ¡¿Ø¼þ
- // °¸Àý: new uiRadioButton().findViewById(¿Ø¼þID="")
- var radioControl = new uiRadioButton().findViewById("myRadioGroup");
- // ·½·¨ 2: »ñȡѡÖÐÏî
- // String getRadio()
- // ¹¦ÄÜ: »ñȡѡÖÐÏî
- // °¸Àý: new uiRadioButton().getRadio()
- var selectedValue = new uiRadioButton().getRadio();
- // ·½·¨ 3: ÉèÖø߶È
- // void setHeight(int arg0)
- // ¹¦ÄÜ: ÉèÖø߶È
- // °¸Àý: new uiRadioButton().setHeight(0)
- new uiRadioButton().setHeight(100);
- // ·½·¨ 4: ÉèÖÃÑ¡ÖÐÏî
- // String setRadio(String arg0)
- // ¹¦ÄÜ: ÉèÖÃÑ¡ÖÐÏî
- // °¸Àý: new uiRadioButton().setRadio('')
- var result = new uiRadioButton().setRadio("option1");
¸´ÖÆ´úÂë [color=var(--md-box-h3-text-color,var(--md-box-global-text-color))]·½·¨ 1£º¼ÓÔØµ¥Ñ¡¿Ø¼þÏîÄ¿ | ÄÚÈÝ | ¹¦ÄÜ | ¼ÓÔØµ¥Ñ¡¿Ø¼þ | ·½·¨ | uiRadioButton findViewById(String arg0) | ·µ»ØÖµ | uiRadioButton | ²ÎÊý | String arg0: ¿Ø¼þ id | °¸Àý | new uiRadioButton ().findViewById (¿Ø¼þ ID="") | [color=var(--md-box-h3-text-color,var(--md-box-global-text-color))]·½·¨ 2£º»ñȡѡÖÐÏîÏîÄ¿ | ÄÚÈÝ | ¹¦ÄÜ | »ñȡѡÖÐÏî | ·½·¨ | String getRadio() | ·µ»ØÖµ | String | ²ÎÊý | - | °¸Àý | new uiRadioButton().getRadio() | [color=var(--md-box-h3-text-color,var(--md-box-global-text-color))]·½·¨ 3£ºÉèÖø߶ÈÏîÄ¿ | ÄÚÈÝ | ¹¦ÄÜ | ÉèÖÃ¸ß¶È | ·½·¨ | void setHeight(int arg0) | ·µ»ØÖµ | void | ²ÎÊý | int arg0: ¸ß¶È | °¸Àý | new uiRadioButton().setHeight(0) | [color=var(--md-box-h3-text-color,var(--md-box-global-text-color))]·½·¨ 4£ºÉèÖÃÑ¡ÖÐÏîÏîÄ¿ | ÄÚÈÝ | ¹¦ÄÜ | ÉèÖÃÑ¡ÖÐÏî | ·½·¨ | String setRadio(String arg0) | ·µ»ØÖµ | String | ²ÎÊý | String arg0: Ñ¡ÖÐÏî±êʶ | °¸Àý | new uiRadioButton().setRadio('') |
|
|