Element clicked @param id The id of the Row. @param doubleClick If the Row has been Double-Clicked. @param mouseX The x-coordinate of the Mouse. @param mouseY The y-coordinate of the Mouse.
(int id, boolean doubleClick, int mouseX, int mouseY)
| 64 | * @param mouseY The y-coordinate of the Mouse. |
| 65 | */ |
| 66 | @Override |
| 67 | protected void a(int id, boolean doubleClick, int mouseX, int mouseY) { |
| 68 | selected = id; |
| 69 | boolean var5 = (GuiList.this.selected >= 0) && (GuiList.this.selected < b()); |
| 70 | if (var5) { |
| 71 | if (clickable != null) { |
| 72 | synchronized (rows) { |
| 73 | onSelect(id, rows.get(id), doubleClick); |
| 74 | } |
| 75 | } |
| 76 | } |
| 77 | } |
| 78 | |
| 79 | @Override |
| 80 | public void onSelect(int id, E row, boolean doubleClick) { |
no test coverage detected