1 | abstract sclass DynBigInputAndList<A> extends DynObjectTable<A> { |
2 | S text; |
3 | switchable int fontSize = 20; |
4 | transient Trigger trigger_makeList = new(r makeList); |
5 | |
6 | start { |
7 | new Dyn_FieldWatcher(this, 'text, trigger_makeList); |
8 | } |
9 | |
10 | visual withComputing(trigger_makeList, |
11 | jvsplit(setFontSize(fontSize, dm_textArea('text)), wrapListComponent(super))); |
12 | |
13 | // override me |
14 | JComponent wrapListComponent(JComponent component) { ret component; } |
15 | |
16 | void makeList() q { |
17 | if (!trigger_makeList.check()) ret; |
18 | makeList_impl(); |
19 | } |
20 | |
21 | abstract void makeList_impl(); |
22 | } |
Began life as a copy of #1022773
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1022886 |
Snippet name: | DynBigInputAndList |
Eternal ID of this version: | #1022886/4 |
Text MD5: | 6bb91847f08c83a7aae0c911e91d827b |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-04-14 19:03:04 |
Source code size: | 609 bytes / 22 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 304 / 753 |
Version history: | 3 change(s) |
Referenced in: | [show references] |