Package org.rat.free.security.makifx.core.utils

Examples of org.rat.free.security.makifx.core.utils.AnswarePopupMessage


            }
        });

        export_btn_exec.setGraphic(new ImageView(UtilityFX.getImage("inbox_48.png")));
        export_btn_exec.setOnAction((ActionEvent e) -> {
            manager.createPopupMessage("export_plugin_question_operation", new AnswarePopupMessage() {

                @Override
                public void onOkAnsware() {
                    importData();
                }
View Full Code Here


        }
        return false;
    }

    private void printAllAccounts() {
        manager.createPopupMessage("account_print_operation", new AnswarePopupMessage() {
            @Override
            public void onOkAnsware() {
                try {
                    DocFlavor flavor = DocFlavor.INPUT_STREAM.AUTOSENSE;
                    PrintService service = PrintServiceLookup.lookupDefaultPrintService();
View Full Code Here

        });
        return new ByteArrayInputStream(UtilityFX.getUTF8Bytes(sb.toString()));
    }

    private void showWarningPrint(Exception exc) {
        manager.createPopupMessage("account_err_print_operation", new AnswarePopupMessage() {
            @Override
            public void onOkAnsware() {
            }

            @Override
View Full Code Here

        if (data_table.contains(editor)) {

            String title = editor.getNode().getProperties().get("title");

            manager.createPopupMessage("delete_account", new AnswarePopupMessage() {
                @Override
                public void onOkAnsware() {
                    deleteAccount(editor);
                }
View Full Code Here

            evt.consume();

            showMessage("close_editor_invalid_title_message", "Invalid Title.",
                    "Press Ok to delete the account or Cancel to edit it.",
                    "Ok", "Cancel", false, new AnswarePopupMessage() {
                        @Override
                        public void onOkAnsware() {

                            UtilityFX.log("INVALID TITLE REMOVE! tit:" + tit);
                            deleteAccount(editor);
View Full Code Here

    public static class InfoButton {

        public static ToolBarAction.Button create(@Nonnull final String content, @Nonnull final ManagerInterface manager) {
            return ToolBarAction.newButton("__btn_base_info", "Info",
                    "info_24.png", (ActionEvent e) -> {
                        manager.createPopupMessage("bk_info", new AnswarePopupMessage() {
                            @Override
                            public void onOkAnsware() {
                            }

                            @Override
View Full Code Here

                    @Override
                    public void onLinkPressed() {

                        InternalPopupMessage ipm = createPopupMessage("about",
                                new AnswarePopupMessage() {
                                    @Override
                                    public void onOkAnsware() {
                                    }

                                    @Override
View Full Code Here

        }
    }

    private void showWelcomeMessageInfo() {
        InternalPopupMessage ipm = createPopupMessage("welcome_message_info",
                new AnswarePopupMessage() {
                    @Override
                    public void onOkAnsware() {
                        setStatusMessage("Press Confirm to save any changes.", 3000);
                    }
View Full Code Here

        }
        ipm.show();
    }

    private void alert(String id, String header, String content, boolean show_again) {
        InternalPopupMessage ipm = createPopupMessage(id, new AnswarePopupMessage() {
            @Override
            public void onOkAnsware() {
            }

            @Override
View Full Code Here

        }
        ipm.show();
    }

    private void alertForceExit(String id, String header, String content) {
        InternalPopupMessage ipm = createPopupMessage(id, new AnswarePopupMessage() {
            @Override
            public void onOkAnsware() {
                sysExit(__EXIT_NO_ERROR__);
            }
View Full Code Here

TOP

Related Classes of org.rat.free.security.makifx.core.utils.AnswarePopupMessage

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.