public final void setPromptText(String value) { promptText.set(value); }
.mutator().addNewDbms(); dbms.typeNameProperty().set(dbmsType.get().getName()); dbms.ipAddressProperty().set(fieldHost.getText()); dbms.portProperty().set(Integer.valueOf(fieldPort.getText())); } else if (type.getConnectionType() == DbmsType.ConnectionType.DBMS_AS_FILE) { dbms.localPathProperty().set(fieldFile.getText()); dbms.usernameProperty().set(fieldUser.getText()); dbms.nameProperty().set(Optional.of(fieldName.getText()) .filter(s -> dbmsType.get().hasDatabaseNames()) .filter(s -> !s.isEmpty())
/** * If you want the {@code primaryStage}'s title and the {@code JFXDecorator}'s title to be different, then * go ahead and use this method. * <p> * By default, this title property is bound to the {@code primaryStage}'s title property-so merely setting the * {@code primaryStage}'s title, will set the {@code JFXDecorator}'s title. * */ public void setTitle(String title) { this.title.unbind(); this.title.set(title); }
private void goToTime(LocalTime time) { if (time != null) { int hour = time.getHour(); selectedHourLabel.setText(Integer.toString(hour % (is24HourView ? 24 : 12) == 0 ? (is24HourView ? 0 : 12) : hour % (is24HourView ? 24 : 12))); selectedMinLabel.setText(unitConverter.toString(time.getMinute())); if (!is24HourView) { period.set(hour < 12 ? "AM" : "PM"); } minsPointerRotate.setAngle(180 + (time.getMinute() + 45) % 60 * Math.toDegrees(2 * Math.PI / 60)); hoursPointerRotate.setAngle(180 + Math.toDegrees(2 * (hour - 3) * Math.PI / 12)); _24HourHoursPointerRotate.setAngle(180 + Math.toDegrees(2 * (hour - 3) * Math.PI / 12)); } }
document.typeMapperProperty().bind( binding ); outputValue.set( currentValue != null ? MapStream.of(mapping)
periodPMLabel.setTextFill(fadedColor); periodPMLabel.setFont(Font.font(ROBOTO, FontWeight.BOLD, 14)); periodPMLabel.setOnMouseClicked((click) -> period.set("PM")); periodAMLabel.setTextFill(fadedColor); periodAMLabel.setFont(Font.font(ROBOTO, FontWeight.BOLD, 14)); periodAMLabel.setOnMouseClicked((click) -> period.set("AM")); periodPMLabel.setTextFill(Color.WHITE); period.set(hour < 12 ? "AM" : "PM");
textProperty().set(getSkinnable().textProperty().get());
public void setFirstName(String fName) { firstName.set(fName); } public StringProperty firstNameProperty() { return firstName; } public String getLastName() { return lastName.get(); } public void setLastName(String lName) { lastName.set(lName); } public StringProperty lastNameProperty() { return lastName; } public String getEmail() { return email.get(); }
.getTreeItem(t.getTreeTablePosition() .getRow()) .getValue().firstName.set(t.getNewValue()); }); lastNameEditableColumn.setCellFactory((TreeTableColumn<Person, String> param) -> { .getTreeItem(t.getTreeTablePosition() .getRow()) .getValue().lastName.set(t.getNewValue()); }); ageEditableColumn.setCellFactory((TreeTableColumn<Person, Integer> param) -> {
/** * Set a new text to display to the user, using the delimiter characters [ and ] * to indicate where hyperlinks should be displayed. * @param value */ public final void setText(String value) { text.set(value); }
/** * Change the Title of the wizard. * @param title */ public final void setTitle( String title ) { titleProperty.set(title); }
/** * Default Constructor. * * @param hex the hexadecimal value [0-9A-F]{6} (without 0x or #) */ public WebColor(final String hex) { super(); this.hexProperty.set(hex); }
/** * A string representation of the CSS style associated with this Text.{@link Node#setStyle(java.lang.String) * } * * @param style */ public void setStyleText(String style) { styleTextProperty.set(style); }
/** * Sets the text to show within the popup * notification bar that appears on top of the * {@link #contentProperty() content}. * @param value */ public final void setText(String value) { this.text.set(value); }
final CountDownLatch latch = new CountDownLatch(1); final StringProperty passwordProperty = new SimpleStringProperty(); Platform.runLater(new Runnable() { @Override public void run() { passwordProperty.set(queryPassword()); latch.countDown(); } }); latch.await(); System.out.println(passwordProperty.get());
/** * Sets the value of the {@link #textProperty()}. * * @param text the text shown by the label control inside the status bar */ public final void setText(String text) { textProperty().set(text); }
public void setTitle(Node title) { if (this.currentTitle != null) { titleToolbar.getChildren().remove(currentTitle); } this.currentTitle = title; this.title.textProperty().set(""); titleToolbar.getChildren().add(0, currentTitle); } }