Transpiled version (7503L) is out of date.
abstract sclass AbstractLayoutManager implements LayoutManager { settable Dimension preferredSize = new Dimension(100, 100); settable Dimension minimumSize = new Dimension(10, 10); public void addLayoutComponent(String name, Component comp) {} public void removeLayoutComponent(Component comp) {} selfType preferredSize(int w, int h) { ret preferredSize(new Dimension(w, h)); } public Dimension preferredLayoutSize(Container parent) { layoutContainer(parent); //print("preferredSize: " + preferredSize + " (parent size: " + jGetSize(parent) + ")"); ret preferredSize; } public Dimension minimumLayoutSize(Container parent) { //print("minimumLayoutSize"); ret minimumSize; } }
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, elmgxqgtpvxh, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1008602 |
| Snippet name: | AbstractLayoutManager - only requires implementing layoutContainer |
| Eternal ID of this version: | #1008602/8 |
| Text MD5: | 7df059d8aa0ea0bf264ae70197b455db |
| Author: | stefan |
| Category: | javax / gui |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-08-17 17:07:29 |
| Source code size: | 750 bytes / 22 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 847 / 1790 |
| Version history: | 7 change(s) |
| Referenced in: | #1034167 - Standard Classes + Interfaces (LIVE, continuation of #1003674) |