Element clicked @param id The id of the Row. @param button 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, int button, double mouseX, double mouseY)
| 65 | * @param mouseY The y-coordinate of the Mouse. |
| 66 | */ |
| 67 | @Override |
| 68 | protected boolean a(int id, int button, double mouseX, double mouseY) { |
| 69 | selected = id; |
| 70 | boolean var5 = (GuiList.this.selected >= 0) && (GuiList.this.selected < d()); |
| 71 | if (var5) { |
| 72 | if (clickable != null) { |
| 73 | synchronized (rows) { |
| 74 | onSelect(id, rows.get(id), false); // TODO |
| 75 | return true; |
| 76 | } |
| 77 | } |
| 78 | } |
| 79 | return false; |
| 80 | } |
| 81 | |
| 82 | @Override |
| 83 | public void onSelect(int id, E row, boolean doubleClick) { |
no test coverage detected