Class TextInputManager

java.lang.Object
com.mojang.blaze3d.platform.TextInputManager

public class TextInputManager extends Object
  • Field Details

    • window

      private final Window window
    • textInputEnabled

      private boolean textInputEnabled
    • owner

      private @Nullable Object owner
    • hasTextInputArea

      private boolean hasTextInputArea
    • areaX

      private int areaX
    • areaY

      private int areaY
    • areaWidth

      private int areaWidth
    • areaHeight

      private int areaHeight
  • Constructor Details

    • TextInputManager

      public TextInputManager(Window window)
  • Method Details

    • setTextInputArea

      public void setTextInputArea(int x0, int y0, int x1, int y1)
    • applyTextInputArea

      private void applyTextInputArea()
    • startTextInput

      public void startTextInput(Object owner)
    • stopTextInput

      public void stopTextInput(Object owner)
    • stopTextInput

      public void stopTextInput()
    • onTextInputFocusChange

      public void onTextInputFocusChange(Object owner, boolean focused)