Package com.github.tommyettinger.textra
Class TextraField.NativeOnscreenKeyboard
java.lang.Object
com.github.tommyettinger.textra.TextraField.NativeOnscreenKeyboard
- All Implemented Interfaces:
TextraField.OnscreenKeyboard
- Enclosing class:
TextraField
public static class TextraField.NativeOnscreenKeyboard
extends Object
implements TextraField.OnscreenKeyboard
An advanced
TextraField.OnscreenKeyboard utilising Input.openTextInputField(com.badlogic.gdx.input.NativeInputConfiguration). Might overlap your actual rendering, so
use with care! This is mutually exclusive with using the TextraField.DefaultOnscreenKeyboard or
Input.setOnscreenKeyboardVisible(boolean) API.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface -
Constructor Summary
ConstructorsConstructorDescriptionNativeOnscreenKeyboard(TextraField.NativeOnscreenKeyboard.WidgetAdvance onConfirmAdvance) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()protected com.badlogic.gdx.input.NativeInputConfigurationgetNativeInputConfiguration(TextraField textraField) protected voidopenNativeInputField(TextraField textraField) voidshow(TextraField textraField)
-
Constructor Details
-
NativeOnscreenKeyboard
public NativeOnscreenKeyboard() -
NativeOnscreenKeyboard
-
-
Method Details
-
close
public void close()- Specified by:
closein interfaceTextraField.OnscreenKeyboard
-
show
- Specified by:
showin interfaceTextraField.OnscreenKeyboard
-
getNativeInputConfiguration
protected com.badlogic.gdx.input.NativeInputConfiguration getNativeInputConfiguration(TextraField textraField) -
openNativeInputField
-