public class FontDialog extends Dialog
CANCEL_BUTTON, OK_BUTTON| Constructor and Description |
|---|
FontDialog(javafx.stage.Window parent,
java.lang.String title)
Create a new dialog
|
| Modifier and Type | Method and Description |
|---|---|
protected javafx.scene.Node |
createDialogArea() |
javafx.beans.property.ObjectProperty<javafx.scene.text.Font> |
font() |
javafx.scene.text.Font |
getFont() |
void |
setFont(javafx.scene.text.Font f)
Update the current selected font
|
buttonPressed, cancelPressed, close, create, createButtonBar, createButtonForBar, createButtonsForBar, createContents, getBounds, getContentInset, getCustomWindowPane, getInitialContentSize, getInitialLocation, getInitialSize, getModality, getStylesheets, isCancelDefault, isOkDefault, okPressed, open, pack, preopen, setBounds, setReturnCodepublic FontDialog(javafx.stage.Window parent,
java.lang.String title)
parent - the parenttitle - the titlepublic javafx.beans.property.ObjectProperty<javafx.scene.text.Font> font()
public void setFont(javafx.scene.text.Font f)
f - the new fontpublic javafx.scene.text.Font getFont()
protected javafx.scene.Node createDialogArea()
createDialogArea in class Dialog