static int selectedButtonIdx(ButtonGroup g) { L<AbstractButton> l = buttonsInGroup(g); for i over l: if (l.get(i).isSelected()) ret i; ret -1; }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1007022 |
| Snippet name: | selectedButtonIdx |
| Eternal ID of this version: | #1007022/1 |
| Text MD5: | aa489989d28a669e0250957cbb0b99b0 |
| Author: | stefan |
| Category: | javax / gui |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-02-25 16:26:48 |
| Source code size: | 166 bytes / 7 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 654 / 694 |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |