Tabnine Logo
IInputComponentWrapper.currentInternalValueProperty
Code IndexAdd Tabnine to your IDE (free)

How to use
currentInternalValueProperty
method
in
com.nexitia.emaginplatform.jfx.core.api.IInputComponentWrapper

Best Java code snippets using com.nexitia.emaginplatform.jfx.core.api.IInputComponentWrapper.currentInternalValueProperty (Showing top 20 results out of 315)

origin: com.nexitia.emaginplatform/emagin-jfxcore-engine

/**
 * @return
 * @see com.nexitia.emaginplatform.jfx.core.engine.components.form.row.InputComponentWrapper#currentInternalValueProperty()
 */
public final SimpleStringProperty currentInternalValueProperty() {
 return owner.currentInternalValueProperty();
}
origin: com.nexitia.emaginplatform/emagin-jfxcore-engine

 /**
  * This value will be validated
  *
  * @param vlConstraint
  * @return
  */
 public Object getValueToValidate() {
  // combobox empty value
  if ("__VIDE__".equalsIgnoreCase(owner.currentInternalValueProperty().get())) {
   return null;
  }
  return owner.currentInternalValueProperty().get();
 }
}
origin: com.nexitia.emaginplatform/emagin-jfxplatform-components

 @Override
 public void changed(ObservableValue<? extends OperationData> observable, OperationData oldValue, OperationData newValue) {
  if(newValue == null) {
  }
  else {
   String folderOid = (String) newValue.getAttributes().get("fullId");
   String folderPath = (String) newValue.getAttributes().get("path");
   owner.initialInternalValueProperty().set(folderPath);
   owner.currentInternalValueProperty().set(folderPath);
  }
 }
});
origin: com.nexitia.emaginplatform/emagin-core-api

/**
 * Bind this property to the internal value
 */
public default void addInternalValueBinding(StringProperty property) {
 if (getInputComponentWrapper() != null) {
  property.bind(getInputComponentWrapper().currentInternalValueProperty());
 }
}
origin: com.nexitia.emaginplatform/emagin-jfxcore-engine

/**
 * {@inheritDoc}
 */
@Override
public void destroy() {
 owner.currentInternalValueProperty().unbind();
 owner.initialInternalValueProperty().unbind();
}
origin: com.nexitia.emaginplatform/emagin-jfxcore-engine

private void updateMultiValuedCheckBox() {
 String vals = "";
 for (final List<CheckBox> checkboxs : checkBoxes.values()) {
  for (final CheckBox checkbox : checkboxs) {
   if (checkbox.isSelected()) {
    final String val = ((EnumeratedValueModel) checkbox.getUserData()).getSavedValue();
    if (vals != "") {
     vals = vals + owner.getMultivaluedSeparator();
    }
    vals = vals + val;
   }
  }
 }
 owner.currentInternalValueProperty().set(vals);
}
origin: com.nexitia.emaginplatform/emagin-jfxcore-engine

owner.currentInternalValueProperty().set(null);
owner.currentInternalValueProperty().set(buf.toString());
origin: com.nexitia.emaginplatform/emagin-jfxcore-engine

/**
 * @{inheritedDoc}
 */
@Override
public void build(IInputComponentWrapper inputComponentWrapper) {
 super.build(inputComponentWrapper);
 // the type of value to display
 treatFlow(inputComponentWrapper.getCurrentInternalValue());
 inputComponentWrapper.currentInternalValueProperty().addListener((ChangeListener<String>) (observable, oldValue, newValue) -> {
  treatFlow(newValue);
 });
}
origin: com.nexitia.emaginplatform/emagin-jfxcore-engine

Bindings.bindBidirectional(owner.currentInternalValueProperty(), datePicker.valueProperty(), datePicker.getConverter());
origin: com.nexitia.emaginplatform/emagin-jfxcore-demoapp-components

/**
 * @{inheritedDoc}
 */
@Override
public void build(IInputComponentWrapper inputComponentWrapper) {
 super.build(inputComponentWrapper);
 //    NodeHelper.styleClassAddAll(label, getConfiguration(), "viewStyleClass", "form-info-value");
 process("/Application");
 if(AbstractApplicationRunner.isDesktop()) {
  // TODO HANDLE TOOLTIP
  b.setMaxWidth(400);
  b.setAlignment(Pos.CENTER_RIGHT);
 }
 inputComponentWrapper.currentInternalValueProperty().addListener((ChangeListener<String>) (observable, oldValue, newValue) -> {
  //label.setText(((StringConverter) inputComponentWrapper.getConverter()).toDisplay(newValue));
 });
}
origin: com.nexitia.emaginplatform/emagin-jfxplatform-components

/**
 * @{inheritedDoc}
 */
@Override
public void build(IInputComponentWrapper inputComponentWrapper) {
 super.build(inputComponentWrapper);
 //    NodeHelper.styleClassAddAll(label, getConfiguration(), "viewStyleClass", "form-info-value");
 process("/Application");
 if(AbstractApplicationRunner.isDesktop()) {
  // TODO HANDLE TOOLTIP
  b.setMaxWidth(400);
  b.setAlignment(Pos.CENTER_RIGHT);
 }
 inputComponentWrapper.currentInternalValueProperty().addListener((ChangeListener<String>) (observable, oldValue, newValue) -> {
  //label.setText(((StringConverter) inputComponentWrapper.getConverter()).toDisplay(newValue));
 });
}
origin: com.nexitia.emaginplatform/emagin-jfxcore-engine

/**
 * @{inheritedDoc}
 */
@Override
public void buildFrom(IEmaginController controller, VLViewComponentXML configuration) {
 final String ispasswordField = configuration.getPropertyValue("passwordField");
 newInstance(StringUtils.isNotBlank(ispasswordField) && Boolean.valueOf(ispasswordField));
 super.buildFrom(controller, configuration);
 textField.setId(id);
 configure();
 textField.setText(owner.getInitialInternalValue());
 Bindings.bindBidirectional(owner.currentInternalValueProperty(), textField.textProperty(), owner.getConverter());
}
origin: com.nexitia.emaginplatform/emagin-jfxcore-engine

/**
 * @{inheritedDoc}
 */
@Override
public void buildFrom(IEmaginController controller, VLViewComponentXML configuration) {
 super.buildFrom(controller, configuration);
 textArea.setPrefRowCount(2);
 // prompt
 prompt.ifPresent(e -> {
  final String val = controller.getLocalised(prompt.get());
  textArea.setPromptText(val);
 });
 // process wizardConfiguration
 final Optional<VLViewComponentXML> displayConfig = configuration.getComponentById(DISPLAY_CONFIG);
 displayConfig.ifPresent(d -> {
  d.booleanPropertyValueOf(XMLConstants.READ_ONLY).ifPresent(e -> {
   textArea.setDisable(e);
  });
  d.intPropertyValueOf(XMLConstants.COUNTER).ifPresent(e -> {
   if (e > 0) {
    // !! not for validation, for counter
    // textArea.setMaxLength(e);
   }
  });
 });
 textArea.setText(owner.getCurrentInternalValue());
 Bindings.bindBidirectional(textArea.textProperty(), owner.currentInternalValueProperty(), owner.getConverter());
}
origin: com.nexitia.emaginplatform/emagin-jfxcore-engine

 owner.currentInternalValueProperty().set(((EnumeratedValueModel) newValue.getUserData()).getSavedValue());
});
origin: com.nexitia.emaginplatform/emagin-jfxcore-engine

/**
 * @{inheritedDoc}
 */
@Override
public void build(IInputComponentWrapper inputComponentWrapper) {
 super.build(inputComponentWrapper);
 NodeHelper.styleClassAddAll(label, getConfiguration(), "viewStyleClass", "form-info-value");
 String curVal = inputComponentWrapper.getCurrentInternalValue();
 label.setText(curVal);
 Bindings.bindBidirectional(label.textProperty(), inputComponentWrapper.currentInternalValueProperty(), inputComponentWrapper.getConverter());
}
origin: com.nexitia.emaginplatform/emagin-jfxcore-engine

Bindings.bindBidirectional(choosenFullPath.textProperty(), owner.currentInternalValueProperty(), owner.getConverter());
origin: com.nexitia.emaginplatform/emagin-jfxcore-engine

/**
 * @{inheritedDoc}
 */
@Override
public void build(IInputComponentWrapper inputComponentWrapper) {
 super.build(inputComponentWrapper);
 label.textProperty().unbind();
 label.setWrapText(true);
 NodeHelper.styleClassAddAll(label, getConfiguration(), "viewStyleClass", "form-info-value");
 inputComponentWrapper.currentInternalValueProperty().addListener((ChangeListener<String>) (observable, oldValue, newValue) -> {
  updateValue(newValue);
 });
 final String stringDatePeriod = inputComponentWrapper.getCurrentInternalValue();
 updateValue(stringDatePeriod);
}
origin: com.nexitia.emaginplatform/emagin-jfxcore-engine

/**
 * @{inheritedDoc}
 */
@Override
public void build(IInputComponentWrapper inputComponentWrapper) {
 super.build(inputComponentWrapper);
 NodeHelper.styleClassAddAll(label, getConfiguration(), "viewStyleClass", "form-info-value");
 label.setText(((StringConverter) inputComponentWrapper.getConverter()).toDisplay(inputComponentWrapper.getCurrentInternalValue()));
 if(AbstractApplicationRunner.isDesktop()) {
  // TODO HANDLE TOOLTIP
  label.setMaxWidth(400);
 }
 inputComponentWrapper.currentInternalValueProperty().addListener((ChangeListener<String>) (observable, oldValue, newValue) -> {
  label.setText(((StringConverter) inputComponentWrapper.getConverter()).toDisplay(newValue));
 });
}
origin: com.nexitia.emaginplatform/emagin-jfxcore-engine

/**
 * @{inheritedDoc}
 */
@Override
public void build(IInputComponentWrapper inputComponentWrapper) {
 super.build(inputComponentWrapper);
 label.textProperty().unbind();
 label.setWrapText(true);
 NodeHelper.styleClassAddAll(label, getConfiguration(), "viewStyleClass", "form-info-value");
 // convert saved date to displayed date
 LocalDate currval = (LocalDate) inputComponentWrapper.getConverter().fromString(inputComponentWrapper.getCurrentInternalValue());
 label.setText(toDisplayFormat(currval));
 inputComponentWrapper.currentInternalValueProperty().addListener((ChangeListener) (observable, oldValue, newValue) -> {
  LocalDate val = (LocalDate) inputComponentWrapper.getConverter().fromString((String) newValue);
  label.setText(toDisplayFormat(val));
 });
}
origin: com.nexitia.emaginplatform/emagin-jfxcore-engine

 owner.currentInternalValueProperty().set(selected.savedValueProperty().get());
};
comboBox.valueProperty().addListener(valueChangeListener);
com.nexitia.emaginplatform.jfx.core.apiIInputComponentWrappercurrentInternalValueProperty

Popular methods of IInputComponentWrapper

  • cancelModification
  • commitModification
  • getAttributeName
  • getAttributePath
  • getConfiguration
  • getCurrentInternalValue
  • getEditInputComponent
  • initialInternalValueProperty
  • configuration
  • displayError
  • getController
  • getConverter
  • getController,
  • getConverter,
  • getDisplay,
  • getDisplayFormat,
  • getEditLayout,
  • getEnumeratedValue,
  • getEnumeratedValueModels,
  • getEnumeratedValuesLoader,
  • getEscapedMultivaluedSeparator

Popular in Java

  • Making http post requests using okhttp
  • getExternalFilesDir (Context)
  • getSupportFragmentManager (FragmentActivity)
  • scheduleAtFixedRate (Timer)
  • Kernel (java.awt.image)
  • FileWriter (java.io)
    A specialized Writer that writes to a file in the file system. All write requests made by calling me
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
  • Best plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now