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

14
LINES

< > BotCompany Repo | #1017393 // DynSCPWithInput

JavaX fragment (include)

!7

abstract sclass DynSCPWithInput extends DynSCP {
  InputChooser inputChooser = new(this);
  
  visualize { ret northAndCenter(wrap(inputChooser), super.visualize()); }
  
  abstract void update(S input);

  void update {
    if (inputChooser.update())
      update(inputChooser.input());
  }
}

Author comment

Began life as a copy of #1017191

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1017393
Snippet name: DynSCPWithInput
Eternal ID of this version: #1017393/1
Text MD5: cbfc0bb0ef634f7a9abdc829f3f9146d
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-07-19 18:02:39
Source code size: 310 bytes / 14 lines
Pitched / IR pitched: No / No
Views / Downloads: 434 / 991
Referenced in: #1018329 - DynSCPWithPrintLog
#1021502 - DynTableWithInput [old update style, shouldn't use anymore]
#1034167 - Standard Classes + Interfaces (LIVE, continuation of #1003674)