Called from Handle
(int x, int y, int button)
| 279 | * Called from Handle |
| 280 | */ |
| 281 | public void mouseClicked0(int x, int y, int button) { |
| 282 | if (button == 0) { |
| 283 | for (IButton b : buttons) { |
| 284 | if (b.mouseClicked(x, y)) { |
| 285 | b.playClickSound(); |
| 286 | actionPerformed0(b); |
| 287 | } |
| 288 | } |
| 289 | } |
| 290 | for (ITextfield textfield : textfields) { |
| 291 | textfield.mouseClicked(x, y, button); |
| 292 | } |
| 293 | for (IGuiList guiList : guiLists) { |
| 294 | guiList.mouseClicked(x, y); |
| 295 | } |
| 296 | for (CheckBox checkBox : checkBoxes) { |
| 297 | checkBox.mouseClicked(x, y); |
| 298 | } |
| 299 | for (RadioCheckBox radioCheckBox : radioCheckBoxes) { |
| 300 | radioCheckBox.mouseClicked(x, y); |
| 301 | } |
| 302 | mouseClicked(x, y, button); |
| 303 | } |
| 304 | |
| 305 | protected void mouseClicked(int x, int y, int button) { |
| 306 | } |
no test coverage detected