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

9
LINES

< > BotCompany Repo | #1015929 // StaticModule_CalculatedList

JavaX fragment (include)

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