1 | static JTextField dm_feedTopInputToTextField(final JTextField tf) {
|
2 | ret dm_feedTopInputToTextField(tf, null); |
3 | } |
4 | |
5 | static JTextField dm_feedTopInputToTextField(final JTextField tf, final F1<S, Bool> condition) {
|
6 | final DynModule m = dm_current_mandatory(); |
7 | dm_onTopInputChanged(voidfunc(fS s) {
|
8 | switch to m.q(); |
9 | if (!isFalse(callF(condition, s))) |
10 | setText(tf, s); |
11 | }); |
12 | ret tf; |
13 | } |
Began life as a copy of #1019861
download show line numbers debug dex old transpilations
Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1020258 |
| Snippet name: | dm_feedTopInputToTextField |
| Eternal ID of this version: | #1020258/3 |
| Text MD5: | 044b96a29158d97bf75684582b9fdeb7 |
| 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-12-12 01:57:00 |
| Source code size: | 409 bytes / 13 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 450 / 497 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |