Index
All Classes and Interfaces|All Packages|Constant Field Values
G
- getAnsi() - Method in class com.calebleavell.jatui.modules.TUIModule.Builder
-
If this module displays text, this is the ansi that determines the text styling of that module (e.g., coloring, bolding, etc.).
- getAnsi() - Method in class com.calebleavell.jatui.modules.TUIModule
-
If this module displays text, this is the ansi that determines the text styling of that module (e.g., coloring, bolding, etc.).
- getAnsiEnabled() - Method in class com.calebleavell.jatui.modules.TUIModule.Builder
-
Whether ansi is enabled applies to modules who may display text (e.g.,
TextModule). - getAnsiEnabled() - Method in class com.calebleavell.jatui.modules.TUIModule
-
Whether ansi is enabled applies to modules who may display text (e.g.,
TextModule). - getApplication() - Method in class com.calebleavell.jatui.modules.TUIModule.Builder
-
The
ApplicationModulethis module is tied to. - getApplication() - Method in class com.calebleavell.jatui.modules.TUIModule
-
The
ApplicationModulethis module is tied to. - getChild(String) - Method in class com.calebleavell.jatui.modules.TUIModule.Builder
-
Finds a child matching the name.
- getChild(String) - Method in class com.calebleavell.jatui.modules.TUIModule
-
Recursively searches for a child and returns it if it exists.
- getChild(String, Class<T>) - Method in class com.calebleavell.jatui.modules.TUIModule.Builder
-
Finds a child matching the name and class type.
- getChild(String, Class<T>) - Method in class com.calebleavell.jatui.modules.TUIModule
-
Recursively searches for a child and returns it as T, if it exists as type T.
- getChildren() - Method in interface com.calebleavell.jatui.core.DirectedGraphNode
-
Connections between nodes are established by giving a node "children".
- getChildren() - Method in class com.calebleavell.jatui.modules.TUIModule.Builder
-
Get the TUIModule Builders that are the children of this builder, in the order they will be run.
- getChildren() - Method in class com.calebleavell.jatui.modules.TUIModule
- getCopy() - Method in class com.calebleavell.jatui.modules.NameOrModule
-
Creates a new instance of this
NameOrModuleobject that remembers a copy of the module if a concrete reference was stored, or the same name if only the name was stored. - getCopy() - Method in class com.calebleavell.jatui.modules.TUIModule.Builder
-
Creates a deep copy of this node and it's children; delegates to getDeepCopy(), created for simplicity.
- getCurrent() - Method in class com.calebleavell.jatui.templates.TextChain
-
currentis a reference of the most recently added text is saved to callTextModule.Builder.printNewLine(boolean)ifTextChain.newLine()is called. - getCurrentRunningBranch() - Method in class com.calebleavell.jatui.modules.TUIModule
-
When a module is running it runs its children, and its currently running child runs its children, and that child's currently running child runs its children, etc.
- getCurrentRunningChild() - Method in class com.calebleavell.jatui.modules.TUIModule
- getCurrentRunningChild(String) - Method in class com.calebleavell.jatui.modules.TUIModule
-
Searches for a child in the current running branch and returns it, if it exists.
- getDeepCopy() - Method in class com.calebleavell.jatui.modules.TUIModule.Builder
-
Creates a deep copy of this node and it's children
- getDisplayText() - Method in class com.calebleavell.jatui.modules.TextInputModule.Builder
-
The
TextModulethat displays text for getting input (e.g., "Your Input: "). - getDisplayText() - Method in class com.calebleavell.jatui.templates.PasswordInput
-
displayTextis the text to display before getting input (e.g., "Password: "). - getExceptionHandler() - Method in class com.calebleavell.jatui.templates.InputHandler
-
exceptionHandlerhandles instances ofRuntimeExceptionthrown byInputHandler.logicifInputHandler.handlerTypeisInputHandler.HandlerType.SAFE_HANDLER. - getFunction() - Method in class com.calebleavell.jatui.modules.FunctionModule.Builder
-
The function is the
Supplierlogic that this module will execute when it is run. - getFunction() - Method in class com.calebleavell.jatui.modules.FunctionModule
-
The function is the
Supplierlogic that this module will execute when it is run. - getHome() - Method in class com.calebleavell.jatui.modules.ApplicationModule.Builder
-
Gets the home of the application.
- getHome() - Method in class com.calebleavell.jatui.modules.ApplicationModule
-
The home of a
ApplicationModuleis simply it's first child. - getInput() - Method in class com.calebleavell.jatui.modules.TextInputModule
-
Retrieve the input collected on
TextInputModule.doRunLogic(). - getInput(String) - Method in class com.calebleavell.jatui.modules.ApplicationModule
-
Return the input corresponding to a given name.
- getInput(String, Class<T>) - Method in class com.calebleavell.jatui.modules.ApplicationModule
-
Returns the input for the given module only if 1.
- getInputName() - Method in class com.calebleavell.jatui.templates.InputHandler
-
inputNameis the name of the app state to read. - getInputOrDefault(String, Class<T>, T) - Method in class com.calebleavell.jatui.modules.ApplicationModule
-
Returns the input for the given module only if 1.
- getLogic() - Method in class com.calebleavell.jatui.templates.InputHandler
-
logicis the logic that runs on input ifInputHandler.handlerTypeisInputHandler.HandlerType.HANDLERorInputHandler.HandlerType.SAFE_HANDLER. - getModule() - Method in class com.calebleavell.jatui.templates.InputHandler
-
moduleis the name of theFunctionModuleto create and thus the identifier of the returned value forInputHandler.logicifInputHandler.handlerTypeisInputHandler.HandlerType.HANDLERorInputHandler.HandlerType.SAFE_HANDLER. - getModule(ApplicationModule) - Method in class com.calebleavell.jatui.modules.NameOrModule
-
Fetches the module that was inputted from either the concrete reference or the name.
- getModuleName() - Method in class com.calebleavell.jatui.templates.InputHandler
-
moduleNameis the name of theFunctionModuleto create and thus the identifier of the returned value forInputHandler.logicifInputHandler.handlerTypeisInputHandler.HandlerType.HANDLERorInputHandler.HandlerType.SAFE_HANDLER. - getName() - Method in class com.calebleavell.jatui.modules.TUIModule.Builder
- getName() - Method in class com.calebleavell.jatui.modules.TUIModule
- getOnExit() - Method in class com.calebleavell.jatui.modules.ApplicationModule.Builder
-
Gets the
onExitmodule for the application. - getOnExit() - Method in class com.calebleavell.jatui.modules.ApplicationModule
-
The onExit of a
ApplicationModuleis not a child of the application module. - getOutput() - Method in class com.calebleavell.jatui.util.IOCapture
- getOutputType() - Method in class com.calebleavell.jatui.modules.TextModule.Builder
-
Get the
TextModule.OutputTypethat defines the behavior of this module. - getPrintNewLine() - Method in class com.calebleavell.jatui.modules.TextModule.Builder
-
If
printNewLineis true, this module prints a new line after outputting. - getPrintStream() - Method in class com.calebleavell.jatui.modules.TUIModule.Builder
-
PrintStream that outputs data to the defined location.
- getPrintStream() - Method in class com.calebleavell.jatui.modules.TUIModule
-
PrintStream that outputs data to the defined location.
- getPrintStream() - Method in class com.calebleavell.jatui.util.IOCapture
- getPropertyUpdateFlags() - Method in interface com.calebleavell.jatui.core.DirectedGraphNode
-
Get the map of the flag set for each property.
- getPropertyUpdateFlags() - Method in class com.calebleavell.jatui.modules.TUIModule.Builder
-
The
PropertyUpdateFlagsdetermine the behavior of property propagation. - getScanner() - Method in class com.calebleavell.jatui.modules.TUIModule.Builder
-
The Scanner that reads input from the defined source.
- getScanner() - Method in class com.calebleavell.jatui.modules.TUIModule
-
The Scanner that reads input from the defined source.
- getScanner() - Method in class com.calebleavell.jatui.util.IOCapture
- getText() - Method in class com.calebleavell.jatui.modules.TextModule.Builder
-
Get the text that defines how this module outputs.
- getType() - Method in interface com.calebleavell.jatui.core.DirectedGraphNode
-
Get the
Class<T>type of the current Node - getType() - Method in class com.calebleavell.jatui.modules.TUIModule.Builder
-
Gets the type of this module; enables the CRTP.
- getValidConfirm() - Method in class com.calebleavell.jatui.templates.ConfirmationPrompt
-
Gets the inputs that are considered confirmation from the user (yes/y) by default.
- getValidDeny() - Method in class com.calebleavell.jatui.templates.ConfirmationPrompt
-
Gets the inputs that are considered denial from the user (no/n) by default.
All Classes and Interfaces|All Packages|Constant Field Values