Examples of SensibleEditorComponent


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

    private void sensibleValueInitCases(@Nonnegative short type,
            @Nonnull Node comp,
            @Nonnull EncryptedNode node,
            @Nonnull String sensible_key) {

        SensibleEditorComponent secomp = null;
        Label cell = null;

        if (comp instanceof SensibleEditorComponent) {
            secomp = (SensibleEditorComponent) comp;
        } else {
            cell = (Label) comp;
        }

        try {
            switch (type) {
                case SensibleValueTypeListener.CLEAR_VALUE_TYPE: {

                    String value = getSensibleValue(node, sensible_key);

                    if (secomp != null) {
                        secomp.setValueInClear(value);
                    } else {
                        cell.setText(value);
                        cell.setId("generic_label");
                    }
                    break;
                }
                case SensibleValueTypeListener.PASS_VALUE_TYPE: {

                    String value = getSensibleValue(node, sensible_key);

                    if (secomp != null) {
                        secomp.setValueInPassword(value.toCharArray());
                    } else {

                        String ris = "";
                        for (int i = 0; i < value.length(); i++) {
                            ris += '*';
                        }

                        cell.setText(ris);
                        cell.setId("generic_label");
                    }
                    break;
                }
                case SensibleValueTypeListener.HIDDEN_VALUE_TYPE: {
                    if (secomp != null) {
                        secomp.setValueHidden();
                    } else {
                        cell.setId("hidden_label");
                        cell.setText("<"
                                + RBLoader.ll(
                                        SensibleEditorComponent.HIDDEN_TXT) + ">");
View Full Code Here

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

            __tab_edit_title_txt.setText("");
            __tab_edit_url_txt.setText("");
            __tab_edit_area_comment.setText("");
            __tab_edit_email_txt.setText("");

            __username_editor = new SensibleEditorComponent();
            __tab_edit_pane_user.getChildren().add(__username_editor);

            __pass1_editor = new SensibleEditorComponent();
            __tab_edit_pane_pass1.getChildren().add(__pass1_editor);

            __pass2_editor = new SensibleEditorComponent();
            __tab_edit_pane_pass2.getChildren().add(__pass2_editor);

            __tab_edit_bookmark.getChildren().add(__combo_book);

            Label safety_lbl = (Label) UtilityFX.getFromCacheNode("safety_lbl");
View Full Code Here

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

        flow.getChildren().clear();
        flow.setHgap(0);
        flow.setVgap(0);
        flow.setAlignment(Pos.CENTER_LEFT);

        final SensibleEditorComponent sens_clear = new SensibleEditorComponent();
        sens_clear.setVisibleGraphicsEffects(false);
        sens_clear.setSensiblePreferedWidth(320.0);
        sens_clear.setComboTypeVisible(false);
        sens_clear.setValueInClearPassword(password.toCharArray());
        flow.getChildren().add(sens_clear);

        Button btn = new Button(RBLoader.ll("Copy To Clipboard"));
        btn.setOnAction((ActionEvent e) -> {
            manager.copyToScrambledClipboard(sens_clear.getValue());
        });
        flow.getChildren().add(btn);
    }
View Full Code Here

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

        flow.getChildren().clear();
        flow.setHgap(0);
        flow.setVgap(0);
        flow.setAlignment(Pos.CENTER_LEFT);

        final SensibleEditorComponent sens_clear = new SensibleEditorComponent();
        sens_clear.setVisibleGraphicsEffects(false);
        sens_clear.setSensiblePreferedWidth(320.0);
        sens_clear.setComboTypeVisible(false);
        sens_clear.setValueInClearPassword(password.toCharArray());
        flow.getChildren().add(sens_clear);

        Button btn = new Button(RBLoader.ll("Copy To Clipboard"));
        btn.setOnAction((ActionEvent e) -> {
            manager.copyToScrambledClipboard(sens_clear.getValue());
        });
        flow.getChildren().add(btn);
    }
View Full Code Here

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

    private void sensibleValueInitCases(@Nonnegative short type,
            @Nonnull Node comp,
            @Nonnull EncryptedNode node,
            @Nonnull String sensible_key) {

        SensibleEditorComponent secomp = null;
        Label cell = null;

        if (comp instanceof SensibleEditorComponent) {
            secomp = (SensibleEditorComponent) comp;
        } else {
            cell = (Label) comp;
        }

        try {
            switch (type) {
                case SensibleValueTypeListener.CLEAR_VALUE_TYPE: {

                    String value = getSensibleValue(node, sensible_key);

                    if (secomp != null) {
                        secomp.setValueInClear(value);
                    } else {
                        cell.setText(value);
                        cell.setId("generic_label");
                    }
                    break;
                }
                case SensibleValueTypeListener.PASS_VALUE_TYPE: {

                    String value = getSensibleValue(node, sensible_key);

                    if (secomp != null) {
                        secomp.setValueInPassword(value.toCharArray());
                    } else {

                        String ris = "";
                        for (int i = 0; i < value.length(); i++) {
                            ris += '*';
                        }

                        cell.setText(ris);
                        cell.setId("generic_label");
                    }
                    break;
                }
                case SensibleValueTypeListener.HIDDEN_VALUE_TYPE: {
                    if (secomp != null) {
                        secomp.setValueHidden();
                    } else {
                        cell.setId("hidden_label");
                        cell.setText("<"
                                + RBLoader.ll(
                                        SensibleEditorComponent.HIDDEN_TXT) + ">");
View Full Code Here

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

            __tab_edit_title_txt.setText("");
            __tab_edit_url_txt.setText("");
            __tab_edit_area_comment.setText("");
            __tab_edit_email_txt.setText("");

            __username_editor = new SensibleEditorComponent();
            __tab_edit_pane_user.getChildren().add(__username_editor);

            __pass1_editor = new SensibleEditorComponent();
            __tab_edit_pane_pass1.getChildren().add(__pass1_editor);

            __pass2_editor = new SensibleEditorComponent();
            __tab_edit_pane_pass2.getChildren().add(__pass2_editor);

            __tab_edit_bookmark.getChildren().add(__combo_book);

            Label safety_lbl = (Label) UtilityFX.getFromCacheNode("safety_lbl");
View Full Code Here

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

                changeMasterPwd();
            });

            ck_simulate_keys.setSelected("true".equals(settings.get("key.random.keys")));

            pass = new SensibleEditorComponent();
            pass.setVisibleGraphicsEffects(false);
            pass.setSensiblePreferedWidth(300.0);
            pass.setComboTypeVisible(false);
            pass.setValueInPassword("".toCharArray());
            pass.setEditorDisable(true);
View Full Code Here

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

                changeMasterPwd();
            });

            ck_simulate_keys.setSelected("true".equals(settings.get("key.random.keys")));

            pass = new SensibleEditorComponent();
            pass.setVisibleGraphicsEffects(false);
            pass.setSensiblePreferedWidth(300.0);
            pass.setComboTypeVisible(false);
            pass.setValueInPassword("".toCharArray());
            pass.setEditorDisable(true);
View Full Code Here

Examples of org.rat.free.security.makifx.utils.SensibleEditorComponent

    private void sensibleValueInitCases(@Nonnegative short type,
            @Nonnull Node comp,
            @Nonnull EncryptedNode node,
            @Nonnull String sensible_key) {

        SensibleEditorComponent secomp = null;
        Label cell = null;

        if (comp instanceof SensibleEditorComponent) {
            secomp = (SensibleEditorComponent) comp;
        } else {
            cell = (Label) comp;
        }

        try {
            switch (type) {
                case SensibleValueTypeListener.CLEAR_VALUE_TYPE: {

                    String value = getSensibleValue(node, sensible_key);

                    if (secomp != null) {
                        secomp.setValueInClear(value);
                    } else {
                        cell.setText(value);
                        cell.setId("generic_label");
                    }
                    break;
                }
                case SensibleValueTypeListener.PASS_VALUE_TYPE: {

                    String value = getSensibleValue(node, sensible_key);

                    if (secomp != null) {
                        secomp.setValueInPassword(value.toCharArray());
                    } else {

                        String ris = "";
                        for (int i = 0; i < value.length(); i++) {
                            ris += '*';
                        }

                        cell.setText(ris);
                        cell.setId("generic_label");
                    }
                    break;
                }
                case SensibleValueTypeListener.HIDDEN_VALUE_TYPE: {
                    if (secomp != null) {
                        secomp.setValueHidden();
                    } else {
                        cell.setId("hidden_label");
                        cell.setText("<"
                                + RBLoader.ll(
                                        SensibleEditorComponent.HIDDEN_TXT) + ">");
View Full Code Here

Examples of org.rat.free.security.makifx.utils.SensibleEditorComponent

            __tab_edit_title_txt.setText("");
            __tab_edit_url_txt.setText("");
            __tab_edit_area_comment.setText("");
            __tab_edit_email_txt.setText("");

            __username_editor = new SensibleEditorComponent();
            __tab_edit_pane_user.getChildren().add(__username_editor);

            __pass1_editor = new SensibleEditorComponent();
            __tab_edit_pane_pass1.getChildren().add(__pass1_editor);

            __pass2_editor = new SensibleEditorComponent();
            __tab_edit_pane_pass2.getChildren().add(__pass2_editor);

            __tab_edit_bookmark.getChildren().add(__combo_book);

            Label safety_lbl = (Label) Utility.getFromCacheNode("safety_lbl");
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.