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

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

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

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

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

public default Map<String, Object> extracValue(List<IInputComponentWrapper> rows) {
 Map<String, Object> result = new HashMap<>();
 for(IInputComponentWrapper row: rows) {
  IEditInputComponent edit = row.getEditInputComponent();
  String value = edit.getInputComponentWrapper().getCurrentInternalValue();
  String name = row.getAttributeName();
  result.put(name, value);
 }
 return result;
}
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

String internalVal = owner.getCurrentInternalValue();
String saveFormat = StringUtils.isNotBlank(getSaveFormat()) ? getSaveFormat() : "dd/MM/yyyy";
DateTimeFormatter format = DateTimeFormatter.ofPattern(saveFormat);
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

/**
 * @{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

if (StringUtils.isNotBlank(owner.getCurrentInternalValue())) {
 owner.currentInternalValueProperty().set(StringUtils.capitalize(owner.getCurrentInternalValue()));
if (StringUtils.isNotBlank(owner.getCurrentInternalValue())) {
 owner.currentInternalValueProperty().set(StringUtils.capitalize(owner.getCurrentInternalValue()));
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
 String currval = (String) inputComponentWrapper.getConverter().fromString(inputComponentWrapper.getCurrentInternalValue());
 label.setText(currval);
}
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 buildFrom(IEmaginController controller, VLViewComponentXML configuration) {
 super.buildFrom(controller, configuration);
 final String desc = configuration.getPropertyValue("description");
 if (StringUtils.isNotBlank(desc)) {
  checkBox.setText(controller.getLocalised(desc));
 }
 checkBox.selectedProperty().addListener((ChangeListener<Boolean>) (observable, oldValue, newValue) -> {
  owner.setCurrentValue(newValue);
  owner.commitModification();
 });
 layout.getChildren().addAll(NodeHelper.horizontalSpacer(), checkBox);
 checkBox.selectedProperty().set(Boolean.valueOf(owner.getCurrentInternalValue()));
}
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

theCheckbox.setDisable(!updatable);
selected.set(Boolean.valueOf(inputComponentWrapper.getCurrentInternalValue()));
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));
 });
}
com.nexitia.emaginplatform.jfx.core.apiIInputComponentWrappergetCurrentInternalValue

Popular methods of IInputComponentWrapper

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

Popular in Java

  • Finding current android device location
  • scheduleAtFixedRate (ScheduledExecutorService)
  • onCreateOptionsMenu (Activity)
  • getApplicationContext (Context)
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • JTable (javax.swing)
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
  • CodeWhisperer alternatives
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