abstract sclass DynTableWithSearcher extends DynTable {
transient TableSearcher tableSearcher;
JComponent visualize() {
tableSearcher = tableWithSearcher2((JTable) super.visualize());
ret tableSearcher.panel;
}
void unvisualize {
super.unvisualize();
tableSearcher = null;
}
// API
void setSearchTerm(S s) {
if (tableSearcher != null)
setText(tableSearcher.tfInput, s);
}
}Began life as a copy of #1016065
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1016895 |
| Snippet name: | DynTableWithSearcher |
| Eternal ID of this version: | #1016895/5 |
| Text MD5: | 7668a5070ef5c100562f37480e09faed |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-11-19 15:44:25 |
| Source code size: | 446 bytes / 20 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 971 / 1527 |
| Version history: | 4 change(s) |
| Referenced in: | #1034167 - Standard Classes + Interfaces (LIVE, continuation of #1003674) |