Package jfxtras.labs.dialogs

Examples of jfxtras.labs.dialogs.MonologFXButton


                Platform.runLater(new Runnable() {
                    @Override
                    public void run() {
                        Main.postConsoleMessage("TinyG Alarm " + line);

                        MonologFXButton btnYes = MonologFXButtonBuilder.create()
                                .defaultButton(true)
                                .icon("/testmonologfx/dialog_apply.png")
                                .type(MonologFXButton.Type.YES)
                                .build();

                        MonologFXButton btnNo = MonologFXButtonBuilder.create()
                                .cancelButton(true)
                                .icon("/testmonologfx/dialog_cancel.png")
                                .type(MonologFXButton.Type.CANCEL)
                                .build();
View Full Code Here


        TinygDriver.getInstance().setTimedout(true)//we set this to tell the firmware updater that we have no clue what platform we are dealing with because it timed out.
        Platform.runLater(new Runnable() {
            @Override
            public void run() {
                Connect.setText("Connect"); //set the text back to "connect" since we are disconnected
                MonologFXButton btnYes = MonologFXButtonBuilder.create()
                        .defaultButton(true)
                        .icon("/testmonologfx/dialog_apply.png")
                        .type(MonologFXButton.Type.CUSTOM2)
                        .label("Auto Upgrade")
                        .build();

                MonologFXButton btnNo = MonologFXButtonBuilder.create()
                        .cancelButton(true)
                        .icon("/testmonologfx/dialog_cancel.png")
                        .type(MonologFXButton.Type.CUSTOM1)
                        .label("Skip")
                        .build();
View Full Code Here

        console.appendText("Your TinyG firmware is too old.  Please update your TinyG Firmware.\n");
        Platform.runLater(new Runnable() {
            @Override
            public void run() {

                MonologFXButton btnYes = MonologFXButtonBuilder.create()
                        .defaultButton(true)
                        .icon("/testmonologfx/dialog_apply.png")
                        .type(MonologFXButton.Type.YES)
                        .build();

                MonologFXButton btnNo = MonologFXButtonBuilder.create()
                        .cancelButton(true)
                        .icon("/testmonologfx/dialog_cancel.png")
                        .type(MonologFXButton.Type.NO)
                        .build();
View Full Code Here

                        Platform.runLater(new Runnable() {
                            @Override
                            public void run() {
                                Main.postConsoleMessage("TinyG Firmware Update Available.");

                                MonologFXButton btnYes = MonologFXButtonBuilder.create()
                                        .defaultButton(true)
                                        .icon("/testmonologfx/dialog_apply.png")
                                        .type(MonologFXButton.Type.YES)
                                        .build();

                                MonologFXButton btnNo = MonologFXButtonBuilder.create()
                                        .cancelButton(true)
                                        .icon("/testmonologfx/dialog_cancel.png")
                                        .type(MonologFXButton.Type.CANCEL)
                                        .build();
View Full Code Here

TOP

Related Classes of jfxtras.labs.dialogs.MonologFXButton

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.