svoid dm_boolFieldMenuItem(Container frame, fS field, fO... _) { final DynModule m = dm_current_mandatory(); fS humanized = humanizeFormLabel(field); internalFrameTitlePopupMenu(frame/JInternalFrame, voidfunc(JPopupMenu menu) { menu.add(jCheckBoxMenuItem(humanized, (bool) _get(m, field), voidfunc(bool b) { m.setField(field, b); callF(optPar(_, 'onSet)); })); }); }
Began life as a copy of #1019106
download show line numbers debug dex old transpilations
Travelled to 12 computer(s): bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1019442 |
Snippet name: | dm_boolFieldMenuItem |
Eternal ID of this version: | #1019442/2 |
Text MD5: | 1285eab9176db023b1cd20e39d660c8b |
Author: | stefan |
Category: | javax / stefan's os |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-11-06 23:08:42 |
Source code size: | 403 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 363 / 437 |
Version history: | 1 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1024934 - boolFieldMenuItem #1027360 - dm_boolFieldPopupMenuItem |