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

Method accept

examples/dashboard/java/PanelEvents.java:15–23  ·  view source on GitHub ↗
(Event e)

Source from the content-addressed store, hash-verified

13 }
14
15 @Override
16 public void accept(Event e) {
17 while (events.size() > 19)
18 events.remove(0);
19 if (!(e instanceof EventFrame || e instanceof EventFrameSkija)) {
20 events.add(e);
21 window.requestFrame();
22 }
23 }
24
25 @Override
26 public void paintImpl(Canvas canvas, int width, int height, float scale) {

Callers

nothing calls this directly

Calls 2

sizeMethod · 0.80
requestFrameMethod · 0.45

Tested by

no test coverage detected