Uses of Class
javafx.scene.control.ButtonType
-
Packages that use ButtonType 软件包 描述 javafx.scene.control JavaFX用户界面控件(UI控件或仅控件)是JavaFX场景中的专用节点,特别适用于许多不同应用程序环境中的重用。 -
-
Uses of ButtonType in javafx.scene.control
Methods in javafx.scene.control that return types with arguments of type ButtonType Modifier and Type 方法 描述 ObservableList<ButtonType>Alert. getButtonTypes()返回当前在此Alert实例中设置的所有ButtonType个实例中的ObservableList。ObservableList<ButtonType>DialogPane. getButtonTypes()用于对话框按钮栏区域的按钮类型的可观察列表(通过DialogPane.createButtonBar()方法创建)。Callback<ButtonType,R>Dialog. getResultConverter()获取属性resultConverter的值。ObjectProperty<Callback<ButtonType,R>>Dialog. resultConverterProperty()将用户点击的ButtonType转换为可通过result属性返回的结果的API 。Methods in javafx.scene.control with parameters of type ButtonType Modifier and Type 方法 描述 protected NodeDialogPane. createButton(ButtonType buttonType)这个方法可以被子类覆盖,创建一个随后插入DialogPane按钮区域的自定义按钮(通过DialogPane.createButtonBar()方法创建,但是通常是ButtonBar的一个实例)。NodeDialogPane. lookupButton(ButtonType buttonType)该方法提供了开发人员可以为给定的ButtonType检索实际节点的方式 (假定它是button types列表的一部分)。Method parameters in javafx.scene.control with type arguments of type ButtonType Modifier and Type 方法 描述 voidDialog. setResultConverter(Callback<ButtonType,R> value)设置属性resultConverter的值。Constructors in javafx.scene.control with parameters of type ButtonType Constructor 描述 Alert(Alert.AlertType alertType, String contentText, ButtonType... buttons)使用给定的contentText,ButtonTypes和AlertType创建警报(请参阅Alert.AlertType文档以了解哪一个是最合适的)。
-