static JCheckBox mapMethodLike dm_fieldCheckBox(S field) { ret dm_fieldCheckBox(humanizeFormLabel(field), field); } static JCheckBox dm_fieldCheckBox(S text, S field) { // magic parameter swap :) if (isIdentifier(text) && !isIdentifier(field)) { S temp = field; field = text; text = temp; } ret jLiveValueCheckBox(text, dm_fieldLiveValue(field)); }
Began life as a copy of #1017128
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1017129 |
| Snippet name: | dm_fieldCheckBox - JCheckBox bound to module field (both ways) |
| Eternal ID of this version: | #1017129/6 |
| Text MD5: | 2a7382dc4cb5b18bc1289b9aada9fc70 |
| Author: | stefan |
| Category: | javax / stefan's os |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2020-01-18 17:00:13 |
| Source code size: | 365 bytes / 9 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 734 / 801 |
| Version history: | 5 change(s) |
| Referenced in: | [show references] |