static void setTextAndEnabled(JButton btn, Pair<S, Bool> textAndEnabled) { if (textAndEnabled == null) ret; setText(btn, textAndEnabled.a); setEnabled(btn, textAndEnabled.b); }
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: | #1014492 |
Snippet name: | setTextAndEnabled |
Eternal ID of this version: | #1014492/1 |
Text MD5: | c07acb60d6761c31d491f723d7f64944 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-04-22 15:01:50 |
Source code size: | 186 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 451 / 472 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1016525 - setEnabledAndText #1020907 - setTextAndEnable |