Codota Logo
IInputComponentWrapper.getCurrentInternalValue
Code IndexAdd Codota 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)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
DateTime d =
  • Codota Iconnew DateTime()
  • Codota IconDateTimeFormatter formatter;String text;formatter.parseDateTime(text)
  • Codota IconObject instant;new DateTime(instant)
  • Smart code suggestions by Codota
}
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

  • Running tasks concurrently on multiple threads
  • addToBackStack (FragmentTransaction)
  • compareTo (BigDecimal)
    Compares this BigDecimal with the specified BigDecimal. Two BigDecimal objects that are equal in val
  • putExtra (Intent)
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • BigInteger (java.math)
    Immutable arbitrary-precision integers. All operations behave as if BigIntegers were represented in
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • ImageIO (javax.imageio)
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.This exception may include information for locating the er
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now