1 | static bool showTable_searcher = true; |
2 | |
3 | static JTable showTable(O data) { |
4 | ret dataToTable_uneditable(data); |
5 | } |
6 | |
7 | static JTable showTable(S title, O data) { |
8 | ret showTable(data, title); |
9 | } |
10 | |
11 | static JTable showTable(O data, S title) { |
12 | ret dataToTable_uneditable(data, title); |
13 | } |
14 | |
15 | static JTable showTable(JTable table, O data) { |
16 | ret showTable(table, data, autoFrameTitle()); |
17 | } |
18 | |
19 | static JTable showTable(O data, JTable table) { |
20 | ret showTable(table, data); |
21 | } |
22 | |
23 | static JTable showTable(JTable table, O data, S title) { |
24 | if (table == null) |
25 | table = showTable(data, title); |
26 | else { |
27 | setFrameTitle(table, title); |
28 | dataToTable_uneditable(table, data); |
29 | } |
30 | ret table; |
31 | } |
32 | |
33 | static JTable showTable() { |
34 | ret showTable(new ArrayList<L<S>>(), new ArrayList<S>()); |
35 | } |
36 | |
37 | static JTable showTable(S title) { |
38 | ret showTable(new ArrayList<L<S>>(), new ArrayList<S>(), title); |
39 | } |
40 | |
41 | static JTable showTable(L<L<S>> rows, L<S> cols) { |
42 | ret showTable(rows, cols, autoFrameTitle()); |
43 | } |
44 | |
45 | static JTable showTable(L<L<S>> rows, L<S> cols, S title) { |
46 | JTable tbl = sexyTable(); |
47 | fillTableWithStrings(tbl, rows, cols); |
48 | showFrame(title, tbl); |
49 | return tbl; |
50 | } |
Began life as a copy of #1001458
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: | #1001617 |
Snippet name: | showTable |
Eternal ID of this version: | #1001617/2 |
Text MD5: | aa55bded4b0e11bf11a980e85d4c77fc |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-04-17 15:46:10 |
Source code size: | 1192 bytes / 50 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 762 / 1166 |
Version history: | 1 change(s) |
Referenced in: | [show references] |