@Override protected Node createUndecoratedEditor() { final TextField box = new TextField( property.get() ); property.bindBidirectional(box.textProperty() ); return box; } }
@Override public <T> void bindBidirectional(Property<T> other, StringConverter<T> converter) { delegate.bindBidirectional(other, converter); }
@Override // This method is called by the FXMLLoader when initialization is complete public void initialize(URL fxmlFileLocation, ResourceBundle resources) { assert workflowInstanceIdTextfield != null : "fx:id=\"workflowInstanceIdTextfield\" was not injected: check your FXML file 'WorkflowInstanceDetailFilter.fxml'."; workflowInstanceIdTextfield.textProperty().bindBidirectional(model.workflowInstanceId); }
@Override // This method is called by the FXMLLoader when initialization is complete public void initialize(URL fxmlFileLocation, ResourceBundle resources) { assert idTextField != null : "fx:id=\"idTextField\" was not injected: check your FXML file 'ProviderFilter.fxml'."; idTextField.textProperty().bindBidirectional(model.id); }
private void updateBinding() { if (gridWrapper != null) { gridWrapper.nameProperty.bindBidirectional(name.textProperty()); } }
@Override // This method is called by the FXMLLoader when initialization is complete public void initialize(URL fxmlFileLocation, ResourceBundle resources) { assert correlationId != null : "fx:id=\"correlationId\" was not injected: check your FXML file 'AuditTrailFilter.fxml'."; assert level != null : "fx:id=\"level\" was not injected: check your FXML file 'AuditTrailFilter.fxml'."; assert workflowClass != null : "fx:id=\"workflowClass\" was not injected: check your FXML file 'AuditTrailFilter.fxml'."; assert workflowInstanceId != null : "fx:id=\"workflowInstanceId\" was not injected: check your FXML file 'AuditTrailFilter.fxml'."; workflowClass.textProperty().bindBidirectional(model.workflowClass); level.textProperty().bindBidirectional(model.level); correlationId.textProperty().bindBidirectional(model.correlationId); workflowInstanceId.textProperty().bindBidirectional(model.workflowInstanceId); }
@Nonnull public static <T> TextField textField(@Nonnull Property<T> property, @Nonnull StringConverter<T> converter) { TextField textField = new TextField(); textField.textProperty().bindBidirectional(property, converter); return textField; }
@Nonnull public static TextField textField(@Nonnull StringProperty text) { TextField textField = new TextField(); textField.textProperty().bindBidirectional(text); return textField; }
@Override protected Node createUndecoratedEditor() { final TextField box = new TextField( property.get() ); property.bindBidirectional(box.textProperty() ); return box; } }
@Override public Node createValueVisualisation() { TextField textField = new TextField(); textField.textProperty().bindBidirectional(observableAttributeValue); textField.disableProperty().bind(readOnly); return textField; } }
@Override public Node createValueVisualisation() { TextArea textArea = new TextArea(); textArea.textProperty().bindBidirectional(observableAttributeValue); textArea.disableProperty().bind(readOnly); return textArea; } }
@Override public Node createValueVisualisation() { TextField textField = new TextField(); TypedTextFieldHelper.setupBigDecimalTextField(textField,decimalFormatPattern); DecimalFormat decimalFormat = new DecimalFormat(decimalFormatPattern); decimalFormat.setParseBigDecimal(true); textField.textProperty().bindBidirectional(observableAttributeValue, new BigDecimalStringConverter(decimalFormat)); textField.disableProperty().bind(readOnly); return textField; }
@Override // This method is called by the FXMLLoader when initialization is complete public void initialize(URL fxmlFileLocation, ResourceBundle resources) { assert searchMenueItem != null : "fx:id=\"searchMenueItem\" was not injected: check your FXML file 'WorkflowSummaryFilter.fxml'."; assert serachbutton != null : "fx:id=\"serachbutton\" was not injected: check your FXML file 'WorkflowSummaryFilter.fxml'."; assert workflowClass != null : "fx:id=\"workflowClass\" was not injected: check your FXML file 'WorkflowSummaryFilter.fxml'."; assert stackPane != null : "fx:id=\"stackPane\" was not injected: check your FXML file 'WorkflowSummaryFilter.fxml'."; workflowClass.textProperty().bindBidirectional(model.version.classname); searchMenueItem.setContent(formContext.createWorkflowClassesTreeForm(this).createContent()); serachbutton.setGraphic(new ImageView(new Image(getClass().getResourceAsStream("/org/copperengine/gui/icon/search.png")))); searchMenueItem.getStyleClass().setAll("noSelectAnimationMenueItem", "menu-item"); }
@Override public Node createValueVisualisation() { TextField textField = new TextField(); TypedTextFieldHelper.setupIntegerTextField(textField); textField.textProperty().bindBidirectional(observableAttributeValue, new IntegerStringConverter()); textField.disableProperty().bind(readOnly); return textField; } }
@Override public Node createValueVisualisation() { TextField textField = new TextField(); TypedTextFieldHelper.setupLongTextField(textField); textField.textProperty().bindBidirectional(observableAttributeValue, new LongStringConverter()); textField.disableProperty().bind(readOnly); return textField; } }
@Override public Node createValueVisualisation() { TextField textField = new TextField(); TypedTextFieldHelper.setupURITextField(textField); textField.textProperty().bindBidirectional(observableAttributeValue, new URIStringConverter()); textField.disableProperty().bind(readOnly); return textField; } }
@Override public Node createValueVisualisation() { TextField textField = new TextField(); TypedTextFieldHelper.setupDoubleTextField(textField); textField.textProperty().bindBidirectional(observableAttributeValue, new DoubleStringConverter()); textField.disableProperty().bind(readOnly); return textField; } }
@Override public Node createValueVisualisation() { TextField textField = new TextField(); TypedTextFieldHelper.setupShortTextField(textField); textField.textProperty().bindBidirectional(observableAttributeValue, new ShortStringConverter()); textField.disableProperty().bind(readOnly); return textField; } }
/** * {@inheritDoc} */ @Override public void setupBindings() { super.setupBindings(); editableSpinner.visibleProperty().bind(field.editableProperty()); readOnlyLabel.visibleProperty().bind(field.editableProperty().not()); editableSpinner.getEditor().textProperty().bindBidirectional(field.userInputProperty()); readOnlyLabel.textProperty().bind(field.userInputProperty()); fieldLabel.textProperty().bind(field.labelProperty()); }
@Override public void setupBindings() { super.setupBindings(); picker.disableProperty().bind(field.editableProperty().not()); readOnlyLabel.visibleProperty().bind(field.editableProperty().not()); picker.getEditor().textProperty().bindBidirectional(field.userInputProperty()); fieldLabel.textProperty().bind(field.labelProperty()); picker.promptTextProperty().bind(field.placeholderProperty()); picker.managedProperty().bind(picker.visibleProperty()); }