Package | Description |
---|---|
me.leoko.advancedgui.utils | |
me.leoko.advancedgui.utils.components | |
me.leoko.advancedgui.utils.deserializer |
Modifier and Type | Method and Description |
---|---|
static InputHandler |
InputHandler.limitHandler(BiFunction<Interaction,String,String> inputHandler,
int maxSize)
Creates an input handler that first applies the passed input handler and then substrings the input from the
start if it is longer then the provided maxSize
|
static InputHandler |
InputHandler.limitHandler(BiFunction<Interaction,String,String> inputHandler,
int maxSize)
Creates an input handler that first applies the passed input handler and then substrings the input from the
start if it is longer then the provided maxSize
|
Modifier and Type | Method and Description |
---|---|
void |
TextInputComponent.setInputHandler(InputHandler inputHandler)
Sets input handler.
|
void |
TextInputComponent.setInputHandler(InputHandler inputHandler)
Sets input handler.
|
Constructor and Description |
---|
TextInputComponent(String id,
Action clickAction,
boolean hidden,
Interaction interaction,
int x,
int y,
int width,
int height,
int padding,
Color backgroundColor,
Color backgroundColorActive,
Font font,
Color fontColor,
Color fontColorPlaceholder,
String placeHolder,
@NotNull String defaultInput,
InputHandler inputHandler,
boolean registerPlaceholder)
Instantiates a new TextInputComponent.
|
TextInputComponent(String id,
Action clickAction,
boolean hidden,
Interaction interaction,
int x,
int y,
int width,
int height,
int padding,
Color backgroundColor,
Color backgroundColorActive,
Font font,
Color fontColor,
Color fontColorPlaceholder,
String placeHolder,
@NotNull String defaultInput,
InputHandler inputHandler,
boolean registerPlaceholder)
Instantiates a new TextInputComponent.
|
Modifier and Type | Method and Description |
---|---|
InputHandler |
InputHandlerDeserializer.deserialize(com.fasterxml.jackson.core.JsonParser jsonParser,
com.fasterxml.jackson.databind.DeserializationContext deserializationContext) |
InputHandler |
InputHandlerDeserializer.deserialize(com.fasterxml.jackson.core.JsonParser jsonParser,
com.fasterxml.jackson.databind.DeserializationContext deserializationContext) |
Copyright © 2021. All rights reserved.