Libraryless. Click here for Pure Java version (10870L/76K).
asclass DynFlexibleRateTimer > DynModule { FlexibleRateTimer timer = new(1); transient SimpleLiveValue<S> lvRate; // call timer.setRunnableAndStart in subclass's start method! start { timer.onFrequencyChanged(r persistMe); lvRate = lvFlexibleRateTimerFreq(timer); } visualize { ret northAndCenterWithMargins( withLabelLeftAndRight("Rate:", jLiveValueTextField_bothWays(lvRate), "Hz"), mainPanel()); } JComponent mainPanel() { ret dm_printLogComponent(); } void cleanMeUp_DynFlexibleRateTimer { cleanUp(timer); } }
Began life as a copy of #1025207
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1025208 |
Snippet name: | DynFlexibleRateTimer |
Eternal ID of this version: | #1025208/3 |
Text MD5: | e79ffa525114b2e89b5f1fdddbdf671f |
Transpilation MD5: | cf9ebd6ffeea163dbdb0c1aa5bca363f |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-09-13 14:34:02 |
Source code size: | 577 bytes / 19 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 245 / 647 |
Version history: | 2 change(s) |
Referenced in: | [show references] |