Transpiled version (6273L) is out of date.
1 | |
2 | static <A extends JTextComponent> A bindTextComponentToVarWithNotify(A tc, IVarWithNotify<S> lv) { |
3 | bindHasChangeListenersToComponent(tc, lv, r { setTextKeepCaret(tc, lv!) }); |
4 | onChange(tc, r { lv.set(getText(tc)) }); |
5 | ret tc; |
6 | } |
Began life as a copy of #1016667
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1034684 |
Snippet name: | bindTextComponentToVarWithNotify (both ways) |
Eternal ID of this version: | #1034684/3 |
Text MD5: | f27bd0307abc592f6772e41632f617ce |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-05-13 18:19:46 |
Source code size: | 237 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 158 / 226 |
Version history: | 2 change(s) |
Referenced in: | [show references] |