1 | static JCheckBox mapMethodLike dm_fieldCheckBox(S field) { |
2 | ret dm_fieldCheckBox(humanizeFormLabel(field), field); |
3 | } |
4 | |
5 | static JCheckBox dm_fieldCheckBox(S text, S field) { |
6 | // magic parameter swap :) |
7 | if (isIdentifier(text) && !isIdentifier(field)) { S temp = field; field = text; text = temp; } |
8 | ret jLiveValueCheckBox(text, dm_fieldLiveValue(field)); |
9 | } |
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: | 495 / 556 |
Version history: | 5 change(s) |
Referenced in: | [show references] |