public class FontDialog
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static int |
DEFAULT_FONT_SIZE
The default font size
|
private static int |
FONT_MULTIPLIER
The number by which to multiply the input font size
|
private static java.util.ArrayList<java.lang.String> |
fonts
The list of fonts which should be available in the dropdown menu
|
private javafx.scene.control.Dialog<javafx.util.Pair<java.lang.String,java.lang.Integer>> |
textDialog |
Constructor and Description |
---|
FontDialog()
Create a FontDialog
|
Modifier and Type | Method and Description |
---|---|
javafx.util.Pair<java.lang.String,java.lang.Integer> |
showAndWait()
Prompts the user for a choice of font
|
private static final int FONT_MULTIPLIER
private static final int DEFAULT_FONT_SIZE
private static final java.util.ArrayList<java.lang.String> fonts
private javafx.scene.control.Dialog<javafx.util.Pair<java.lang.String,java.lang.Integer>> textDialog