!7 abstract sclass DynPrintLogAndButtons > DynPrintLog { transient SingleComponentPanel buttons; visualize { ret centerAndSouth(super.visualize(), buttons = singleComponentPanel()); } void unvisualize { zeroAllFieldsOfTypeExcept(this, Component, 'buttons); } start { // keep this permanently to allow setting buttons in hidden module buttons = singleComponentPanel(); } void hideButtons { buttons.setComponent(null); } void showButtons(O... params) { buttons.setComponent(withMargin(centeredButtonsOrSingleComponent(params))); } }
Began life as a copy of #1019363
download show line numbers debug dex old transpilations
Travelled to 12 computer(s): bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1019370 |
Snippet name: | DynPrintLogAndButtons |
Eternal ID of this version: | #1019370/3 |
Text MD5: | 157f8f17759502d0afbd7cacd12a9add |
Author: | stefan |
Category: | javax / stefan's os |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-11-04 16:31:52 |
Source code size: | 613 bytes / 26 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 354 / 890 |
Version history: | 2 change(s) |
Referenced in: | [show references] |