Example usage for Java javafx.scene.control ButtonType fields, constructors, methods, implement or subclass
The text is from its open source code.
ButtonType | APPLY A pre-defined ButtonType that displays "Apply" and has a ButtonData of ButtonData#APPLY . |
ButtonType | OK A pre-defined ButtonType that displays "OK" and has a ButtonData of ButtonData#OK_DONE . |
ButtonType | CANCEL A pre-defined ButtonType that displays "Cancel" and has a ButtonData of ButtonData#CANCEL_CLOSE . |
ButtonType | CLOSE A pre-defined ButtonType that displays "Close" and has a ButtonData of ButtonData#CANCEL_CLOSE . |
ButtonType | YES A pre-defined ButtonType that displays "Yes" and has a ButtonData of ButtonData#YES . |
ButtonType | NO A pre-defined ButtonType that displays "No" and has a ButtonData of ButtonData#NO . |
ButtonType | PREVIOUS A pre-defined ButtonType that displays "Previous" and has a ButtonData of ButtonData#BACK_PREVIOUS . |
ButtonType(@NamedArg("text") String text) Creates a ButtonType instance with the given text, and the ButtonData set as ButtonData#OTHER . | |
ButtonType(@NamedArg("text") String text, @NamedArg("buttonData") ButtonData buttonData) Creates a ButtonType instance with the given text, and the ButtonData set as specified. |
ButtonData | getButtonData() Returns the ButtonData specified for this ButtonType in the constructor. |