1 | static JComboBox yesNoComboBox(bool value, final VF1<Bool> onChange) {
|
2 | ret onSelectedItem(selectItem(jcombobox("Yes", "No"), value ? "Yes" : "No"), voidfunc(S item) {
|
3 | callF(onChange, eq("Yes", item))
|
4 | }); |
5 | } |
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: | #1015921 |
| Snippet name: | yesNoComboBox |
| Eternal ID of this version: | #1015921/2 |
| Text MD5: | d7779faaf0ece8e4e7ab71845432cf45 |
| Author: | stefan |
| Category: | javax / gui |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-05-30 15:59:30 |
| Source code size: | 217 bytes / 5 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 624 / 680 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |