Libraryless. Click here for Pure Java version (878L/7K/21K).
!752 // new translator m { p { addToMultiPortSilent("Get Selected Table Line Helper Bot."); } static S answer(S s) { if (match3("get selected table line", s)) { Component focus = getFocusOwner(); if (!(focus instanceof JTable)) ret "no table"; JTable tbl = cast focus; ret structure(getSelectedLine(tbl)); } if (match3("get selected table line as map", s)) { Component focus = getFocusOwner(); if (!(focus instanceof JTable)) ret "no table"; JTable tbl = cast focus; ret structure(getSelectedLineAsMap(tbl)); } ret null; } }
Began life as a copy of #1001734
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, teubizvjbppd, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1001756 |
Snippet name: | Get Selected Table Line Helper Bot (searches current VM) |
Eternal ID of this version: | #1001756/1 |
Text MD5: | d7326d6830338436bc3062c9a512ff8a |
Transpilation MD5: | c4b7bf48491511c5f8f36171ca993538 |
Author: | stefan |
Category: | javax |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2015-11-21 18:42:11 |
Source code size: | 642 bytes / 25 lines |
Pitched / IR pitched: | No / Yes |
Views / Downloads: | 626 / 1052 |
Referenced in: | [show references] |