Index
All Classes and Interfaces|All Packages|Constant Field Values
D
- deepCopy(B) - Method in class com.calebleavell.jatui.modules.TUIModule.Builder
-
Wraps
TUIModule.Builder.deepCopy(Builder, Map)to createcopyMapfor us. - deepCopy(B, Map<TUIModule.Builder<?>, TUIModule.Builder<?>>) - Method in class com.calebleavell.jatui.modules.ModuleTemplate
-
Copies all data of
originalinto this module, including a deep copy of all children. - deepCopy(B, Map<TUIModule.Builder<?>, TUIModule.Builder<?>>) - Method in class com.calebleavell.jatui.modules.TUIModule.Builder
-
Copies all data of
originalinto this module, including a deep copy of all children. - deepCopy(TextInputModule.Builder, Map<TUIModule.Builder<?>, TUIModule.Builder<?>>) - Method in class com.calebleavell.jatui.modules.TextInputModule.Builder
-
In order to maintain the reference to the new children, access to the
visitedmap is used, and thusTUIModule.Builder.deepCopy(TUIModule.Builder, Map)needs to be overridden. - DEFAULT_EXIT - Static variable in class com.calebleavell.jatui.modules.ApplicationModule
-
The module that runs by default when the application finishes running
- DEFAULT_SCANNER - Static variable in class com.calebleavell.jatui.modules.TUIModule
-
Reads from System.in.
- dfs(Function<A, Boolean>) - Method in interface com.calebleavell.jatui.core.DirectedGraphNode
-
Executes a DFS on self and all accessible children of the graph.
- dfs(Function<A, Boolean>, Set<A>) - Method in interface com.calebleavell.jatui.core.DirectedGraphNode
-
Executes a DFS on self and all accessible children of the graph.
- DirectedGraphNode<P,
A, - Interface in com.calebleavell.jatui.coreT> -
Provides a mechanism for working with nodes in a directed graph.
- DirectedGraphNode.PropertyUpdateFlag - Enum Class in com.calebleavell.jatui.core
-
Specifies behavior for updating a property of this node.
- displacedChild - Variable in class com.calebleavell.jatui.core.RunFrame
-
This field signals that the running module is replacing the
currentRunningChildof aTUIModule(provided byTUIModule.getCurrentRunningChild()) in order to be able to set it back. - DISPLAY_APP_STATE - Enum constant in enum class com.calebleavell.jatui.modules.TextModule.OutputType
-
Displays the application state, where the input identifier is provided by
TextModule.Builder.text(String) - DISPLAY_TEXT - Enum constant in enum class com.calebleavell.jatui.modules.TextModule.OutputType
-
Displays the text provided by
TextModule.Builder.text(String) - displayText - Variable in class com.calebleavell.jatui.modules.TextInputModule.Builder
-
The
TextModulethat displays text for getting input (e.g., "Your Input: "). - doRunLogic() - Method in class com.calebleavell.jatui.modules.ApplicationModule
- doRunLogic() - Method in class com.calebleavell.jatui.modules.ContainerModule
-
Simply logs the run and calls the super-method provided by
TUIModule.start(). - doRunLogic() - Method in class com.calebleavell.jatui.modules.FunctionModule
-
Runs the stored function, attempts to update the application input based on what the function returned, then runs children as provided by
TUIModule.start() - doRunLogic() - Method in class com.calebleavell.jatui.modules.TextInputModule
-
Displays the displayText given in the constructor for
TextInputModule.Builder, collects input from the scanner given inTUIModule.Builder.scanner(Scanner)then updates the application it's tied to store the input (This can be accessed viaApplicationModule.getInput(String)). - doRunLogic() - Method in class com.calebleavell.jatui.modules.TextModule
-
Outputs text via the behavior given by
TextModule.OutputType. - doRunLogic() - Method in class com.calebleavell.jatui.modules.TUIModule
-
The module-specific logic to run.
All Classes and Interfaces|All Packages|Constant Field Values