Libraryless. Click here for Pure Java version (19048L/137K).
1 | abstract sclass DynTableWithInput<A> extends DynObjectTable<A> { |
2 | InputChooser inputChooser = new(this); |
3 | |
4 | visualize { ret northAndCenter(wrap(inputChooser), super.visualize()); } |
5 | |
6 | abstract void update(S input); |
7 | |
8 | void update { |
9 | if (inputChooser.update()) |
10 | update(inputChooser.input()); |
11 | } |
12 | |
13 | void forceUpdate { |
14 | update(inputChooser.input()); |
15 | } |
16 | } |
Began life as a copy of #1017393
download show line numbers debug dex old transpilations
Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1021502 |
Snippet name: | DynTableWithInput [old update style, shouldn't use anymore] |
Eternal ID of this version: | #1021502/5 |
Text MD5: | b4273cb5fcf6c72f249fad79e30ad327 |
Transpilation MD5: | ea699126427fbd441474315de0772c86 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-07-12 17:44:49 |
Source code size: | 388 bytes / 16 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 334 / 860 |
Version history: | 4 change(s) |
Referenced in: | [show references] |