public class TextDialog
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private FontDialog |
fontDialog
The FontDialog instance which will be accessed when the user attempts to change the font
|
private javafx.scene.control.Dialog<java.lang.String> |
textDialog |
Constructor and Description |
---|
TextDialog(PaintController controller)
Create a TextDialog
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
showAndWait()
Prompts the user for text input
|
private FontDialog fontDialog
private javafx.scene.control.Dialog<java.lang.String> textDialog
public TextDialog(PaintController controller)
controller
- The PaintController this object will use to change the font and size