@Override public BooleanBinding isNotEmpty() { return delegate.isNotEmpty(); }
private BooleanBinding validatedProperty() { return nameTextField.textProperty().isNotEmpty().and(uniqueName); }
public BooleanBinding okProperty() { return nameTextField.textProperty().isNotEmpty().and(uniqueName); }
private BooleanBinding validatedProperty() { return nameTextField.textProperty().isNotEmpty().and(uniqueName); }
public void buildInput() { allOverContainer.getChildren().add(0, errorMessage); errorMessage.getStyleClass().add("form-input-inline-editor-errorMessage"); errorMessage.visibleProperty().bind(errorMessage.textProperty().isNotEmpty()); allOverContainer.getChildren().add(editInputComponent.getDisplay()); }
public BooleanBinding okProperty() { return nameTextField.textProperty().isNotEmpty() .and(caseSelectionPane.nodeProperty().isNotNull()) .and(contingencyStoreSelectionPane.nodeProperty().isNotNull()); }
/** * Constructor */ public SimpleDetailsPaneTitle() { setStyle( "-fx-background-color: transparent;" + "-fx-pref-height: 64;" + "-fx-padding: 2em;" + "-fx-border-color: -grey-color-300;" + "-fx-border-width: 0 1 0.4 1;" + "-fx-alignment: CENTER_LEFT;"); titleDescriptionContainer.setStyle("-fx-background-color: transparent;" + "-fx-spacing: 10;" + "-fx-alignment:CENTER_LEFT;"); titleLabel = new Label(); titleLabel.getStyleClass().add("h2"); titleDescriptionContainer.getChildren().add(titleLabel); descriptionLabel = new Label(); descriptionLabel.setOpacity(0.44); descriptionLabel.visibleProperty().bind(descriptionLabel.textProperty().isNotEmpty()); descriptionLabel.managedProperty().bind(descriptionLabel.visibleProperty()); titleDescriptionContainer.getChildren().add(descriptionLabel); getChildren().add(titleDescriptionContainer); getChildren().add(rightContainer); NodeHelper.setHVGrow(titleDescriptionContainer); NodeHelper.setHgrow(rightContainer); rightContainer.setStyle("-fx-alignment:CENTER_RIGHT;"); }
label.setGraphic(fontIcon); this.count.visibleProperty().bind(count.textProperty().isNotEmpty()); count.getStyleClass().add("fieldset-selector-menu-row-items-count");