abstract sclass StaticModule_CalculatedList extends Module { transient JList list; JComponent visualize() { ret list = jlist(calc()); } void unvisualize2() { list = null; } void update() { if (list != null) fillListWithStrings(list, calc()); } abstract L<S> calc(); }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1015929 |
| Snippet name: | StaticModule_CalculatedList |
| Eternal ID of this version: | #1015929/7 |
| Text MD5: | 27bef65f33dac662755965656c5737cf |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-06-08 17:44:24 |
| Source code size: | 291 bytes / 9 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 597 / 1166 |
| Version history: | 6 change(s) |
| Referenced in: | #1015977 - DynCalculatedList #1034167 - Standard Classes + Interfaces (LIVE, continuation of #1003674) |