Commit | Line | Data |
---|---|---|
a3b510ab NR |
1 | package com.googlecode.lanterna.gui2; |
2 | ||
3 | /** | |
4 | * Factory class for creating {@code TextGUIThread} objects. This is used by {@code TextGUI} implementations to assign | |
5 | * their local {@code TextGUIThread} reference | |
6 | */ | |
7 | public interface TextGUIThreadFactory { | |
8 | /** | |
9 | * Creates a new {@code TextGUIThread} objects | |
10 | * @param textGUI {@code TextGUI} this {@code TextGUIThread} should be associated with | |
11 | * @return The new {@code TextGUIThread} | |
12 | */ | |
13 | TextGUIThread createTextGUIThread(TextGUI textGUI); | |
14 | } |