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

Method PanelTextInput

examples/dashboard/java/PanelTextInput.java:20–32  ·  view source on GitHub ↗
(Window window)

Source from the content-addressed store, hash-verified

18 public boolean _wasInside = false;
19
20 public PanelTextInput(Window window) {
21 super(window);
22 this.drawBG = false;
23 window.setTextInputEnabled(true);
24 window.setTextInputClient(this);
25 timerTask = new TimerTask() {
26 public void run() {
27 cursorDraw = !cursorDraw;
28 App.runOnUIThread(() -> { if (!window.isClosed()) window.requestFrame(); });
29 }
30 };
31 timer.schedule(timerTask, 0, 500);
32 }
33
34 @Override
35 public void accept(Event e) {

Callers

nothing calls this directly

Calls 2

setTextInputClientMethod · 0.80
setTextInputEnabledMethod · 0.45

Tested by

no test coverage detected