Package jfxtras.labs.dialogs

Examples of jfxtras.labs.dialogs.MonologFX


                                .cancelButton(true)
                                .icon("/testmonologfx/dialog_cancel.png")
                                .type(MonologFXButton.Type.CANCEL)
                                .build();

                        MonologFX mono = MonologFXBuilder.create()
                                .titleText("Error Occured")
                                .message("You have triggered a limit switch.  TinyG is now in DISABLED mode. \n"
                                + "Manually back your machine off of its limit switches.\n  Once done, if you would like to re-enable TinyG click yes.")
                                .button(btnYes)
                                .button(btnNo)
                                .type(MonologFX.Type.ERROR)
                                .build();

                        MonologFXButton.Type retval = mono.showDialog();

                        switch (retval) {
                            case YES:
                                logger.info("Clicked Yes");
View Full Code Here


                        .icon("/testmonologfx/dialog_cancel.png")
                        .type(MonologFXButton.Type.CUSTOM1)
                        .label("Skip")
                        .build();

                MonologFX mono = MonologFXBuilder.create()
                        .titleText("TinyG Connection Timeout")
                        .message("tgFX timed out while trying to connect to your TinyG.\nYour TinyG might have a version of firmware that is too old or"
                                + " you might have selected the wrong serial port.  \nClick Auto Upgrade to attempt to upgrade your TinyG. This feature only works for TinyG boards not the Arduino Due port of TinyG."
                                + "\nA Internet Connection is Required.  Clicking No will allow you to select a different serial port to try to connect to a different serial port.")
                        .button(btnYes)
                        .button(btnNo)
                        .type(MonologFX.Type.ERROR)
                        .build();

                MonologFXButton.Type retval = mono.showDialog();

                switch (retval) {
                    case CUSTOM2:
                        logger.info("Clicked Auto Upgrade");
View Full Code Here

                        .cancelButton(true)
                        .icon("/testmonologfx/dialog_cancel.png")
                        .type(MonologFXButton.Type.NO)
                        .build();

                MonologFX mono = MonologFXBuilder.create()
                        .titleText("TinyG Firware Build Outdated...")
                        .message("Your TinyG firmware is too old to be used with tgFX. \nYour build version: " + tg.machine.getFirmwareBuild() + "\n"
                                + "Minmal Needed Version: " + tg.machine.hardwarePlatform.getMinimalBuildVersion().toString() + "\n\n"
                                + "Click ok to attempt to auto upgrade your TinyG. \nA Internet Connection is Required."
                                + "\nClicking No will exit tgFX.")
                        .button(btnYes)
                        .button(btnNo)
                        .type(MonologFX.Type.ERROR)
                        .build();

                MonologFXButton.Type retval = mono.showDialog();

                switch (retval) {
                    case YES:
                        logger.info("Clicked Yes");
View Full Code Here

                                        .cancelButton(true)
                                        .icon("/testmonologfx/dialog_cancel.png")
                                        .type(MonologFXButton.Type.CANCEL)
                                        .build();

                                MonologFX mono = MonologFXBuilder.create()
                                        .titleText("Firmware Update Available")
                                        .message("There is a firmware update available for your TinyG Hardware. \n"
                                                + "\n Click Yes to start your firmware update.")
                                        .button(btnYes)
                                        .button(btnNo)
                                        .type(MonologFX.Type.ERROR)
                                        .build();

                                MonologFXButton.Type retval = mono.showDialog();

                                switch (retval) {
                                    case YES:
//                                logger.info("Clicked Yes");
View Full Code Here

TOP

Related Classes of jfxtras.labs.dialogs.MonologFX

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.