static <A extends JTextField> A bindTextFieldToVar(final IVar<S> var, final A tf) { setText(tf, var!); onUpdate(tf, r { var.set(getText(tf)) }); ret tf; }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1009952 |
Snippet name: | bindTextFieldToVar |
Eternal ID of this version: | #1009952/3 |
Text MD5: | 8a65c06013b36d562ba3897c263bce14 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-09-21 18:32:35 |
Source code size: | 164 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 554 / 561 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1010139 - bindTextAreaToVar #1010351 - bindTextFieldToPersistentString |