MCPcopy Create free account
hub / github.com/5zig/The-5zig-Mod / mouseClicked0

Method mouseClicked0

Mod Utils/src/eu/the5zig/mod/gui/Gui.java:281–303  ·  view source on GitHub ↗

Called from Handle

(int x, int y, int button)

Source from the content-addressed store, hash-verified

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 }

Callers 13

aMethod · 0.45
aMethod · 0.45
aMethod · 0.45
aMethod · 0.45
aMethod · 0.45
aMethod · 0.45
aMethod · 0.45
mouseClickedMethod · 0.45
aMethod · 0.45
aMethod · 0.45
aMethod · 0.45
aMethod · 0.45

Calls 4

actionPerformed0Method · 0.95
mouseClickedMethod · 0.95
mouseClickedMethod · 0.65
playClickSoundMethod · 0.65

Tested by

no test coverage detected