1 | static <A extends JLabel> A bindJLabelToLiveValue(final A label, final LiveValue lv) { |
2 | bindLiveValueListenerToComponent(label, lv, |
3 | r { setText(label, strOrNull(lv!)) }); |
4 | ret label; |
5 | } |
Began life as a copy of #1015811
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1016975 |
Snippet name: | bindJLabelToLiveValue |
Eternal ID of this version: | #1016975/1 |
Text MD5: | 6e66c8bc87f9e195c9b19e50257fb4e9 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-07-09 16:55:39 |
Source code size: | 194 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 417 / 477 |
Referenced in: | [show references] |