static <A extends JComponent> A fontSize(float size, A a) { ret setFontSize(size, a); } static <A extends JComponent> A fontSize(A a, float size) { ret setFontSize(size, a); } static Float fontSize(JComponent c) { Font f = getFont(c); ret f == null ? null : f.getSize2D(); }
Began life as a copy of #1007197
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: | #1010316 |
Snippet name: | fontSize - synonym of setFontSize + getFontSize |
Eternal ID of this version: | #1010316/6 |
Text MD5: | ae84bc40917f7c7e59937809b5705edd |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-04-20 01:22:36 |
Source code size: | 295 bytes / 12 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 478 / 543 |
Version history: | 5 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1015584 - fontSizeAll - set font size for all components |