MCPcopy Create free account
hub / github.com/HumbleUI/JWM / accept

Method accept

docs/GettingStarted.java:24–33  ·  view source on GitHub ↗
(Event e)

Source from the content-addressed store, hash-verified

22 }
23
24 @Override
25 public void accept(Event e) {
26 System.out.println(e);
27 if (e instanceof EventWindowCloseRequest) {
28 window.close();
29 App.terminate();
30 } else if (e instanceof EventFrame) {
31 paint();
32 }
33 }
34
35 public void paint() {
36 layer.makeCurrent();

Callers

nothing calls this directly

Calls 3

terminateMethod · 0.95
paintMethod · 0.95
closeMethod · 0.65

Tested by

no test coverage detected