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."));
}
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."));
}
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"));
}
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);
}
});
}
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);
}
}
}
Aggregations