public class Dialogs extends Object
| Modifier and Type | Method and Description |
|---|---|
static javafx.scene.control.Dialog<String[]> |
getDialog(String title,
javafx.scene.control.ButtonType ok)
获得一个
Dialog对象 |
static javafx.scene.layout.GridPane |
getGridPane()
获取一个
GridPane对象 |
static String |
showInputDialog(String title,
String header,
String content,
String defaultValue)
弹出输入框
|
public static String showInputDialog(String title, String header, String content, String defaultValue)
title - 标题header - 信息头content - 内容defaultValue - 输入框默认值public static javafx.scene.layout.GridPane getGridPane()
GridPane对象GridPaneCopyright © 2018. All rights reserved.