1 | svoid dm_boolFieldMenuItem(Container frame, fS field, fO... _) {
|
2 | final DynModule m = dm_current_mandatory(); |
3 | fS humanized = humanizeFormLabel(field); |
4 | internalFrameTitlePopupMenu(frame/JInternalFrame, voidfunc(JPopupMenu menu) {
|
5 | menu.add(jCheckBoxMenuItem(humanized, (bool) _get(m, field), voidfunc(bool b) {
|
6 | m.setField(field, b); |
7 | callF(optPar(_, 'onSet)); |
8 | })); |
9 | }); |
10 | } |
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: | 596 / 687 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |