Libraryless. Click here for Pure Java version (10119L/72K).
static IVF1<JPopupMenu> mapMethodLike dm_boolFieldPopupMenuItem(S field, O... _) { final DynModule m = dm_current_mandatory(); S humanized = humanizeFormLabel(field); ret 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 #1019442
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1027360 | 
| Snippet name: | dm_boolFieldPopupMenuItem | 
| Eternal ID of this version: | #1027360/3 | 
| Text MD5: | 323f8f02b8cacdc3cdd0458bf0f6f709 | 
| Transpilation MD5: | 20cad40a96ec4e8e4034bbc0790f2500 | 
| 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-03-11 18:54:39 | 
| Source code size: | 347 bytes / 9 lines | 
| Pitched / IR pitched: | No / No | 
| Views / Downloads: | 419 / 571 | 
| Version history: | 2 change(s) | 
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |