Uses of Class
javafx.scene.control.ButtonType
-
Packages that use ButtonType Package Description javafx.scene.control The JavaFX User Interface Controls (UI Controls or just Controls) are specialized Nodes in the JavaFX Scenegraph especially suited for reuse in many different application contexts. -
-
Uses of ButtonType in javafx.scene.control
Fields in javafx.scene.control declared as ButtonType Modifier and Type Field Description static ButtonTypeButtonType. APPLYA pre-definedButtonTypethat displays "Apply" and has aButtonBar.ButtonDataofButtonBar.ButtonData.APPLY.static ButtonTypeButtonType. CANCELA pre-definedButtonTypethat displays "Cancel" and has aButtonBar.ButtonDataofButtonBar.ButtonData.CANCEL_CLOSE.static ButtonTypeButtonType. CLOSEA pre-definedButtonTypethat displays "Close" and has aButtonBar.ButtonDataofButtonBar.ButtonData.CANCEL_CLOSE.static ButtonTypeButtonType. FINISHA pre-definedButtonTypethat displays "Finish" and has aButtonBar.ButtonDataofButtonBar.ButtonData.FINISH.static ButtonTypeButtonType. NEXTA pre-definedButtonTypethat displays "Next" and has aButtonBar.ButtonDataofButtonBar.ButtonData.NEXT_FORWARD.static ButtonTypeButtonType. NOA pre-definedButtonTypethat displays "No" and has aButtonBar.ButtonDataofButtonBar.ButtonData.NO.static ButtonTypeButtonType. OKA pre-definedButtonTypethat displays "OK" and has aButtonBar.ButtonDataofButtonBar.ButtonData.OK_DONE.static ButtonTypeButtonType. PREVIOUSA pre-definedButtonTypethat displays "Previous" and has aButtonBar.ButtonDataofButtonBar.ButtonData.BACK_PREVIOUS.static ButtonTypeButtonType. YESA pre-definedButtonTypethat displays "Yes" and has aButtonBar.ButtonDataofButtonBar.ButtonData.YES.Methods in javafx.scene.control that return types with arguments of type ButtonType Modifier and Type Method Description ObservableList<ButtonType>Alert. getButtonTypes()Returns anObservableListof allButtonTypeinstances that are currently set inside this Alert instance.ObservableList<ButtonType>DialogPane. getButtonTypes()Observable list of button types used for the dialog button bar area (created via theDialogPane.createButtonBar()method).Callback<ButtonType,R>Dialog. getResultConverter()Gets the value of the property resultConverter.ObjectProperty<Callback<ButtonType,R>>Dialog. resultConverterProperty()API to convert theButtonTypethat the user clicked on into a result that can be returned via theresultproperty.Methods in javafx.scene.control with parameters of type ButtonType Modifier and Type Method Description protected NodeDialogPane. createButton(ButtonType buttonType)This method can be overridden by subclasses to create a custom button that will subsequently inserted into the DialogPane button area (created via theDialogPane.createButtonBar()method, but mostly commonly it is an instance ofButtonBar.NodeDialogPane. lookupButton(ButtonType buttonType)This method provides a way in which developers may retrieve the actual Node for a givenButtonType(assuming it is part of thebutton typeslist).Method parameters in javafx.scene.control with type arguments of type ButtonType Modifier and Type Method Description voidDialog. setResultConverter(Callback<ButtonType,R> value)Sets the value of the property resultConverter.Constructors in javafx.scene.control with parameters of type ButtonType Constructor Description Alert(Alert.AlertType alertType, String contentText, ButtonType... buttons)Creates an alert with the given contentText, ButtonTypes, and AlertType (refer to theAlert.AlertTypedocumentation for clarification over which one is most appropriate).
-