A B C D E F G H I J K L M N O P R S T U V W 
All Classes All Packages

A

abort() - Method in class org.beryx.textio.jline.JLineTextTerminal
 
abort() - Method in class org.beryx.textio.swing.SwingTextTerminal
 
abort() - Method in interface org.beryx.textio.TextTerminal
This method is typically called when a text-based input/output session has been aborted by the user or when a severe error occurred.
abort() - Method in class org.beryx.textio.web.WebTextTerminal
 
ABORT - org.beryx.textio.ReadInterruptionStrategy.Action
 
ABORT - org.beryx.textio.web.TextTerminalData.Action
 
AbstractDataServer<CTX> - Class in org.beryx.textio.web
Typically used as base class for DataServer implementations.
AbstractDataServer() - Constructor for class org.beryx.textio.web.AbstractDataServer
 
AbstractDataServer.ResponseData - Class in org.beryx.textio.web
 
AbstractTextTerminal<T extends AbstractTextTerminal<T>> - Class in org.beryx.textio
 
AbstractTextTerminal() - Constructor for class org.beryx.textio.AbstractTextTerminal
 
accept(TextIO, RunnerData) - Method in class org.beryx.textio.demo.app.ContactInfo
 
accept(TextIO, RunnerData) - Method in class org.beryx.textio.demo.app.Cuboid
 
accept(TextIO, RunnerData) - Method in class org.beryx.textio.demo.app.ECommerce
 
accept(TextIO, RunnerData) - Method in class org.beryx.textio.demo.app.ShoppingList
 
accept(TextIO, RunnerData) - Method in class org.beryx.textio.demo.app.UserDataCollector
 
accept(TextIO, RunnerData) - Method in class org.beryx.textio.demo.app.Weather
 
addBooleanListener(String, boolean, TerminalProperties.BooleanChangeListener<T>) - Method in class org.beryx.textio.TerminalProperties
Convenience method that adds a listener for the boolean property with the specified key.
addDefaultProperty(String, String) - Method in class org.beryx.textio.AbstractTextTerminal
 
addDoubleListener(String, double, TerminalProperties.DoubleChangeListener<T>) - Method in class org.beryx.textio.TerminalProperties
Convenience method that adds a listener for the double property with the specified key.
addIntListener(String, int, TerminalProperties.IntChangeListener<T>) - Method in class org.beryx.textio.TerminalProperties
Convenience method that adds a listener for the int property with the specified key.
addKey(String) - Method in class org.beryx.textio.web.TextTerminalData
 
addKey(TextTerminalData.Key) - Method in class org.beryx.textio.web.TextTerminalData
 
addListener(TerminalProperties.ExtendedChangeListener<T>) - Method in class org.beryx.textio.TerminalProperties
Adds a listener for this TerminalProperties instance.
addLongListener(String, long, TerminalProperties.LongChangeListener<T>) - Method in class org.beryx.textio.TerminalProperties
Convenience method that adds a listener for the long property with the specified key.
addMessage(String) - Method in class org.beryx.textio.web.TextTerminalData
 
addRawMessage(String) - Method in class org.beryx.textio.web.TextTerminalData
 
addSetting(String, Object) - Method in class org.beryx.textio.web.TextTerminalData
 
addSetting(String, Object) - Method in class org.beryx.textio.web.WebTextTerminal
 
addSetting(TextTerminalData.KeyValue) - Method in class org.beryx.textio.web.TextTerminalData
 
addSettings(TextTerminalData.KeyValue...) - Method in class org.beryx.textio.web.WebTextTerminal
 
addStringListener(String, String, TerminalProperties.StringChangeListener<T>) - Method in class org.beryx.textio.TerminalProperties
Convenience method that adds a listener for the String property with the specified key.
altKey - Variable in class org.beryx.textio.web.TextTerminalData.Key
 
appendToInput(String, boolean) - Method in class org.beryx.textio.swing.SwingTextTerminal
 
applyWithPropertiesConfigurator(Consumer<TerminalProperties<?>>, Function<TextTerminal<T>, R>) - Method in interface org.beryx.textio.TextTerminal
Executes an action that returns a result, while temporarily modifying the terminal properties.
AppUtil - Class in org.beryx.textio.demo.app
 
AppUtil() - Constructor for class org.beryx.textio.demo.app.AppUtil
 

B

baseDirConfigurator - Variable in class org.beryx.textio.web.RatpackDataServer
 
BooleanInputReader - Class in org.beryx.textio
A reader for boolean values.
BooleanInputReader(Supplier<TextTerminal<?>>) - Constructor for class org.beryx.textio.BooleanInputReader
 
ByteInputReader - Class in org.beryx.textio
A reader for byte values.
ByteInputReader(Supplier<TextTerminal<?>>) - Constructor for class org.beryx.textio.ByteInputReader
 

C

changed(TT, Boolean) - Method in interface org.beryx.textio.TerminalProperties.BooleanChangeListener
 
changed(TT, Double) - Method in interface org.beryx.textio.TerminalProperties.DoubleChangeListener
 
changed(TT, Integer) - Method in interface org.beryx.textio.TerminalProperties.IntChangeListener
 
changed(TT, Long) - Method in interface org.beryx.textio.TerminalProperties.LongChangeListener
 
changed(TT, String) - Method in interface org.beryx.textio.TerminalProperties.StringChangeListener
 
changed(TT, String, String, String) - Method in interface org.beryx.textio.TerminalProperties.ExtendedChangeListener
 
changed(TT, V) - Method in interface org.beryx.textio.TerminalProperties.ChangeListener
 
CharInputReader - Class in org.beryx.textio
A reader for char values.
CharInputReader(Supplier<TextTerminal<?>>) - Constructor for class org.beryx.textio.CharInputReader
 
checkConfiguration() - Method in class org.beryx.textio.ComparableInputReader
In addition to the checks performed by InputReader.checkConfiguration(), it checks if minVal <= maxVal
checkConfiguration() - Method in class org.beryx.textio.InputReader
Checks if the reader is correctly configured.
checkConfiguration() - Method in class org.beryx.textio.StringInputReader
In addition to the checks performed by InputReader.checkConfiguration(), it checks if minVal <= maxVal
clear() - Method in class org.beryx.textio.web.TextTerminalData
 
CLEAR_OLD_INPUT - org.beryx.textio.web.TextTerminalData.Action
 
ComparableInputReader<T extends java.lang.Comparable<T>,​B extends ComparableInputReader<T,​B>> - Class in org.beryx.textio
A reader for values of y type that implements Comparable.
ComparableInputReader(Supplier<TextTerminal<?>>) - Constructor for class org.beryx.textio.ComparableInputReader
 
configureResponseData(Response, AbstractDataServer.ResponseData) - Method in class org.beryx.textio.web.SparkDataServer
 
ConsoleTextTerminal - Class in org.beryx.textio.console
A TextTerminal backed by a Console.
ConsoleTextTerminal() - Constructor for class org.beryx.textio.console.ConsoleTextTerminal
 
ConsoleTextTerminal(Console) - Constructor for class org.beryx.textio.console.ConsoleTextTerminal
 
ConsoleTextTerminalProvider - Class in org.beryx.textio.console
If System.console() is not null, it provides a ConsoleTextTerminal.
ConsoleTextTerminalProvider() - Constructor for class org.beryx.textio.console.ConsoleTextTerminalProvider
 
ContactInfo - Class in org.beryx.textio.demo.app
Illustrates how to use read handlers to allow going back to a previous field.
ContactInfo() - Constructor for class org.beryx.textio.demo.app.ContactInfo
 
contentType - Variable in class org.beryx.textio.web.AbstractDataServer.ResponseData
 
context - Variable in class org.beryx.textio.web.RatpackDataServer.ContextHolder
 
ContextHolder(String, Context) - Constructor for class org.beryx.textio.web.RatpackDataServer.ContextHolder
 
contextId - Variable in class org.beryx.textio.web.RatpackDataServer.ContextHolder
 
CONTINUE - org.beryx.textio.ReadInterruptionStrategy.Action
 
CONTINUE_READ - org.beryx.textio.web.TextTerminalData.Action
 
create(CTX, String) - Method in interface org.beryx.textio.web.DataApiProvider
 
create(RatpackDataServer.ContextHolder, String) - Method in class org.beryx.textio.web.RatpackTextIoApp
 
create(SparkDataServer.SessionHolder, String) - Method in class org.beryx.textio.web.SparkTextIoApp
 
createCopy() - Method in class org.beryx.textio.web.WebTextTerminal
 
createReader() - Static method in class org.beryx.textio.jline.JLineTextTerminal
 
ctrlKey - Variable in class org.beryx.textio.web.TextTerminalData.Key
 
Cuboid - Class in org.beryx.textio.demo.app
A simple application illustrating the use of TextIO.
Cuboid() - Constructor for class org.beryx.textio.demo.app.Cuboid
 

D

DataApi - Interface in org.beryx.textio.web
API for the data exchanged between browser and server.
DataApiProvider<CTX> - Interface in org.beryx.textio.web
 
DataApiProviderException - Exception in org.beryx.textio.web
 
DataApiProviderException(String) - Constructor for exception org.beryx.textio.web.DataApiProviderException
 
DataApiProviderException(String, Throwable) - Constructor for exception org.beryx.textio.web.DataApiProviderException
 
DataServer - Interface in org.beryx.textio.web
The interface implementetd by a web server that allows clients to access the DataApi.
DEFAULT_FONT_SIZE - Static variable in class org.beryx.textio.swing.SwingTextTerminal
 
DEFAULT_INPUT_COLOR - Static variable in class org.beryx.textio.swing.SwingTextTerminal
 
DEFAULT_MAX_READS - Static variable in class org.beryx.textio.mock.MockTextTerminal
 
DEFAULT_PANE_BACKGROUND - Static variable in class org.beryx.textio.swing.SwingTextTerminal
 
DEFAULT_PATH_FOR_GET_DATA - Static variable in class org.beryx.textio.web.AbstractDataServer
 
DEFAULT_PATH_FOR_INIT_DATA - Static variable in class org.beryx.textio.web.AbstractDataServer
 
DEFAULT_PATH_FOR_POST_INPUT - Static variable in class org.beryx.textio.web.AbstractDataServer
 
DEFAULT_PROMPT_COLOR - Static variable in class org.beryx.textio.swing.SwingTextTerminal
 
DEFAULT_TIMEOUT_DATA_CLEARED - Static variable in class org.beryx.textio.web.WebTextTerminal
 
DEFAULT_TIMEOUT_HAS_ACTION - Static variable in class org.beryx.textio.web.WebTextTerminal
 
DEFAULT_TIMEOUT_NOT_EMPTY - Static variable in class org.beryx.textio.web.WebTextTerminal
 
DEFAULT_USER_INTERRUPT_KEY - Static variable in class org.beryx.textio.AbstractTextTerminal
 
defaultValue - Variable in class org.beryx.textio.InputReader
null, if there is no default value
delay(long) - Static method in class org.beryx.textio.demo.app.Weather
 
display() - Method in class org.beryx.textio.swing.SwingTextTerminal
 
dispose() - Method in class org.beryx.textio.TextIO
 
dispose() - Method in interface org.beryx.textio.TextTerminal
Convenience method for disposing the terminal without providing information about the outcome of the input/output session.
dispose(String) - Method in class org.beryx.textio.jline.JLineTextTerminal
 
dispose(String) - Method in class org.beryx.textio.swing.SwingTextTerminal
 
dispose(String) - Method in class org.beryx.textio.TextIO
 
dispose(String) - Method in interface org.beryx.textio.TextTerminal
This method is typically called at the end of a text-based input/output session in order to allow the terminal to release its screen resources.
dispose(String) - Method in class org.beryx.textio.web.WebTextTerminal
 
DISPOSE - org.beryx.textio.web.TextTerminalData.Action
 
DoubleInputReader - Class in org.beryx.textio
A reader for double values.
DoubleInputReader(Supplier<TextTerminal<?>>) - Constructor for class org.beryx.textio.DoubleInputReader
 

E

ECommerce - Class in org.beryx.textio.demo.app
A simple application illustrating the use of TextIO.
ECommerce() - Constructor for class org.beryx.textio.demo.app.ECommerce
 
EnumInputReader<T extends java.lang.Enum<T>> - Class in org.beryx.textio
A reader for enum values.
EnumInputReader(Supplier<TextTerminal<?>>, Class<T>) - Constructor for class org.beryx.textio.EnumInputReader
 
equalsFunc - Variable in class org.beryx.textio.InputReader
The function used to check whether two values are equal.
execute(TextIoApp<?>) - Method in class org.beryx.textio.demo.WebTextIoExecutor
 
executeWithPropertiesConfigurator(Consumer<TerminalProperties<?>>, Consumer<TextTerminal<T>>) - Method in interface org.beryx.textio.TextTerminal
Executes an action while temporarily modifying the terminal properties.
executeWithPropertiesPrefix(String, Consumer<TextTerminal<T>>) - Method in interface org.beryx.textio.TextTerminal
A convenience method that calls TextTerminal.executeWithPropertiesConfigurator(Consumer, Consumer) with a configurator that takes all terminal properties with the given prefix and applies them after stripping the prefix from their keys.
executeWithTerminal(Function<TextTerminal<?>, V>) - Method in class org.beryx.textio.InputReader
 

F

FloatInputReader - Class in org.beryx.textio
A reader for float values.
FloatInputReader(Supplier<TextTerminal<?>>) - Constructor for class org.beryx.textio.FloatInputReader
 
FLUSH - org.beryx.textio.web.TextTerminalData.Action
 
from(ReadHandlerData, String) - Static method in class org.beryx.textio.ReadInterruptionData
 

G

GenericInputReader<T> - Class in org.beryx.textio
A reader for values of a type T, for which a parser is passed as constructor argument.
GenericInputReader(Supplier<TextTerminal<?>>, Function<String, InputReader.ParseResult<T>>) - Constructor for class org.beryx.textio.GenericInputReader
 
get() - Method in interface org.beryx.textio.TerminalProperties.BooleanChangeListener
 
get() - Method in interface org.beryx.textio.TerminalProperties.DoubleChangeListener
 
get() - Method in interface org.beryx.textio.TerminalProperties.IntChangeListener
 
get() - Method in interface org.beryx.textio.TerminalProperties.LongChangeListener
 
get() - Method in interface org.beryx.textio.TerminalProperties.StringChangeListener
 
get(CTX) - Method in interface org.beryx.textio.web.DataApiProvider
 
get(RatpackDataServer.ContextHolder) - Method in class org.beryx.textio.web.RatpackTextIoApp
 
get(SparkDataServer.SessionHolder) - Method in class org.beryx.textio.web.SparkTextIoApp
 
getAction() - Method in class org.beryx.textio.ReadInterruptionStrategy
 
getAction() - Method in class org.beryx.textio.web.TextTerminalData
 
getActionData() - Method in class org.beryx.textio.web.TextTerminalData
 
getAllKeys() - Method in class org.beryx.textio.TerminalProperties
 
getAnsiBackgroundColor(String) - Method in class org.beryx.textio.jline.JLineTextTerminal
 
getAnsiColor(String) - Method in class org.beryx.textio.jline.JLineTextTerminal
 
getAnsiPrefix(JLineTextTerminal.StyleData) - Method in class org.beryx.textio.jline.JLineTextTerminal
 
getBindings() - Method in class org.beryx.textio.web.RatpackDataServer
 
getBookmark() - Method in class org.beryx.textio.web.TextTerminalData
 
getBookmarkOffset(String) - Method in class org.beryx.textio.swing.SwingTextTerminal
 
getBoolean(String, boolean) - Method in class org.beryx.textio.TerminalProperties
Gets the boolean value of the property with the specified key.
getChar() - Method in class org.beryx.textio.KeyCombination
 
getCharOrCode() - Method in class org.beryx.textio.KeyCombination
 
getCode() - Method in class org.beryx.textio.KeyCombination
 
getColor(String) - Static method in class org.beryx.textio.swing.SwingTextTerminal
 
getColorCode(String) - Method in class org.beryx.textio.jline.JLineTextTerminal
 
getConfigurators() - Method in class org.beryx.textio.web.RatpackDataServer
 
getCopy() - Method in class org.beryx.textio.web.TextTerminalData
 
getData() - Method in class org.beryx.textio.demo.app.Weather
Mocks a data retrieval operation.
getDataApiProvider() - Method in class org.beryx.textio.web.AbstractDataServer
 
getDataApiProvider() - Method in class org.beryx.textio.web.RatpackDataServer
 
getDataApiProvider() - Method in class org.beryx.textio.web.SparkDataServer
 
getDefaultErrorMessage(String) - Method in class org.beryx.textio.InputReader
Returns a generic error message.
getDefaultErrorMessages(String) - Method in class org.beryx.textio.BooleanInputReader
 
getDefaultErrorMessages(String) - Method in class org.beryx.textio.InputReader
If no InputReader.parseErrorMessagesProvider exists, this method is used to provide the list of error messages for the input string s.
getDefaultProperties() - Method in class org.beryx.textio.AbstractTextTerminal
 
getDocument() - Method in class org.beryx.textio.swing.SwingTextTerminal
 
getDouble(String, double) - Method in class org.beryx.textio.TerminalProperties
Gets the double value of the property with the specified key.
getErrorMessages() - Method in class org.beryx.textio.InputReader.ParseResult
 
getErrorMessages(String) - Method in class org.beryx.textio.InputReader
Provides the list of error messages for the input string s.
getErrorMessages(String, String) - Method in interface org.beryx.textio.InputReader.ErrorMessagesProvider
Returns the list of error messages for the given string representation of the value
getErrorMessages(String, String, int, int) - Method in interface org.beryx.textio.InputReader.InvalidIndexErrorMessagesProvider
Returns the list of error messages for the given string representation of the value
getErrorMessages(T, String) - Method in interface org.beryx.textio.InputReader.ValueChecker
Returns the list of error messages due to constraint violations caused by val
getFrame() - Method in class org.beryx.textio.swing.SwingTextTerminal
 
getHandlerKeys() - Method in class org.beryx.textio.web.TextTerminalData
 
getHandlers() - Method in class org.beryx.textio.web.RatpackDataServer
 
getId(Context) - Static method in class org.beryx.textio.web.RatpackDataServer
 
getId(Request) - Static method in class org.beryx.textio.web.SparkDataServer
 
getInitData() - Method in class org.beryx.textio.web.RunnerData
 
getInputs() - Method in class org.beryx.textio.mock.MockTextTerminal
 
getInt(String, int) - Method in class org.beryx.textio.TerminalProperties
Gets the int value of the property with the specified key.
getKeySequence(String) - Static method in class org.beryx.textio.jline.JLineTextTerminal
 
getLengthValidationErrors(String) - Method in class org.beryx.textio.StringInputReader
 
getListeners() - Method in class org.beryx.textio.TerminalProperties
 
getLong(String, long) - Method in class org.beryx.textio.TerminalProperties
Gets the long value of the property with the specified key.
getMatchingKeys(String) - Method in class org.beryx.textio.TerminalProperties
 
getMatchingKeys(Predicate<String>) - Method in class org.beryx.textio.TerminalProperties
 
getMaxReads() - Method in class org.beryx.textio.mock.MockTextTerminal
 
getMessageGroups() - Method in class org.beryx.textio.web.TextTerminalData
 
getMinMaxErrorMessage(T) - Method in class org.beryx.textio.ComparableInputReader
 
getOutput() - Method in class org.beryx.textio.mock.MockTextTerminal
 
getPartialInput() - Method in exception org.beryx.textio.ReadAbortedException
 
getPartialInput() - Method in exception org.beryx.textio.ReadInterruptionException
 
getPartialInput() - Method in class org.beryx.textio.swing.SwingTextTerminal
 
getPathForGetData() - Method in class org.beryx.textio.web.AbstractDataServer
 
getPathForPostInit() - Method in class org.beryx.textio.web.AbstractDataServer
 
getPathForPostInput() - Method in class org.beryx.textio.web.AbstractDataServer
 
getPatternValidationErrors(String) - Method in class org.beryx.textio.StringInputReader
 
getPayload() - Method in exception org.beryx.textio.ReadAbortedException
 
getPayload() - Method in class org.beryx.textio.ReadInterruptionStrategy
 
getPort() - Method in interface org.beryx.textio.web.DataServer
 
getPort() - Method in class org.beryx.textio.web.RatpackDataServer
 
getPort() - Method in class org.beryx.textio.web.RatpackTextIoApp
 
getPort() - Method in class org.beryx.textio.web.SparkDataServer
 
getPort() - Method in class org.beryx.textio.web.SparkTextIoApp
 
getPort() - Method in interface org.beryx.textio.web.TextIoApp
 
getPossibleValue(T) - Method in class org.beryx.textio.InputReader
 
getProperties() - Method in class org.beryx.textio.AbstractTextTerminal
 
getProperties() - Method in interface org.beryx.textio.TextTerminal
 
getPropertiesPrefixes() - Method in class org.beryx.textio.AbstractTextTerminal
 
getPropertiesReader() - Method in class org.beryx.textio.AbstractTextTerminal
 
getReadCalls() - Method in class org.beryx.textio.mock.MockTextTerminal
 
getReader() - Method in class org.beryx.textio.jline.JLineTextTerminal
 
getReadInterruptionData() - Method in exception org.beryx.textio.ReadInterruptionException
 
getResetToBookmark() - Method in class org.beryx.textio.web.TextTerminalData
 
getResourceContent(String) - Method in class org.beryx.textio.web.RatpackDataServer
 
getReturnValue() - Method in class org.beryx.textio.ReadInterruptionData
 
getReturnValueProvider() - Method in class org.beryx.textio.ReadHandlerData
 
getScrollPane() - Method in class org.beryx.textio.swing.SwingTextTerminal
 
getServer() - Method in class org.beryx.textio.web.RatpackTextIoApp
 
getServer() - Method in class org.beryx.textio.web.SparkTextIoApp
 
getSessionData() - Method in class org.beryx.textio.web.RunnerData
 
getStandardColorCode(String) - Static method in class org.beryx.textio.jline.JLineTextTerminal
 
getString(String) - Method in class org.beryx.textio.TerminalProperties
 
getString(String, String) - Method in class org.beryx.textio.TerminalProperties
Gets the String value of the property with the specified key.
getStyle(SwingTextTerminal.StyleData) - Method in class org.beryx.textio.swing.SwingTextTerminal
 
getTextIO() - Static method in class org.beryx.textio.TextIoFactory
 
getTextPane() - Method in class org.beryx.textio.swing.SwingTextTerminal
 
getTextTerminal() - Method in class org.beryx.textio.console.ConsoleTextTerminalProvider
 
getTextTerminal() - Method in class org.beryx.textio.jline.JLineTextTerminalProvider
 
getTextTerminal() - Method in class org.beryx.textio.swing.SwingTextTerminalProvider
 
getTextTerminal() - Method in class org.beryx.textio.system.SystemTextTerminalProvider
 
getTextTerminal() - Method in class org.beryx.textio.TextIO
 
getTextTerminal() - Static method in class org.beryx.textio.TextIoFactory
 
getTextTerminal() - Method in interface org.beryx.textio.TextTerminalProvider
 
getTextTerminalData() - Method in interface org.beryx.textio.web.DataApi
This method is called by the web component while polling for data
getTextTerminalData() - Method in class org.beryx.textio.web.WebTextTerminal
 
getUrlContent(URL) - Method in class org.beryx.textio.web.RatpackDataServer
 
getValue() - Method in class org.beryx.textio.InputReader.ParseResult
 

H

handle(Supplier<String>) - Method in class org.beryx.textio.web.AbstractDataServer
 
handleGetData(CTX) - Method in class org.beryx.textio.web.AbstractDataServer
 
handleInit(CTX, String) - Method in class org.beryx.textio.web.AbstractDataServer
 
handlePostInput(CTX, String, boolean, String) - Method in class org.beryx.textio.web.AbstractDataServer
 
handlerGetData - Variable in class org.beryx.textio.web.RatpackDataServer
 
handlerPostInit - Variable in class org.beryx.textio.web.RatpackDataServer
 
handlerPostInput - Variable in class org.beryx.textio.web.RatpackDataServer
 
handlerStaticAssets - Variable in class org.beryx.textio.web.RatpackDataServer
 
handlerTexttermAssets - Variable in class org.beryx.textio.web.RatpackDataServer
 
hasAction() - Method in class org.beryx.textio.web.TextTerminalData
 

I

id - Variable in class org.beryx.textio.web.TextTerminalData.Key
 
init() - Method in class org.beryx.textio.AbstractTextTerminal
 
init() - Method in interface org.beryx.textio.TextTerminal
This method is typically called after the terminal has been created.
init() - Method in interface org.beryx.textio.web.DataServer
 
init() - Method in class org.beryx.textio.web.RatpackDataServer
 
init() - Method in class org.beryx.textio.web.RatpackTextIoApp
 
init() - Method in class org.beryx.textio.web.SparkDataServer
 
init() - Method in class org.beryx.textio.web.SparkTextIoApp
 
init() - Method in interface org.beryx.textio.web.TextIoApp
 
initProperties() - Method in class org.beryx.textio.AbstractTextTerminal
 
initProperties(Reader) - Method in class org.beryx.textio.AbstractTextTerminal
 
initProperties(Properties) - Method in class org.beryx.textio.AbstractTextTerminal
 
inlinePossibleValues - Variable in class org.beryx.textio.InputReader
If true, the list of possible values will be displayed on a single line.
inputMasking - Variable in class org.beryx.textio.InputReader
If true, the input will be masked (useful for example when reading passwords)
InputReader<T,​B extends InputReader<T,​B>> - Class in org.beryx.textio
A reader for values of type T.
InputReader(Supplier<TextTerminal<?>>) - Constructor for class org.beryx.textio.InputReader
 
InputReader.ErrorMessagesProvider - Interface in org.beryx.textio
Functional interface for providing error messages
InputReader.InvalidIndexErrorMessagesProvider - Interface in org.beryx.textio
Functional interface for providing error messages for invalid index
InputReader.ParseResult<T> - Class in org.beryx.textio
A holder object returned by the InputReader.parse(String) method, containing the parsed value and/or the error messages.
InputReader.ValueChecker<T> - Interface in org.beryx.textio
Functional interface for checking value constraints
inputTrimming - Variable in class org.beryx.textio.InputReader
If true, the input will be trimmed.
IntInputReader - Class in org.beryx.textio
A reader for int values.
IntInputReader(Supplier<TextTerminal<?>>) - Constructor for class org.beryx.textio.IntInputReader
 
invalidIndexErrorMessagesProvider - Variable in class org.beryx.textio.InputReader
The provider of invalid index error messages.
isAltDown() - Method in class org.beryx.textio.KeyCombination
 
isCtrlDown() - Method in class org.beryx.textio.KeyCombination
 
isEmpty() - Method in class org.beryx.textio.web.TextTerminalData
 
isInRange(T) - Method in class org.beryx.textio.ComparableInputReader
Returns true if minVal <= val <= maxVal
isLineResetRequired() - Method in class org.beryx.textio.web.TextTerminalData
 
isMoveToLineStartRequired() - Method in class org.beryx.textio.web.TextTerminalData
 
isNewGroupRequiredForSetting() - Method in class org.beryx.textio.web.TextTerminalData
 
isPossibleValue(T) - Method in class org.beryx.textio.InputReader
 
isRedrawRequired() - Method in class org.beryx.textio.ReadInterruptionStrategy
 
isResetRequired() - Method in class org.beryx.textio.web.TextTerminalData
 
isShiftDown() - Method in class org.beryx.textio.KeyCombination
 
isTyped() - Method in class org.beryx.textio.KeyCombination
 
isValueListMode() - Method in class org.beryx.textio.InputReader
 
itemName - Variable in class org.beryx.textio.InputReader
The name of the item corresponding to the value to be read.

J

JLineTextTerminal - Class in org.beryx.textio.jline
A JLine-based TextTerminal.
JLineTextTerminal() - Constructor for class org.beryx.textio.jline.JLineTextTerminal
 
JLineTextTerminal(ConsoleReader) - Constructor for class org.beryx.textio.jline.JLineTextTerminal
 
JLineTextTerminalProvider - Class in org.beryx.textio.jline
If System.console() is not null and a ConsoleReader can be created, it provides a JLineTextTerminal.
JLineTextTerminalProvider() - Constructor for class org.beryx.textio.jline.JLineTextTerminalProvider
 

K

key - Variable in class org.beryx.textio.web.TextTerminalData.Key
 
key - Variable in class org.beryx.textio.web.TextTerminalData.KeyValue
The key of this pair
Key(String, String, int, boolean, boolean, boolean) - Constructor for class org.beryx.textio.web.TextTerminalData.Key
 
keyCode - Variable in class org.beryx.textio.web.TextTerminalData.Key
 
KeyCombination - Class in org.beryx.textio
 
KeyValue(String, Object) - Constructor for class org.beryx.textio.web.TextTerminalData.KeyValue
 

L

LongInputReader - Class in org.beryx.textio
A reader for long values.
LongInputReader(Supplier<TextTerminal<?>>) - Constructor for class org.beryx.textio.LongInputReader
 

M

main(String[]) - Static method in class org.beryx.textio.demo.app.ContactInfo
 
main(String[]) - Static method in class org.beryx.textio.demo.app.Cuboid
 
main(String[]) - Static method in class org.beryx.textio.demo.app.ECommerce
 
main(String[]) - Static method in class org.beryx.textio.demo.app.ShoppingList
 
main(String[]) - Static method in class org.beryx.textio.demo.app.UserDataCollector
 
main(String[]) - Static method in class org.beryx.textio.demo.app.Weather
 
main(String[]) - Static method in class org.beryx.textio.demo.TextIoDemo
 
maxVal - Variable in class org.beryx.textio.ComparableInputReader
 
MessageGroup() - Constructor for class org.beryx.textio.web.TextTerminalData.MessageGroup
 
messages - Variable in class org.beryx.textio.web.TextTerminalData.MessageGroup
The list of messages in this group
minVal - Variable in class org.beryx.textio.ComparableInputReader
 
MockTextTerminal - Class in org.beryx.textio.mock
A mock terminal for test purposes.
MockTextTerminal() - Constructor for class org.beryx.textio.mock.MockTextTerminal
 
moveToLineStart() - Method in class org.beryx.textio.jline.JLineTextTerminal
 
moveToLineStart() - Method in class org.beryx.textio.swing.SwingTextTerminal
 
moveToLineStart() - Method in interface org.beryx.textio.TextTerminal
Moves the cursor to the start of the current line of text in order to allow overwriting the current line.
moveToLineStart() - Method in class org.beryx.textio.web.WebTextTerminal
 

N

newBooleanInputReader() - Method in class org.beryx.textio.TextIO
 
newByteInputReader() - Method in class org.beryx.textio.TextIO
 
newCharInputReader() - Method in class org.beryx.textio.TextIO
 
newDoubleInputReader() - Method in class org.beryx.textio.TextIO
 
newEnumInputReader(Class<T>) - Method in class org.beryx.textio.TextIO
 
newFloatInputReader() - Method in class org.beryx.textio.TextIO
 
newGenericInputReader(Function<String, InputReader.ParseResult<T>>) - Method in class org.beryx.textio.TextIO
 
newIntInputReader() - Method in class org.beryx.textio.TextIO
 
newLongInputReader() - Method in class org.beryx.textio.TextIO
 
newMessageGroup() - Method in class org.beryx.textio.web.TextTerminalData
 
newShortInputReader() - Method in class org.beryx.textio.TextIO
 
newStringInputReader() - Method in class org.beryx.textio.TextIO
 
noDuplicatesChecker() - Static method in class org.beryx.textio.InputReader
 
NONE - org.beryx.textio.web.TextTerminalData.Action
 
nonEmptyListChecker() - Static method in class org.beryx.textio.InputReader
 
numberedPossibleValues - Variable in class org.beryx.textio.InputReader
If true, the list of possible values will be numbered and the desired value will be selected by choosing the corresponding number.

O

of(String) - Static method in class org.beryx.textio.KeyCombination
 
of(String) - Static method in class org.beryx.textio.web.TextTerminalData.Key
 
org.beryx.textio - package org.beryx.textio
 
org.beryx.textio.console - package org.beryx.textio.console
 
org.beryx.textio.demo - package org.beryx.textio.demo
 
org.beryx.textio.demo.app - package org.beryx.textio.demo.app
 
org.beryx.textio.jline - package org.beryx.textio.jline
 
org.beryx.textio.mock - package org.beryx.textio.mock
 
org.beryx.textio.swing - package org.beryx.textio.swing
 
org.beryx.textio.system - package org.beryx.textio.system
 
org.beryx.textio.web - package org.beryx.textio.web
 

P

parse(String) - Method in class org.beryx.textio.BooleanInputReader
 
parse(String) - Method in class org.beryx.textio.ByteInputReader
 
parse(String) - Method in class org.beryx.textio.CharInputReader
 
parse(String) - Method in class org.beryx.textio.DoubleInputReader
 
parse(String) - Method in class org.beryx.textio.EnumInputReader
 
parse(String) - Method in class org.beryx.textio.FloatInputReader
 
parse(String) - Method in class org.beryx.textio.GenericInputReader
 
parse(String) - Method in class org.beryx.textio.InputReader
Parses the input string
parse(String) - Method in class org.beryx.textio.IntInputReader
 
parse(String) - Method in class org.beryx.textio.LongInputReader
 
parse(String) - Method in class org.beryx.textio.ShortInputReader
 
parse(String) - Method in class org.beryx.textio.StringInputReader
 
parseAndCheck(String) - Method in class org.beryx.textio.InputReader
Parses the input string and runs all value checkers in order to find constraint violations.
parseErrorMessagesProvider - Variable in class org.beryx.textio.InputReader
The provider of parse error messages.
parser - Variable in class org.beryx.textio.GenericInputReader
 
ParseResult(T) - Constructor for class org.beryx.textio.InputReader.ParseResult
 
ParseResult(T, String...) - Constructor for class org.beryx.textio.InputReader.ParseResult
 
ParseResult(T, List<String>) - Constructor for class org.beryx.textio.InputReader.ParseResult
 
portConfigurator - Variable in class org.beryx.textio.web.RatpackDataServer
 
possibleValues - Variable in class org.beryx.textio.InputReader
Non-null and non-empty, if the value to be read must be chosen from a list of allowed values.
postHandlerCall(String, String) - Method in interface org.beryx.textio.web.DataApi
This method is called by the web component in response to a handler call (triggered by typing its associated key combination).
postHandlerCall(String, String) - Method in class org.beryx.textio.web.WebTextTerminal
 
postUserInput(String) - Method in interface org.beryx.textio.web.DataApi
This method is called by the web component to post the user input
postUserInput(String) - Method in class org.beryx.textio.web.WebTextTerminal
 
postUserInput(String, boolean, String) - Method in class org.beryx.textio.web.WebTextTerminal
 
postUserInterrupt(String) - Method in interface org.beryx.textio.web.DataApi
This method is called by the web component in response to a user interrupt (typically triggered by typing Ctrl+Q).
postUserInterrupt(String) - Method in class org.beryx.textio.web.WebTextTerminal
 
print(String) - Method in interface org.beryx.textio.TextTerminal
Prints a message that possibly contains line separators.
print(List<String>) - Method in interface org.beryx.textio.TextTerminal
Prints each message in the list, inserting the line separator string between messages.
printAnsi(String) - Method in class org.beryx.textio.jline.JLineTextTerminal
 
printf(String, Object...) - Method in interface org.beryx.textio.TextTerminal
Prints a formatted string using the default locale and the specified format string and arguments.
printf(Locale, String, Object...) - Method in interface org.beryx.textio.TextTerminal
Prints a formatted string using the specified locale, format string and arguments.
printGsonMessage(TextTerminal<?>, String) - Static method in class org.beryx.textio.demo.app.AppUtil
 
println() - Method in class org.beryx.textio.console.ConsoleTextTerminal
 
println() - Method in class org.beryx.textio.jline.JLineTextTerminal
 
println() - Method in class org.beryx.textio.mock.MockTextTerminal
 
println() - Method in class org.beryx.textio.swing.SwingTextTerminal
 
println() - Method in class org.beryx.textio.system.SystemTextTerminal
 
println() - Method in interface org.beryx.textio.TextTerminal
Terminates the current line by writing the line separator string.
println() - Method in class org.beryx.textio.web.WebTextTerminal
 
println(String) - Method in interface org.beryx.textio.TextTerminal
Prints a message that possibly contains line separators and subsequently prints a line separator.
println(List<String>) - Method in interface org.beryx.textio.TextTerminal
Prints each message in the list, inserting the line separator string between messages.
printPrompt(List<String>, TextTerminal<?>) - Method in class org.beryx.textio.BooleanInputReader
 
printPrompt(List<String>, TextTerminal<?>) - Method in class org.beryx.textio.InputReader
Displays a prompt inviting the user to enter a value.
promptAdjustments - Variable in class org.beryx.textio.InputReader
If true, the input reader is allowed to tweak the prompter, for example by including the default value or appending a colon at the end.
PROP_ANSI_COLOR_MODE - Static variable in class org.beryx.textio.PropertiesConstants
 
PROP_INPUT_BGCOLOR - Static variable in class org.beryx.textio.PropertiesConstants
 
PROP_INPUT_BOLD - Static variable in class org.beryx.textio.PropertiesConstants
 
PROP_INPUT_COLOR - Static variable in class org.beryx.textio.PropertiesConstants
 
PROP_INPUT_FONT_FAMILY - Static variable in class org.beryx.textio.PropertiesConstants
 
PROP_INPUT_FONT_SIZE - Static variable in class org.beryx.textio.PropertiesConstants
 
PROP_INPUT_ITALIC - Static variable in class org.beryx.textio.PropertiesConstants
 
PROP_INPUT_STYLE_CLASS - Static variable in class org.beryx.textio.PropertiesConstants
 
PROP_INPUT_SUBSCRIPT - Static variable in class org.beryx.textio.PropertiesConstants
 
PROP_INPUT_SUPERSCRIPT - Static variable in class org.beryx.textio.PropertiesConstants
 
PROP_INPUT_UNDERLINE - Static variable in class org.beryx.textio.PropertiesConstants
 
PROP_PANE_BGCOLOR - Static variable in class org.beryx.textio.PropertiesConstants
 
PROP_PANE_HEIGHT - Static variable in class org.beryx.textio.PropertiesConstants
 
PROP_PANE_ICON_FILE - Static variable in class org.beryx.textio.PropertiesConstants
 
PROP_PANE_ICON_RESOURCE - Static variable in class org.beryx.textio.PropertiesConstants
 
PROP_PANE_ICON_URL - Static variable in class org.beryx.textio.PropertiesConstants
 
PROP_PANE_STYLE_CLASS - Static variable in class org.beryx.textio.PropertiesConstants
 
PROP_PANE_TITLE - Static variable in class org.beryx.textio.PropertiesConstants
 
PROP_PANE_WIDTH - Static variable in class org.beryx.textio.PropertiesConstants
 
PROP_PROMPT_BGCOLOR - Static variable in class org.beryx.textio.PropertiesConstants
 
PROP_PROMPT_BOLD - Static variable in class org.beryx.textio.PropertiesConstants
 
PROP_PROMPT_COLOR - Static variable in class org.beryx.textio.PropertiesConstants
 
PROP_PROMPT_FONT_FAMILY - Static variable in class org.beryx.textio.PropertiesConstants
 
PROP_PROMPT_FONT_SIZE - Static variable in class org.beryx.textio.PropertiesConstants
 
PROP_PROMPT_ITALIC - Static variable in class org.beryx.textio.PropertiesConstants
 
PROP_PROMPT_STYLE_CLASS - Static variable in class org.beryx.textio.PropertiesConstants
 
PROP_PROMPT_SUBSCRIPT - Static variable in class org.beryx.textio.PropertiesConstants
 
PROP_PROMPT_SUPERSCRIPT - Static variable in class org.beryx.textio.PropertiesConstants
 
PROP_PROMPT_UNDERLINE - Static variable in class org.beryx.textio.PropertiesConstants
 
PROP_USER_INTERRUPT_KEY - Static variable in class org.beryx.textio.PropertiesConstants
 
propertiesConfigurator - Variable in class org.beryx.textio.InputReader
 
PropertiesConstants - Class in org.beryx.textio
 
PropertiesConstants() - Constructor for class org.beryx.textio.PropertiesConstants
 
PropertiesPrefixes - Annotation Type in org.beryx.textio
 
PROPS_PREFIX_ERROR_MESSAGE - Static variable in class org.beryx.textio.InputReader
 
put(String, Object) - Method in class org.beryx.textio.TerminalProperties
Sets the value associated with the specified key.
putAll(Map<String, ? extends Object>) - Method in class org.beryx.textio.TerminalProperties
 

R

RatpackDataServer - Class in org.beryx.textio.web
A Ratpack-based web server that allows clients to access the DataApi.
RatpackDataServer(BiFunction<RatpackDataServer.ContextHolder, String, DataApi>, Function<RatpackDataServer.ContextHolder, DataApi>) - Constructor for class org.beryx.textio.web.RatpackDataServer
 
RatpackDataServer.ContextHolder - Class in org.beryx.textio.web
 
RatpackTextIoApp - Class in org.beryx.textio.web
 
RatpackTextIoApp(BiConsumer<TextIO, RunnerData>, WebTextTerminal) - Constructor for class org.beryx.textio.web.RatpackTextIoApp
 
rawPrint(String) - Method in class org.beryx.textio.console.ConsoleTextTerminal
 
rawPrint(String) - Method in class org.beryx.textio.jline.JLineTextTerminal
 
rawPrint(String) - Method in class org.beryx.textio.mock.MockTextTerminal
 
rawPrint(String) - Method in class org.beryx.textio.swing.SwingTextTerminal
 
rawPrint(String) - Method in class org.beryx.textio.system.SystemTextTerminal
 
rawPrint(String) - Method in interface org.beryx.textio.TextTerminal
Prints the message in its raw form.
rawPrint(String) - Method in class org.beryx.textio.web.WebTextTerminal
 
rawPrint(List<String>) - Method in interface org.beryx.textio.TextTerminal
Prints each message in the list in its raw form, inserting the line separator string between messages.
read(boolean) - Method in class org.beryx.textio.console.ConsoleTextTerminal
 
read(boolean) - Method in class org.beryx.textio.jline.JLineTextTerminal
 
read(boolean) - Method in class org.beryx.textio.mock.MockTextTerminal
 
read(boolean) - Method in class org.beryx.textio.swing.SwingTextTerminal
 
read(boolean) - Method in class org.beryx.textio.system.SystemTextTerminal
 
read(boolean) - Method in interface org.beryx.textio.TextTerminal
Reads a line of text
read(boolean) - Method in class org.beryx.textio.web.WebTextTerminal
 
read(String...) - Method in class org.beryx.textio.InputReader
Reads a value of type T.
read(List<String>) - Method in class org.beryx.textio.InputReader
Reads a value of type T.
READ - org.beryx.textio.web.TextTerminalData.Action
 
READ_MASKED - org.beryx.textio.web.TextTerminalData.Action
 
ReadAbortedException - Exception in org.beryx.textio
 
ReadAbortedException(String, String) - Constructor for exception org.beryx.textio.ReadAbortedException
 
ReadHandlerData - Class in org.beryx.textio
 
ReadHandlerData(ReadInterruptionStrategy.Action) - Constructor for class org.beryx.textio.ReadHandlerData
 
ReadInterruptionData - Class in org.beryx.textio
 
ReadInterruptionData(ReadInterruptionStrategy.Action) - Constructor for class org.beryx.textio.ReadInterruptionData
 
ReadInterruptionException - Exception in org.beryx.textio
 
ReadInterruptionException(ReadInterruptionData, String) - Constructor for exception org.beryx.textio.ReadInterruptionException
 
ReadInterruptionStrategy<T extends ReadInterruptionStrategy<T>> - Class in org.beryx.textio
 
ReadInterruptionStrategy(ReadInterruptionStrategy.Action) - Constructor for class org.beryx.textio.ReadInterruptionStrategy
 
ReadInterruptionStrategy.Action - Enum in org.beryx.textio
 
readList(String...) - Method in class org.beryx.textio.InputReader
 
readList(List<String>) - Method in class org.beryx.textio.InputReader
 
readWithPrompt(TextTerminal<?>, List<String>) - Method in class org.beryx.textio.InputReader
 
registerHandler(String, Function<JLineTextTerminal, ReadHandlerData>) - Method in class org.beryx.textio.jline.JLineTextTerminal
 
registerHandler(String, Function<SwingTextTerminal, ReadHandlerData>) - Method in class org.beryx.textio.swing.SwingTextTerminal
 
registerHandler(String, Function<WebTextTerminal, ReadHandlerData>) - Method in class org.beryx.textio.web.WebTextTerminal
 
registerHandler(String, Function<T, ReadHandlerData>) - Method in interface org.beryx.textio.TextTerminal
Associates a key combination to a handler.
registerUserInterruptHandler(Consumer<JLineTextTerminal>, boolean) - Method in class org.beryx.textio.jline.JLineTextTerminal
 
registerUserInterruptHandler(Consumer<SwingTextTerminal>, boolean) - Method in class org.beryx.textio.swing.SwingTextTerminal
 
registerUserInterruptHandler(Consumer<WebTextTerminal>, boolean) - Method in class org.beryx.textio.web.WebTextTerminal
 
registerUserInterruptHandler(Consumer<T>, boolean) - Method in interface org.beryx.textio.TextTerminal
Registers a handler that will be called in response to a user interrupt.
remove(String) - Method in class org.beryx.textio.TerminalProperties
Removes the property with the specified key.
removeListener(TerminalProperties.ExtendedChangeListener<T>) - Method in class org.beryx.textio.TerminalProperties
Removes the listener passed as argument.
replaceInput(String, boolean) - Method in class org.beryx.textio.swing.SwingTextTerminal
 
resetLine() - Method in class org.beryx.textio.jline.JLineTextTerminal
 
resetLine() - Method in class org.beryx.textio.swing.SwingTextTerminal
 
resetLine() - Method in interface org.beryx.textio.TextTerminal
Clears the current line of text.
resetLine() - Method in class org.beryx.textio.web.WebTextTerminal
 
resetToBookmark(String) - Method in class org.beryx.textio.swing.SwingTextTerminal
 
resetToBookmark(String) - Method in interface org.beryx.textio.TextTerminal
Clears the text after the given bookmark.
resetToBookmark(String) - Method in class org.beryx.textio.web.WebTextTerminal
 
resetToOffset(int) - Method in class org.beryx.textio.swing.SwingTextTerminal
 
ResponseData(int, String, String) - Constructor for class org.beryx.textio.web.AbstractDataServer.ResponseData
 
RESTART - org.beryx.textio.ReadInterruptionStrategy.Action
 
RETURN - org.beryx.textio.ReadInterruptionStrategy.Action
 
RunnerData - Class in org.beryx.textio.web
 
RunnerData(String) - Constructor for class org.beryx.textio.web.RunnerData
 

S

sendResponseData(Context, AbstractDataServer.ResponseData) - Method in class org.beryx.textio.web.RatpackDataServer
 
session - Variable in class org.beryx.textio.web.SparkDataServer.SessionHolder
 
SessionHolder(String, Session) - Constructor for class org.beryx.textio.web.SparkDataServer.SessionHolder
 
sessionId - Variable in class org.beryx.textio.web.SparkDataServer.SessionHolder
 
setAction(TextTerminalData.Action) - Method in class org.beryx.textio.web.TextTerminalData
 
setAction(TextTerminalData.Action) - Method in class org.beryx.textio.web.WebTextTerminal
 
setAction(TextTerminalData.Action, String) - Method in class org.beryx.textio.web.WebTextTerminal
 
setActionData(String) - Method in class org.beryx.textio.web.TextTerminalData
 
setAnsiColorMode(String) - Method in class org.beryx.textio.jline.JLineTextTerminal
 
setBookmark(String) - Method in class org.beryx.textio.swing.SwingTextTerminal
 
setBookmark(String) - Method in interface org.beryx.textio.TextTerminal
Sets a bookmark with the given name at the current position.
setBookmark(String) - Method in class org.beryx.textio.web.TextTerminalData
 
setBookmark(String) - Method in class org.beryx.textio.web.WebTextTerminal
 
setInputBackgroundColor(Color) - Method in class org.beryx.textio.TerminalProperties
Convenience method that associates the hex representation of the specified bgcolor with the key "input.bgcolor"
setInputBackgroundColor(String) - Method in class org.beryx.textio.jline.JLineTextTerminal
 
setInputBackgroundColor(String) - Method in class org.beryx.textio.swing.SwingTextTerminal
 
setInputBackgroundColor(String) - Method in class org.beryx.textio.TerminalProperties
Convenience method that associates the specified bgcolor with the key "input.bgcolor"
setInputBold(boolean) - Method in class org.beryx.textio.jline.JLineTextTerminal
 
setInputBold(boolean) - Method in class org.beryx.textio.swing.SwingTextTerminal
 
setInputBold(boolean) - Method in class org.beryx.textio.TerminalProperties
Convenience method that associates the boolean value bold with the key "input.bold"
setInputColor(Color) - Method in class org.beryx.textio.TerminalProperties
Convenience method that associates the hex representation of the specified color with the key "input.color"
setInputColor(String) - Method in class org.beryx.textio.jline.JLineTextTerminal
 
setInputColor(String) - Method in class org.beryx.textio.swing.SwingTextTerminal
 
setInputColor(String) - Method in class org.beryx.textio.TerminalProperties
Convenience method that associates the specified color with the key "input.color"
setInputFontFamily(String) - Method in class org.beryx.textio.swing.SwingTextTerminal
 
setInputFontSize(int) - Method in class org.beryx.textio.swing.SwingTextTerminal
 
setInputItalic(boolean) - Method in class org.beryx.textio.jline.JLineTextTerminal
 
setInputItalic(boolean) - Method in class org.beryx.textio.swing.SwingTextTerminal
 
setInputItalic(boolean) - Method in class org.beryx.textio.TerminalProperties
Convenience method that associates the boolean value italic with the key "input.italic"
setInputSubscript(boolean) - Method in class org.beryx.textio.swing.SwingTextTerminal
 
setInputSuperscript(boolean) - Method in class org.beryx.textio.swing.SwingTextTerminal
 
setInputUnderline(boolean) - Method in class org.beryx.textio.jline.JLineTextTerminal
 
setInputUnderline(boolean) - Method in class org.beryx.textio.swing.SwingTextTerminal
 
setInputUnderline(boolean) - Method in class org.beryx.textio.TerminalProperties
Convenience method that associates the boolean value underline with the key "input.underline"
setLineResetRequired(boolean) - Method in class org.beryx.textio.web.TextTerminalData
 
setMaxReads(int) - Method in class org.beryx.textio.mock.MockTextTerminal
 
setMoveToLineStartRequired(boolean) - Method in class org.beryx.textio.web.TextTerminalData
 
setOnAbort(Runnable) - Method in class org.beryx.textio.web.WebTextTerminal
 
setOnDispose(Runnable) - Method in class org.beryx.textio.web.WebTextTerminal
 
setPaneBackgroundColor(Color) - Method in class org.beryx.textio.TerminalProperties
Convenience method that associates the hex representation of the specified bgcolor with the key "pane.bgcolor"
setPaneBackgroundColor(String) - Method in class org.beryx.textio.swing.SwingTextTerminal
 
setPaneBackgroundColor(String) - Method in class org.beryx.textio.TerminalProperties
Convenience method that associates the specified bgcolor with the key "pane.bgcolor"
setPaneDimension(int, int) - Method in class org.beryx.textio.TerminalProperties
Convenience method that associates the specified width and height with the keys "pane.width" and "pane.height"
setPaneHeight(int) - Method in class org.beryx.textio.TerminalProperties
Convenience method that associates the specified height with the key "pane.height"
setPaneIconFile(String) - Method in class org.beryx.textio.swing.SwingTextTerminal
 
setPaneIconResource(String) - Method in class org.beryx.textio.swing.SwingTextTerminal
 
setPaneIconUrl(String) - Method in class org.beryx.textio.swing.SwingTextTerminal
 
setPaneTitle(String) - Method in class org.beryx.textio.swing.SwingTextTerminal
 
setPaneWidth(int) - Method in class org.beryx.textio.TerminalProperties
Convenience method that associates the specified width with the key "pane.width"
setPromptBackgroundColor(Color) - Method in class org.beryx.textio.TerminalProperties
Convenience method that associates the hex representation of the specified bgcolor with the key "prompt.bgcolor"
setPromptBackgroundColor(String) - Method in class org.beryx.textio.jline.JLineTextTerminal
 
setPromptBackgroundColor(String) - Method in class org.beryx.textio.swing.SwingTextTerminal
 
setPromptBackgroundColor(String) - Method in class org.beryx.textio.TerminalProperties
Convenience method that associates the specified bgcolor with the key "prompt.bgcolor"
setPromptBold(boolean) - Method in class org.beryx.textio.jline.JLineTextTerminal
 
setPromptBold(boolean) - Method in class org.beryx.textio.swing.SwingTextTerminal
 
setPromptBold(boolean) - Method in class org.beryx.textio.TerminalProperties
Convenience method that associates the boolean value bold with the key "prompt.bold"
setPromptColor(Color) - Method in class org.beryx.textio.TerminalProperties
Convenience method that associates the hex representation of the specified color with the key "prompt.color"
setPromptColor(String) - Method in class org.beryx.textio.jline.JLineTextTerminal
 
setPromptColor(String) - Method in class org.beryx.textio.swing.SwingTextTerminal
 
setPromptColor(String) - Method in class org.beryx.textio.TerminalProperties
Convenience method that associates the specified color with the key "prompt.color"
setPromptFontFamily(String) - Method in class org.beryx.textio.swing.SwingTextTerminal
 
setPromptFontSize(int) - Method in class org.beryx.textio.swing.SwingTextTerminal
 
setPromptItalic(boolean) - Method in class org.beryx.textio.jline.JLineTextTerminal
 
setPromptItalic(boolean) - Method in class org.beryx.textio.swing.SwingTextTerminal
 
setPromptItalic(boolean) - Method in class org.beryx.textio.TerminalProperties
Convenience method that associates the boolean value italic with the key "prompt.italic"
setPromptSubscript(boolean) - Method in class org.beryx.textio.swing.SwingTextTerminal
 
setPromptSuperscript(boolean) - Method in class org.beryx.textio.swing.SwingTextTerminal
 
setPromptUnderline(boolean) - Method in class org.beryx.textio.jline.JLineTextTerminal
 
setPromptUnderline(boolean) - Method in class org.beryx.textio.swing.SwingTextTerminal
 
setPromptUnderline(boolean) - Method in class org.beryx.textio.TerminalProperties
Convenience method that associates the boolean value underline with the key "prompt.underline"
setResetRequired(boolean) - Method in class org.beryx.textio.web.TextTerminalData
 
setResetToBookmark(String) - Method in class org.beryx.textio.web.TextTerminalData
 
setSessionData(Map<String, String>) - Method in class org.beryx.textio.web.RunnerData
 
setTimeoutDataCleared(long) - Method in class org.beryx.textio.web.WebTextTerminal
 
setTimeoutHasAction(long) - Method in class org.beryx.textio.web.WebTextTerminal
 
setTimeoutNotEmpty(long) - Method in class org.beryx.textio.web.WebTextTerminal
 
settings - Variable in class org.beryx.textio.web.TextTerminalData.MessageGroup
The settings of the messages in this group, as a list of TextTerminalData.KeyValue pairs
setUserInterruptKey(int, boolean, boolean, boolean) - Method in class org.beryx.textio.web.WebTextTerminal
 
setUserInterruptKey(String) - Method in class org.beryx.textio.swing.SwingTextTerminal
 
setUserInterruptKey(String) - Method in class org.beryx.textio.web.WebTextTerminal
 
setUserInterruptKey(KeyStroke) - Method in class org.beryx.textio.swing.SwingTextTerminal
 
shiftKey - Variable in class org.beryx.textio.web.TextTerminalData.Key
 
ShoppingList - Class in org.beryx.textio.demo.app
Illustrates how to use read handlers.
ShoppingList() - Constructor for class org.beryx.textio.demo.app.ShoppingList
 
ShortInputReader - Class in org.beryx.textio
A reader for short values.
ShortInputReader(Supplier<TextTerminal<?>>) - Constructor for class org.beryx.textio.ShortInputReader
 
SparkDataServer - Class in org.beryx.textio.web
A SparkJava-based web server that allows clients to access the DataApi.
SparkDataServer(BiFunction<SparkDataServer.SessionHolder, String, DataApi>, Function<SparkDataServer.SessionHolder, DataApi>) - Constructor for class org.beryx.textio.web.SparkDataServer
 
SparkDataServer.SessionHolder - Class in org.beryx.textio.web
 
SparkTextIoApp - Class in org.beryx.textio.web
 
SparkTextIoApp(BiConsumer<TextIO, RunnerData>, WebTextTerminal) - Constructor for class org.beryx.textio.web.SparkTextIoApp
 
status - Variable in class org.beryx.textio.web.AbstractDataServer.ResponseData
 
StringInputReader - Class in org.beryx.textio
A reader for string values.
StringInputReader(Supplier<TextTerminal<?>>) - Constructor for class org.beryx.textio.StringInputReader
 
stripAll(String) - Static method in class org.beryx.textio.mock.MockTextTerminal
 
SwingTextTerminal - Class in org.beryx.textio.swing
A TextTerminal implemented using a JTextPane inside a JFrame.
SwingTextTerminal() - Constructor for class org.beryx.textio.swing.SwingTextTerminal
 
SwingTextTerminalProvider - Class in org.beryx.textio.swing
If the system is not headless, it provides a SwingTextTerminal.
SwingTextTerminalProvider() - Constructor for class org.beryx.textio.swing.SwingTextTerminalProvider
 
SYSPROP_PROPERTIES_FILE_LOCATION - Static variable in class org.beryx.textio.AbstractTextTerminal
 
SystemTextTerminal - Class in org.beryx.textio.system
A TextTerminal implemented using System.out, System.in and Scanner.
SystemTextTerminal() - Constructor for class org.beryx.textio.system.SystemTextTerminal
 
SystemTextTerminalProvider - Class in org.beryx.textio.system
It provides a SystemTextTerminal.
SystemTextTerminalProvider() - Constructor for class org.beryx.textio.system.SystemTextTerminalProvider
 

T

TerminalProperties<T extends TextTerminal<T>> - Class in org.beryx.textio
A map of properties associated with a TextTerminal.
TerminalProperties(T) - Constructor for class org.beryx.textio.TerminalProperties
 
TerminalProperties.BooleanChangeListener<TT extends TextTerminal<TT>> - Interface in org.beryx.textio
 
TerminalProperties.ChangeListener<TT extends TextTerminal<TT>,​V> - Interface in org.beryx.textio
 
TerminalProperties.DoubleChangeListener<TT extends TextTerminal<TT>> - Interface in org.beryx.textio
 
TerminalProperties.ExtendedChangeListener<TT extends TextTerminal<TT>> - Interface in org.beryx.textio
 
TerminalProperties.IntChangeListener<TT extends TextTerminal<TT>> - Interface in org.beryx.textio
 
TerminalProperties.LongChangeListener<TT extends TextTerminal<TT>> - Interface in org.beryx.textio
 
TerminalProperties.StringChangeListener<TT extends TextTerminal<TT>> - Interface in org.beryx.textio
 
text - Variable in class org.beryx.textio.web.AbstractDataServer.ResponseData
 
TEXT_TERMINAL_CLASS_PROPERTY - Static variable in class org.beryx.textio.TextIoFactory
 
TextIO - Class in org.beryx.textio
A factory for creating InputReaders.
TextIO(TextTerminal<?>) - Constructor for class org.beryx.textio.TextIO
 
TextIoApp<APP extends TextIoApp<APP>> - Interface in org.beryx.textio.web
 
TextIoDemo - Class in org.beryx.textio.demo
Demo application showing various TextTerminals.
TextIoDemo() - Constructor for class org.beryx.textio.demo.TextIoDemo
 
TextIoFactory - Class in org.beryx.textio
Provides TextTerminal and TextIO implementations.
TextIoFactory() - Constructor for class org.beryx.textio.TextIoFactory
 
TextTerminal<T extends TextTerminal<T>> - Interface in org.beryx.textio
Interface for text-based terminals capable of reading (optionally masking the input) and writing text.
TextTerminalData - Class in org.beryx.textio.web
The data sent by the server to a polling web component.
TextTerminalData() - Constructor for class org.beryx.textio.web.TextTerminalData
 
TextTerminalData.Action - Enum in org.beryx.textio.web
 
TextTerminalData.Key - Class in org.beryx.textio.web
 
TextTerminalData.KeyValue - Class in org.beryx.textio.web
A key-value pair
TextTerminalData.MessageGroup - Class in org.beryx.textio.web
A group of messages sharing the same settings
TextTerminalProvider - Interface in org.beryx.textio
TextTerminal Service Provider Interface
textTerminalSupplier - Variable in class org.beryx.textio.InputReader
Supplier of TextTerminals
toString() - Method in class org.beryx.textio.console.ConsoleTextTerminalProvider
 
toString() - Method in class org.beryx.textio.demo.app.ContactInfo
 
toString() - Method in class org.beryx.textio.demo.app.Cuboid
 
toString() - Method in class org.beryx.textio.demo.app.ECommerce
 
toString() - Method in class org.beryx.textio.demo.app.ShoppingList
 
toString() - Method in class org.beryx.textio.demo.app.UserDataCollector
 
toString() - Method in class org.beryx.textio.demo.app.Weather
 
toString() - Method in class org.beryx.textio.jline.JLineTextTerminalProvider
 
toString() - Method in class org.beryx.textio.ReadInterruptionData
 
toString() - Method in class org.beryx.textio.ReadInterruptionStrategy
 
toString() - Method in class org.beryx.textio.swing.SwingTextTerminalProvider
 
toString() - Method in class org.beryx.textio.system.SystemTextTerminalProvider
 
toString() - Method in class org.beryx.textio.web.TextTerminalData.KeyValue
 
toString() - Method in class org.beryx.textio.web.TextTerminalData.MessageGroup
 
toString() - Method in class org.beryx.textio.web.TextTerminalData
 
typeNameWithIndefiniteArticle() - Method in class org.beryx.textio.ByteInputReader
 
typeNameWithIndefiniteArticle() - Method in class org.beryx.textio.CharInputReader
 
typeNameWithIndefiniteArticle() - Method in class org.beryx.textio.ComparableInputReader
 
typeNameWithIndefiniteArticle() - Method in class org.beryx.textio.DoubleInputReader
 
typeNameWithIndefiniteArticle() - Method in class org.beryx.textio.FloatInputReader
 
typeNameWithIndefiniteArticle() - Method in class org.beryx.textio.IntInputReader
 
typeNameWithIndefiniteArticle() - Method in class org.beryx.textio.LongInputReader
 
typeNameWithIndefiniteArticle() - Method in class org.beryx.textio.ShortInputReader
 

U

updateScrollPaneSize(boolean) - Method in class org.beryx.textio.swing.SwingTextTerminal
 
UserDataCollector - Class in org.beryx.textio.demo.app
A simple application illustrating the use of TextIO.
UserDataCollector() - Constructor for class org.beryx.textio.demo.app.UserDataCollector
 

V

value - Variable in class org.beryx.textio.web.TextTerminalData.KeyValue
The value of this pair
value() - Method in annotation type org.beryx.textio.PropertiesPrefixes
 
valueCheckers - Variable in class org.beryx.textio.InputReader
The list of value checkers used to detect constraint violations
valueFormatter - Variable in class org.beryx.textio.InputReader
The formatter used when displaying values of type T.
valueListCheckers - Variable in class org.beryx.textio.InputReader
The list of value checkers used to detect constraint violations for a list of values
valueOf(String) - Static method in enum org.beryx.textio.ReadInterruptionStrategy.Action
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.beryx.textio.web.TextTerminalData.Action
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.beryx.textio.ReadInterruptionStrategy.Action
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.beryx.textio.web.TextTerminalData.Action
Returns an array containing the constants of this enum type, in the order they are declared.
VIRTUAL - org.beryx.textio.web.TextTerminalData.Action
 

W

Weather - Class in org.beryx.textio.demo.app
Illustrates some features introduced in version 3 of Text-IO: line reset, bookmarking etc.
Weather() - Constructor for class org.beryx.textio.demo.app.Weather
 
WebTextIoExecutor - Class in org.beryx.textio.demo
Allows executing code in a WebTextTerminal by configuring and initializing a TextIoApp.
WebTextIoExecutor() - Constructor for class org.beryx.textio.demo.WebTextIoExecutor
 
WebTextTerminal - Class in org.beryx.textio.web
A TextTerminal that allows accessing the application via a browser.
WebTextTerminal() - Constructor for class org.beryx.textio.web.WebTextTerminal
 
withAllValues() - Method in class org.beryx.textio.EnumInputReader
 
withAllValuesInline() - Method in class org.beryx.textio.EnumInputReader
 
withAllValuesNumbered() - Method in class org.beryx.textio.EnumInputReader
 
withBaseDir(String) - Method in class org.beryx.textio.web.RatpackDataServer
 
withDefaultValue(T) - Method in class org.beryx.textio.InputReader
 
withEqualsFunc(BiFunction<T, T, Boolean>) - Method in class org.beryx.textio.InputReader
 
withFalseInput(String) - Method in class org.beryx.textio.BooleanInputReader
Configures the string value that corresponds to false.
withIgnoreCase() - Method in class org.beryx.textio.StringInputReader
 
withInlinePossibleValues(List<T>) - Method in class org.beryx.textio.InputReader
 
withInlinePossibleValues(T...) - Method in class org.beryx.textio.InputReader
 
withInputMasking(boolean) - Method in class org.beryx.textio.InputReader
 
withInputTrimming(boolean) - Method in class org.beryx.textio.InputReader
 
withInvalidIndexErrorMessagesProvider(InputReader.InvalidIndexErrorMessagesProvider) - Method in class org.beryx.textio.InputReader
 
withItemName(String) - Method in class org.beryx.textio.InputReader
 
withMaxInactiveSeconds(Integer) - Method in class org.beryx.textio.web.RatpackTextIoApp
 
withMaxInactiveSeconds(Integer) - Method in class org.beryx.textio.web.SparkTextIoApp
 
withMaxInactiveSeconds(Integer) - Method in interface org.beryx.textio.web.TextIoApp
 
withMaxLength(int) - Method in class org.beryx.textio.StringInputReader
 
withMaxVal(T) - Method in class org.beryx.textio.ComparableInputReader
Configures the maximum allowed value
withMinLength(int) - Method in class org.beryx.textio.StringInputReader
 
withMinVal(T) - Method in class org.beryx.textio.ComparableInputReader
Configures the minimum allowed value
withNumberedPossibleValues(List<T>) - Method in class org.beryx.textio.InputReader
 
withNumberedPossibleValues(T...) - Method in class org.beryx.textio.InputReader
 
withOnAbort(Consumer<String>) - Method in class org.beryx.textio.web.RatpackTextIoApp
 
withOnAbort(Consumer<String>) - Method in class org.beryx.textio.web.SparkTextIoApp
 
withOnAbort(Consumer<String>) - Method in interface org.beryx.textio.web.TextIoApp
 
withOnDispose(Consumer<String>) - Method in class org.beryx.textio.web.RatpackTextIoApp
 
withOnDispose(Consumer<String>) - Method in class org.beryx.textio.web.SparkTextIoApp
 
withOnDispose(Consumer<String>) - Method in interface org.beryx.textio.web.TextIoApp
 
withParseErrorMessagesProvider(InputReader.ErrorMessagesProvider) - Method in class org.beryx.textio.InputReader
 
withPathForGetData(String) - Method in class org.beryx.textio.web.AbstractDataServer
 
withPathForGetData(String) - Method in interface org.beryx.textio.web.DataServer
 
withPathForInitData(String) - Method in class org.beryx.textio.web.AbstractDataServer
 
withPathForInitData(String) - Method in interface org.beryx.textio.web.DataServer
 
withPathForPostInput(String) - Method in class org.beryx.textio.web.AbstractDataServer
 
withPathForPostInput(String) - Method in interface org.beryx.textio.web.DataServer
 
withPattern(String) - Method in class org.beryx.textio.StringInputReader
 
withPattern(String, int) - Method in class org.beryx.textio.StringInputReader
 
withPayload(String) - Method in class org.beryx.textio.ReadInterruptionStrategy
 
withPort(int) - Method in class org.beryx.textio.demo.WebTextIoExecutor
 
withPort(int) - Method in interface org.beryx.textio.web.DataServer
 
withPort(int) - Method in class org.beryx.textio.web.RatpackDataServer
 
withPort(int) - Method in class org.beryx.textio.web.SparkDataServer
 
withPort(Integer) - Method in class org.beryx.textio.web.RatpackTextIoApp
 
withPort(Integer) - Method in class org.beryx.textio.web.SparkTextIoApp
 
withPort(Integer) - Method in interface org.beryx.textio.web.TextIoApp
 
withPossibleValues(List<T>) - Method in class org.beryx.textio.InputReader
 
withPossibleValues(T...) - Method in class org.beryx.textio.InputReader
 
withPromptAdjustments(boolean) - Method in class org.beryx.textio.InputReader
 
withPropertiesConfigurator(Consumer<TerminalProperties<?>>) - Method in class org.beryx.textio.InputReader
Sets a configurator for InputReader-specific properties.
withPropertiesPrefix(String) - Method in class org.beryx.textio.InputReader
Convenience method that calls InputReader.withPropertiesConfigurator(Consumer) with a configurator that takes all terminal properties with the given prefix and applies them after stripping the prefix from their keys.
withRedrawRequired(boolean) - Method in class org.beryx.textio.ReadInterruptionStrategy
 
withReturnValue(String) - Method in class org.beryx.textio.ReadInterruptionData
 
withReturnValueProvider(Function<String, String>) - Method in class org.beryx.textio.ReadHandlerData
 
withSessionDataProvider(Function<Session, Map<String, String>>) - Method in class org.beryx.textio.web.RatpackTextIoApp
 
withSessionDataProvider(Function<Session, Map<String, String>>) - Method in class org.beryx.textio.web.SparkTextIoApp
 
withStaticFilesLocation(String) - Method in class org.beryx.textio.web.RatpackTextIoApp
 
withStaticFilesLocation(String) - Method in class org.beryx.textio.web.SparkTextIoApp
 
withStaticFilesLocation(String) - Method in interface org.beryx.textio.web.TextIoApp
 
withTrueInput(String) - Method in class org.beryx.textio.BooleanInputReader
Configures the string value that corresponds to true.
withValueChecker(InputReader.ValueChecker<T>) - Method in class org.beryx.textio.InputReader
Adds the valueChecker passed as argument.
withValueFormatter(Function<T, String>) - Method in class org.beryx.textio.InputReader
 
withValueListChecker(InputReader.ValueChecker<List<T>>) - Method in class org.beryx.textio.InputReader
Adds the valueListChecker passed as argument.
A B C D E F G H I J K L M N O P R S T U V W 
All Classes All Packages