1 | static <A extends JComponent> A fontSize(float size, A a) { |
2 | ret setFontSize(size, a); |
3 | } |
4 | |
5 | static <A extends JComponent> A fontSize(A a, float size) { |
6 | ret setFontSize(size, a); |
7 | } |
8 | |
9 | static Float fontSize(JComponent c) { |
10 | Font f = getFont(c); |
11 | ret f == null ? null : f.getSize2D(); |
12 | } |
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: | 479 / 545 |
Version history: | 5 change(s) |
Referenced in: | [show references] |