Search in sources :

Example 81 with Tooltip

use of javafx.scene.control.Tooltip in project Money-Manager by krHasan.

the class NewUserRegistrationController method initialize.

// /////////////////////// General Function //////////////
@FXML
public void initialize() {
    loadSQuestion();
    btnCancel.setTooltip(new Tooltip("Cancel the registration process and take you to Sign In Window"));
    btnRegistration.setTooltip(new Tooltip("If all data typed correctly, \n" + "then you will register as a new user"));
    Tooltip.install(txtName, new Tooltip("Write your full name"));
    Tooltip.install(txtUsername, new Tooltip("Give a username, this will use at the time of login\n" + "This should not contain space"));
    Tooltip.install(passPassword, new Tooltip("Give a password, this should not contain space"));
    Tooltip.install(passReTypePassword, new Tooltip("Retype the password"));
    Tooltip.install(cmboSecurityQuestion, new Tooltip("Choose a security question"));
    Tooltip.install(txtAnswer, new Tooltip("Answer your question. Remember this answer.\n" + "If you forget your password, this will \n" + "help you to recover your account."));
}
Also used : Tooltip(javafx.scene.control.Tooltip) FXML(javafx.fxml.FXML)

Example 82 with Tooltip

use of javafx.scene.control.Tooltip in project Money-Manager by krHasan.

the class RegistrationIssueController method initialize.

@FXML
public void initialize() {
    lodingStatus = new TabAccess().getreRegistrationLodingStatus();
    if (lodingStatus.equals("deleteUser")) {
        lblHeading.setText("Provide Existing User Information");
        lblReTypePassword.setVisible(false);
        passReTypePassword.setVisible(false);
        loadSQuestion();
        btnSave.setManaged(false);
    } else if (lodingStatus.equals("forgotPassword")) {
        lblHeading.setText("Change Password and S.Q.");
        txtUsername.setText(getUsername());
        txtUsername.setDisable(true);
        loadSQuestion();
        btnDelete.setManaged(false);
    }
    btnCancel.setTooltip(new Tooltip("Cancel the process and take you to Sign In window"));
    btnSave.setTooltip(new Tooltip("Save your new password and security question"));
    btnDelete.setTooltip(new Tooltip("If all information is given correctly \n" + "then this user will be deleted"));
    Tooltip.install(txtUsername, new Tooltip("Your Username"));
    Tooltip.install(passPassword, new Tooltip("Give a password, this should not contain space"));
    Tooltip.install(passReTypePassword, new Tooltip("Retype the password"));
    Tooltip.install(cmboSecurityQuestion, new Tooltip("Choose a security question"));
    Tooltip.install(txtAnswer, new Tooltip("Answer your question. Remember this answer.\n" + "If you forget your password, this will \n" + "help you to recover your account."));
}
Also used : Tooltip(javafx.scene.control.Tooltip) TabAccess(tab.TabAccess) FXML(javafx.fxml.FXML)

Example 83 with Tooltip

use of javafx.scene.control.Tooltip in project Money-Manager by krHasan.

the class CashCalculateController method initialize.

// ////////////////// General Function //////////////////////////////
@FXML
public void initialize() {
    // show user full name on Menu
    lblUserFullName.setText(userFullName() + " ");
    // show current wallet balance
    lblWalletBalance.setText(addThousandSeparator(getWalletBalance()));
    // set all field initialize value to 0
    CashCalculate();
    // add tooltip on mouse hover
    btnDashboard.setTooltip(new Tooltip("Will Take you to Dashboard"));
    btnMakeATransaction.setTooltip(new Tooltip("Will Take you to Expense"));
    btnSignOut.setTooltip(new Tooltip("Sign Out from Application"));
    Tooltip.install(lblWalletBalance, new Tooltip("Your wallet balance now"));
    Tooltip.install(lblUserFullName, new Tooltip("User's Full Name"));
    Tooltip.install(txt1000, new Tooltip("Number of 1000 Tk. Notes in your hand"));
    Tooltip.install(txt500, new Tooltip("Number of 500 Tk. Notes in your hand"));
    Tooltip.install(txt100, new Tooltip("Number of 100 Tk. Notes in your hand"));
    Tooltip.install(txt50, new Tooltip("Number of 50 Tk. Notes in your hand"));
    Tooltip.install(txt20, new Tooltip("Number of 20 Tk. Notes in your hand"));
    Tooltip.install(txt10, new Tooltip("Number of 10 Tk. Notes in your hand"));
    Tooltip.install(txt5, new Tooltip("Number of 5 Tk. Notes in your hand"));
    Tooltip.install(txt2, new Tooltip("Number of 2 Tk. Notes in your hand"));
    Tooltip.install(txt1, new Tooltip("Number of 1 Tk. Notes in your hand"));
}
Also used : Tooltip(javafx.scene.control.Tooltip) FXML(javafx.fxml.FXML)

Example 84 with Tooltip

use of javafx.scene.control.Tooltip in project Board-Instrumentation-Framework by intel.

the class Symbol method registerListeners.

private void registerListeners() {
    widthProperty().addListener(o -> resize());
    heightProperty().addListener(o -> resize());
    symbolType.addListener(o -> Platform.runLater(() -> {
        symbolRegion.setId(getSymbolType().STYLE_CLASS);
        resize();
    }));
    color.addListener(o -> symbolRegion.setStyle("-symbol-color: " + getColor().toString().replace("0x", "#") + ";"));
    sceneProperty().addListener(o -> {
        if (null != getScene()) {
            tooltip = new Tooltip(tooltipText);
            Tooltip.install(this, tooltip);
        }
    });
}
Also used : Tooltip(javafx.scene.control.Tooltip)

Example 85 with Tooltip

use of javafx.scene.control.Tooltip in project Board-Instrumentation-Framework by intel.

the class BaseWidget method HandleToolTipInit.

protected void HandleToolTipInit() {
    if (null != _ToolTip) {
        _objToolTip = new Tooltip(_ToolTip);
        if (null != _ToolTipStyle && _ToolTipStyle.size() > 0) {
            String StyleString = "";
            for (String Style : _ToolTipStyle) {
                StyleString += Style + ";";
            }
            _objToolTip.setStyle(StyleString);
        }
    }
}
Also used : Tooltip(javafx.scene.control.Tooltip)

Aggregations

Tooltip (javafx.scene.control.Tooltip)173 Button (javafx.scene.control.Button)61 Label (javafx.scene.control.Label)51 Insets (javafx.geometry.Insets)38 ImageView (javafx.scene.image.ImageView)34 VBox (javafx.scene.layout.VBox)32 List (java.util.List)31 TableColumn (javafx.scene.control.TableColumn)29 AutoTooltipLabel (bisq.desktop.components.AutoTooltipLabel)28 FXML (javafx.fxml.FXML)27 TableCell (javafx.scene.control.TableCell)27 ObservableList (javafx.collections.ObservableList)26 Node (javafx.scene.Node)26 TableView (javafx.scene.control.TableView)26 ArrayList (java.util.ArrayList)25 Inject (javax.inject.Inject)25 Res (bisq.core.locale.Res)24 FxmlView (bisq.desktop.common.view.FxmlView)23 HyperlinkWithIcon (bisq.desktop.components.HyperlinkWithIcon)23 Collectors (java.util.stream.Collectors)23