public class TextEntryGUI extends java.lang.Object implements KeyboardOutput
Constructor and Description |
---|
TextEntryGUI(IStage stage,
java.io.File folder,
java.lang.String id,
java.lang.String prompt)
Instantiates a new text entry gui.
|
Modifier and Type | Method and Description |
---|---|
IItem |
asItem()
As item.
|
void |
close()
Close.
|
void |
onKeyboardOutput(java.lang.String letter)
On keyboard output.
|
public TextEntryGUI(IStage stage, java.io.File folder, java.lang.String id, java.lang.String prompt) throws ContentTypeNotBoundException
stage
- the stagefolder
- the folderid
- the idprompt
- the promptContentTypeNotBoundException
- the content type not bound exceptionpublic IItem asItem()
public void close()
public void onKeyboardOutput(java.lang.String letter)
KeyboardOutput
onKeyboardOutput
in interface KeyboardOutput
letter
- the letter