public class JsonTextField extends JsonInputComponent<String> implements Frontend.Input<String>
JsonComponent.JsonPropertyListener
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier and Type | Field and Description |
---|---|
static String |
INPUT_TYPE |
static String |
MAX_LENGTH |
EDITABLE, VALUE
Constructor and Description |
---|
JsonTextField(String type) |
JsonTextField(String type,
Frontend.InputComponentListener changeListener) |
JsonTextField(String type,
int maxLength,
String allowedCharacters,
Frontend.InputType inputType,
Frontend.Search<String> suggestions,
Frontend.InputComponentListener changeListener) |
Modifier and Type | Method and Description |
---|---|
Frontend.Search<String> |
getSuggestions() |
String |
getValue() |
void |
setValue(String text) |
setEditable
fireChange, getId, put, readExternal, setPropertyListener, writeExternal
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, values
clone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, putAll, putIfAbsent, remove, remove, replace, replace, size
equals, hashCode, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
setEditable
compute, computeIfAbsent, computeIfPresent, containsKey, equals, hashCode, isEmpty, merge, putAll, putIfAbsent, remove, remove, replace, replace, size
public static final String MAX_LENGTH
public static final String INPUT_TYPE
public JsonTextField(String type)
public JsonTextField(String type, Frontend.InputComponentListener changeListener)
public JsonTextField(String type, int maxLength, String allowedCharacters, Frontend.InputType inputType, Frontend.Search<String> suggestions, Frontend.InputComponentListener changeListener)
public Frontend.Search<String> getSuggestions()
public void setValue(String text)
setValue
in interface Frontend.Input<String>
public String getValue()
getValue
in interface Frontend.Input<String>
Copyright © 2019. All rights reserved.