Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

9
LINES

< > BotCompany Repo | #1015929 // StaticModule_CalculatedList

JavaX fragment (include)

1  
abstract sclass StaticModule_CalculatedList extends Module {
2  
  transient JList list;
3  
4  
  JComponent visualize() { ret list = jlist(calc()); }
5  
  void unvisualize2() { list = null; }  
6  
  void update() { if (list != null) fillListWithStrings(list, calc()); }
7  
8  
  abstract L<S> calc();
9  
}

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: 369 / 934
Version history: 6 change(s)
Referenced in: [show references]